Commit Graph

674 Commits

Author SHA1 Message Date
Eugene Sandulenko
3c7e2ef033
SAGA2: Plug memory leak. CID 1458006 2021-07-12 00:46:46 +02:00
Eugene Sandulenko
f7aa3933b6
SAGA2: Removed useless null chack. CID 1458001 2021-07-12 00:46:46 +02:00
Eugene Sandulenko
9b244f5567
SAGA2: Unwrap unused loop in freeFall(). CID 1457883 2021-07-12 00:46:46 +02:00
Eugene Sandulenko
2ca6bd2c9e
SAGA2: Use safer string manipulation when constructing actor state. CID 1457846 2021-07-12 00:46:45 +02:00
Eugene Sandulenko
28addf67cb
SAGA2: Fix potential buffer overrun. CID 1457900 et al 2021-07-12 00:46:45 +02:00
Eugene Sandulenko
2c2f3e97d7
SAGA2: Fix potential buffer overrun. CID 1457896 2021-07-12 00:46:45 +02:00
Eugene Sandulenko
539d99380e
SAGA2: Remove useless check. CID 1457992
There is an assert above which catches this condition
2021-07-12 00:46:45 +02:00
Eugene Sandulenko
dc6c99f80e
SAGA2: Remove useless assert. CID 1457977 2021-07-12 00:46:45 +02:00
Eugene Sandulenko
5ce5d6b1e0
SAGA2: Properly initialize VideoBox. CID 1457845 2021-07-12 00:46:45 +02:00
Eugene Sandulenko
8d1ad08fe9
SAGA2: Init buffer before saving. CID 1458012 2021-07-12 00:46:45 +02:00
Eugene Sandulenko
fb37e70514
SAGA2: Fix task initializations. CID 1457866, 1457879, 1457959, 1458033 2021-07-12 00:46:45 +02:00
D G Turner
d0020eb6c4 SAGA2: Fix Two Cases of Shadowing Warnings 2021-07-11 16:29:09 +01:00
Eugene Sandulenko
b8bce72561
SAGA2: Fix object initialization in spellio. CID 1457844, 1458000 2021-07-11 15:07:06 +02:00
Eugene Sandulenko
e649cf8465
SAGA2: Fix EffectDisplayPrototype initialization. CID 1457908, 1457986 2021-07-11 15:07:06 +02:00
Eugene Sandulenko
4fd50abfc2
SAGA2: Fix SpellTarget initialization. CID 1457867, 1457940 2021-07-11 15:07:06 +02:00
Eugene Sandulenko
056d14d0d2
SAGA2: Init Spell-related classes. CID 1457858, 1457923, 1457982 2021-07-11 15:07:06 +02:00
Eugene Sandulenko
49d7d7178d
SAGA2: Fix ModalWindow instantiation. CID 1458038 2021-07-11 15:07:02 +02:00
a/
a9bab56f44 SAGA2: Implement Timers save/loading 2021-07-11 19:01:24 +09:00
a/
d822b43468 SAGA2: Fix for list traversal in checkTimers 2021-07-11 19:01:23 +09:00
a/
79102d8190 SAGA2: Replace sizeof by constant in saveActiveRegions 2021-07-11 13:28:18 +09:00
a/
558ecdc97d SAGA2: Implement ActiveRegion save/loading 2021-07-11 13:22:49 +09:00
a/
10fd1031e5 SAGA2: Implement Speech Tasks save/loading 2021-07-11 13:22:49 +09:00
a/
caf6f57b48 SAGA2: Implement TaskActivityList save/load 2021-07-11 13:22:49 +09:00
Eugene Sandulenko
0ad163f56c
SAGA2: Initialize class variables. CID 1457942 2021-07-11 00:56:45 +02:00
Eugene Sandulenko
3fb39a8245
SAGA2: Add default constructor for QueueItem. CID 1457960 2021-07-11 00:50:30 +02:00
Eugene Sandulenko
dceeeb783c
SAGA2: Initialize PlayerActor class variable. CID 1458011 2021-07-11 00:45:51 +02:00
Eugene Sandulenko
36d707a6db
SAGA2: Fix warning. CID 1458015 2021-07-11 00:43:36 +02:00
Eugene Sandulenko
37c1c24ec2
SAGA2: Added constructor to DirMaskGroup. CID 1457975 2021-07-11 00:41:44 +02:00
Eugene Sandulenko
ac8e9ceefb
SAGA2: Fixed to the start location creation. CID 1457971 2021-07-11 00:39:56 +02:00
Eugene Sandulenko
215d84e739
SAGA2: Initialize class variables. CID 1457941, 1457963 2021-07-11 00:37:34 +02:00
Eugene Sandulenko
031c279f78
SAGA2: Properly init gPanel. CID 1457870, 1457887, 1457904, 1457927 2021-07-11 00:32:36 +02:00
Eugene Sandulenko
112d662ae4
SAGA2: Proper fix for out-of-bounds read. CID 1457984 2021-07-11 00:28:37 +02:00
Eugene Sandulenko
dc798f3612
SAGA2: Better fix for CID 1457913 2021-07-11 00:21:19 +02:00
Coen Rampen
40c8197eba SAGA2: Removed MidiPlayer from Music class
This removes the MidiPlayer from the Music class, because it relies on
MidiChannel objects which are not used by the Miles AdLib driver. This should
fix the volume control.
2021-07-10 21:13:15 +02:00
Eugene Sandulenko
eeee8e3d52
Revert "SAGA2: Properly initialize alarm class. CID 1457913"
This reverts commit d368064a18.

