Eugene Sandulenko
137fc71645
QDENGINE: Try to continue execution on errors in minigame parameters. PVS-Studio V547, V560
2024-10-21 22:34:51 +02:00
Eugene Sandulenko
47432fa60a
QDENGINE: Simplify check by removing always-true part. PVS-Studio V560
2024-10-21 22:34:51 +02:00
Eugene Sandulenko
f85d6f4385
QDENGINE: Fix potential array underrun. PVS-Studio V557
2024-10-21 22:34:51 +02:00
Eugene Sandulenko
4f52107b29
QDENGINE: Check return value. CID 1559601
2024-10-21 18:49:47 +02:00
Eugene Sandulenko
bb463cf86f
QDENGINE: Use safer array copy operations. CID 1559603, CID 1559612, CID 1559628
2024-10-21 18:49:47 +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
3b377fa206
QDENGINE: Comment out unusued code branch. CID 1559646
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
ad616bbc26
QDENGINE: Check file open success before attempt to write. CID 1560116
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
d2b7f7cdba
QDENGINE: Avoid integer overflow. CID 1559706
...
In general, computing 'npos + 1' is not a great idea, so
avoid this
2024-10-21 18:49:46 +02:00
Eugene Sandulenko
4450c9d2f1
QDENGINE: Initialize class variables. CID 1562474
2024-10-21 18:49:46 +02:00
Eugene Sandulenko
085ffdeff6
QDENGINE: Cleanup in MaskyOrder.dll minigame
2024-10-21 18:49:46 +02:00
Eugene Sandulenko
b2c45c6074
QDENGINE: Initialize class vairables. CID 1559910
2024-10-21 18:49:46 +02:00
Eugene Sandulenko
f5bc924120
QDENGINE: Initialize class variables. CID 1559915
2024-10-21 18:49:46 +02:00
Eugene Sandulenko
d71e861a89
QDENGINE: Initialize class variables. CID 1563874
2024-10-21 18:49:45 +02:00
Eugene Sandulenko
012b1a5654
QDENGINE: Fix potentially uninitalized variable. CID 1563850
2024-10-21 18:49:45 +02:00
Eugene Sandulenko
627969bff3
QDENGINE: Init struct variable. CID 1563860
2024-10-21 18:49:45 +02:00
Eugene Sandulenko
2f2fd04201
QDENGINE: Mark switch option as fall through. CID 1563858
2024-10-21 18:49:45 +02:00
Eugene Sandulenko
6f0b6531a8
QDENGINE: Initialize class variable. CID 1563853
2024-10-21 18:49:45 +02:00
Eugene Sandulenko
ed4ad8af96
QDENGINE: Initialize class variable. CID 1563859
2024-10-21 18:49:45 +02:00
Eugene Sandulenko
3fbf77bbab
QDENGINE: Fix potential out-of-bounds read. CID 1563752
2024-10-21 18:49:45 +02:00
Eugene Sandulenko
1bbb6b96dd
QDENGINE: Init class variables. CID 1563751
2024-10-21 18:49:45 +02:00
Eugene Sandulenko
ff7e2cc2c7
QDENGINE: Init class variables. CID 1563745
2024-10-21 18:49:45 +02:00
Eugene Sandulenko
afaf26e6cc
QDENGINE: Init class variables. CID 1563749
2024-10-21 18:49:45 +02:00
Eugene Sandulenko
57cc40e60d
QDENGINE: Fix uninit class variable. CID 1563857
2024-10-21 18:49:45 +02:00
Eugene Sandulenko
28c681a217
QDENGINE: Attempt to get rid of templates in getParameter()
...
Some of the compilers get confused by them.
2024-10-21 01:28:39 +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
76af696361
QDENGINE: Fixed file paths
2024-10-20 23:45:36 +02:00
Eugene Sandulenko
967aba2309
QDENGINE: Removed for now tirangles.dll minigame
...
Some linkers do link even unreferenced code, and currently, this
minigame has issues with templates. I do not see them for now
because macOS linked optimizes it away.
2024-10-19 22:18:37 +02:00
Eugene Sandulenko
bb4a17abd0
QDENGINE: Fix compilation
2024-10-19 22:05:17 +02:00
Eugene Sandulenko
2ee0196798
QDENGINE: Fix linking on ld that lry linking everything
2024-10-19 21:45:49 +02:00
Eugene Sandulenko
41bc481639
QDENGINE: runtime -> g_runtime in minigames/adv
2024-10-19 19:45:31 +02:00
Eugene Sandulenko
eeda0dbf97
QDENGINE: JANITORIAL: Fix formatting
2024-10-19 19:45:31 +02:00
Eugene Sandulenko
543fb4729c
QDENGINE: Unstubbed MinigameManager::load/save_game()
2024-10-19 19:45:31 +02:00
Eugene Sandulenko
38ee26aca7
QDENGINE: JANITORIAL: Indentation fixes
2024-10-19 19:45:31 +02:00
Eugene Sandulenko
2c7478ad13
QDENGINE: Added triangles.dll minigame code for dogncat
2024-10-19 19:45:31 +02:00
Eugene Sandulenko
2891038a1a
QDENGINE: Fix compilation
2024-10-19 00:48:54 +02:00
Eugene Sandulenko
b5a983095b
QDENGINE: Stubbed some methods in minigames/adv
2024-10-19 00:40:30 +02:00
Eugene Sandulenko
d5c239ea63
QDENGINE: Moved debug output to ScummVM API
2024-10-19 00:19:27 +02:00
Eugene Sandulenko
bac83e1141
QDENGINE: Added minigames/adv/RunTime.cpp to the project`
2024-10-19 00:04:44 +02:00
Eugene Sandulenko
fb7bdcade8
QDENGINE: More compilation fixes in minigames/adv
2024-10-18 23:43:41 +02:00
Filippos Karapetis
ef1dff3f8f
QDENGINE: Fix build when _DEBUG is defined
2024-10-19 00:09:52 +03:00
Eugene Sandulenko
a5f5775a08
QDENGINE: swap() -> SWAP()
2024-10-18 16:45:15 +02:00