Commit graph

553 commits

Author SHA1 Message Date
Cameron Cawley
5a8dd9d59c QDENGINE: Avoid stack overflow with the 3DS port 2024-12-04 22:44:44 +00:00
Eugene Sandulenko
b683a46507
QDENGINE: Print movie name when stream is failed to load 2024-11-18 18:04:10 +01:00
Donovan Watteau
a79ad824f6 QDENGINE: Silence -Wpedantic warning about extra ';' 2024-11-17 04:04:26 +02:00
Donovan Watteau
1b06923793 QDENGINE: Fix qdInventoryCellSet::put_object() build error on OpenBSD
This is meant to return a bool; the NULL used there triggers a build error
on (at least) OpenBSD/7.5 with default clang++:

error: cannot initialize return object of type 'bool' with an rvalue of type 'std::nullptr_t'
                return NULL;
                       ^~~~
/usr/include/sys/_null.h:12:14: note: expanded from macro 'NULL'
                ^~~~~~~

Introduced in commit d9de39b8c2.
2024-11-15 14:22:37 +01:00
Eugene Sandulenko
d12f98115c
QDENGINE: Remove another unused method with portability issues 2024-11-13 18:51:39 +01:00
Eugene Sandulenko
0f7ff0dc99
QDENGINE: Remove unused (and non-portable) methods from qdCamera 2024-11-13 18:49:54 +01:00
D G Turner
82fe4ec9f1 QDENGINE: Fix Some GCC Compiler Warnings 2024-11-13 00:05:54 +00:00
Eugene Sandulenko
6140c35b95
QDENGINE: Fix potential out-of-bounds reads. CID 1564818, CID 1564844 2024-11-05 18:31:00 +01:00
Eugene Sandulenko
c8bd577495
QDENGINE: DT: Replaced game object flags with icons 2024-11-02 20:12:12 +01:00
Eugene Sandulenko
5f7e562ebe
QDENGINE: DT: Replace animation flags with icons 2024-11-02 20:12:12 +01:00
Eugene Sandulenko
3912308db9
QDENGINE: DT: Added more output to personages 2024-11-01 23:31:21 +01:00
Eugene Sandulenko
d866e4df5c
QDENGINE: DT: Print personage state in the object list 2024-11-01 21:53:11 +01:00
Eugene Sandulenko
f1a844783a
QDENGINE: Implement moving objects differences for earlier dates
Partially fixes 'pass the town square' minigame in karliknos.

The exact cut-off version is not known
2024-11-01 01:01:51 +01:00
Eugene Sandulenko
136ef7475d
QDENGINE: Print moving object control in human-readable form in XML 2024-10-30 01:33:08 +01:00
Eugene Sandulenko
2dedd95547
QDENGINE: Print coords_animation type in human-readable form in XML output 2024-10-30 01:11:56 +01:00
Eugene Sandulenko
6120e49575
QDENGINE: More human-readable flags in XML output 2024-10-30 01:08:20 +01:00
Eugene Sandulenko
4054c6baea
QDENGINE: Dump condutions in human-readable form in XML 2024-10-30 01:08:20 +01:00
Eugene Sandulenko
d3223e9a80
QDENGINE: Fix indentation of cnndition groups when dumping to XML 2024-10-29 23:43:49 +01:00
D G Turner
2e71b64ad7 QDENGINE: Fix Signed vs. Unsigned GCC Compiler Warnings 2024-10-27 17:53:00 +00:00
Eugene Sandulenko
df0c514fe9
QDENGINE: Unstub MinigameManager::saveState() 2024-10-22 18:22:33 +02:00
Eugene Sandulenko
f352b903d8
QDENGINE: Unstub MinigameTriangle::MinigameTriangle() 2024-10-22 00:14:22 +02:00
Eugene Sandulenko
c69ffda82b
QDENGINE: Clamped together identical code branches. PVS-Studio V1037 2024-10-21 22:34:52 +02:00
Eugene Sandulenko
5280d10d62
QDENGINE: Clamped together identical code branches. PVS-Studio V1037 2024-10-21 22:34:52 +02:00
Eugene Sandulenko
d9de39b8c2
QDENGINE: Fix potential division by zero. CID 1559605, CID 1559617, CID 1559639, CID 1559643 2024-10-21 18:49:47 +02:00
Eugene Sandulenko
a0deab50c7
QDENGINE: Remove useless assignment. CID 1559707 2024-10-21 18:49:47 +02:00
Eugene Sandulenko
37bc194e34
QDENGINE: Fix potential null dereference. CID 1559613 2024-10-21 18:49:46 +02:00
Eugene Sandulenko
72c4bbaea4
QDENGINE: Check success of loading operation. CID 1559658 2024-10-21 18:49:46 +02:00
Eugene Sandulenko
128aaff557
QDENGINE: Check return value of save_script_body(). CID 1559645 2024-10-21 18:49:46 +02:00
Eugene Sandulenko
02900a7555
QDENGINE: Check return value of load_data(). CID 1559604 2024-10-21 18:49:46 +02:00
Eugene Sandulenko
807b9300bd
QDENGINE: Initialized class vairable. CID 1559611 2024-10-21 18:49:46 +02:00
Eugene Sandulenko
436609f5de
QDENGINE: Remove redundant code. CID 1559630 2024-10-21 18:49:46 +02:00
Eugene Sandulenko
fdc1ceee38
JANITORIAL: Fix typo 2024-10-21 01:20:54 +02:00
Eugene Sandulenko
299ddd6ffa
QDENGINE: Plug triangle.dll minigame in 2024-10-21 00:48:55 +02:00
Eugene Sandulenko
53ccfaea30
QDENGINE: Fix warning 2024-10-17 01:46:49 +02:00
Eugene Sandulenko
116dea7c9e
QDENGINE: Added support for 3mice2-demo2
The demo contains only one video but it is encoded in MP4 format,
obviously to save the space (9MB vs 32MB in the full version, MP1).