This breaks C++98
2021-07-10 20:59:00 +02:00
a/
9238ed9903 SAGA2: Add error check on TaskStacks loading 2021-07-11 03:23:26 +09:00
a/
b919df6bcb SAGA2: Implement Tasks save/loading 2021-07-11 03:23:26 +09:00
Eugene Sandulenko
270279ad4d
SAGA2: Properly implement default constructor for ResourceObjectPrototype. CID 1457943 2021-07-10 17:56:34 +02:00
Eugene Sandulenko
681a75cb60
SAGA2: Properly initialize Location. CID 1457874 2021-07-10 17:56:33 +02:00
Eugene Sandulenko
ba743f64fb
SAGA2: Implement default constructor for ActiveRegion. CID 1458003 2021-07-10 17:56:33 +02:00
Eugene Sandulenko
6c68acad2d
SAGA2: Fix object destruction. CID 1457997 2021-07-10 17:56:33 +02:00
Eugene Sandulenko
85c9da6594
SAGA2: Class initialization fixes. CID 1457913, 1457897 2021-07-10 13:30:58 +02:00
Eugene Sandulenko
d368064a18
SAGA2: Properly initialize alarm class. CID 1457913 2021-07-10 13:30:34 +02:00
Eugene Sandulenko
32a13e7324
SAGA2: Fix CImageNode initialization. CID 1457944 2021-07-10 13:23:34 +02:00
Eugene Sandulenko
e9a3b99931
SAGA2: Properly initialize MetaTileID and ActiveItemID. CID 1457892, 1458029 2021-07-10 13:18:29 +02:00
Eugene Sandulenko
df54bc8fd6
SAGA2: Init hResource on failed read. CID 1458092 2021-07-10 13:09:57 +02:00
D G Turner
032f9e3857 SAGA2: Fix GCC Signed vs. Unsigned Warning 2021-07-10 01:21:57 +01:00
Eugene Sandulenko
7a2987559d
SAGA2: Fix hResContext instantiation. CID 1457981 2021-07-10 00:56:14 +02:00
Eugene Sandulenko
a28b7a0826
SAGA2: Properly handle case when resource is not available. CID 1457979 2021-07-10 00:56:14 +02:00
Eugene Sandulenko
6c7bc55138
SAGA2: Init text blinking on creation. CID 1457865 2021-07-10 00:56:14 +02:00