I recoded video with ffmpeg:

  ffmpeg -i martha.mpg -b:v 6000k -maxrate:v 9000k martha-new.mpeg

The fun fact is that this video in the full game is broken: the video
freezes near the end. Thus, recoding the video is the way to go.
2024-10-17 01:46:05 +02:00
Eugene Sandulenko
207d2e564e
QDENGINE: Plugged in 3Mice2_raskr2-4.dll 2024-10-16 14:49:09 +02:00
Eugene Sandulenko
b396d62552
QDENGiNE: Made 3mice2_raskr_all minigame configurable 2024-10-16 12:38:53 +02:00
Eugene Sandulenko
a14b40acc4
QDENGINE: Renamed minigame Raskr1 to Raskr_All 2024-10-16 12:28:00 +02:00
Eugene Sandulenko
04310ba5f4
QDENGINE: Implement 3mice2_babochka.dll minigame 2024-10-16 12:12:18 +02:00
Eugene Sandulenko
634331c068
QDENGINE: Fix 3Mice2_raskr1.dll minigame. Now it is completable 2024-10-16 11:35:09 +02:00
Eugene Sandulenko
4876098065
QDENGINE: Init method for 3mice2_raskr1.dll minigame 2024-10-16 11:35:09 +02:00
Eugene Sandulenko
eb2676778c
QDENINGE: Implemented all methods for 3mice2_plate.dll minigame 2024-10-16 11:35:08 +02:00
Eugene Sandulenko
f6ec521a4c
QDENINGE: Initial code for 3mice2_plate.dll minigame 2024-10-16 11:35:08 +02:00
Eugene Sandulenko
6bb411a58c
QDENGINE: Code fixes to 3mice2_testo.dll minigame 2024-10-13 20:09:54 +02:00
Eugene Sandulenko
4c7ecfcc66
QDENGINE: Added skeleton for 3mice2_testo.dll minigame 2024-10-12 16:15:36 +02:00
Eugene Sandulenko
dbb3adbe22
QDENGINE: Completed code for 3mice2_states.dll minigame 2024-10-11 23:03:30 +02:00
Eugene Sandulenko
048e345e71
QDENGINE: Initial stub for 3mice2_states.dll minigame 2024-10-11 23:03:30 +02:00
Eugene Sandulenko
eab3f92705
QDENGINE: String and logic fixes in 3mice2_sudoku.dll 2024-10-11 15:12:25 +02:00
Eugene Sandulenko
4035d9d74c
QDENGINE: Initial code for 3mice2_sudoku.dll minigame 2024-10-11 15:12:24 +02:00
Eugene Sandulenko
ff54d345ed
QDENGINE: Initial code for 3mice2_kovrik.dll minigame 2024-10-11 15:12:24 +02:00