Commit Graph

968 Commits

Author SHA1 Message Date
Nipun Garg
b90f0e143f HDB: Remove redundant FileMan function 2019-09-03 17:17:22 +02:00
Nipun Garg
8825980e1f HDB: Remove redundant custom free() function 2019-09-03 17:17:22 +02:00
Nipun Garg
f5aff6c72d HDB: Fix memset() 2019-09-03 17:17:22 +02:00
Nipun Garg
d706fbf22e HDB: Fix memory leaks 2019-09-03 17:17:22 +02:00
Eugene Sandulenko
ff2c6fe30a HDB: More var initialisation 2019-09-03 17:17:22 +02:00
Nipun Garg
d3ad2ed14a HDB: Fix memory leak in Player Graphics 2019-09-03 17:17:22 +02:00
Eugene Sandulenko
0c71ae2121 HDB: Fix uninitialised variables 2019-09-03 17:17:22 +02:00
Nipun Garg
be1fcc2fa8 HDB: Fix GfxCache memory leak 2019-09-03 17:17:22 +02:00
Nipun Garg
14dbbdd852 HDB: Fix _fontSurfaces memory leak 2019-09-03 17:17:22 +02:00
Nipun Garg
ac61b7ef9c HDB: Fix warning 2019-09-03 17:17:22 +02:00
Eugene Sandulenko
d80023c737 HDB: Fix delete mismatch 2019-09-03 17:17:22 +02:00
Eugene Sandulenko
e74bdbf410 HDB: Fix uninitalised reads 2019-09-03 17:17:22 +02:00
Eugene Sandulenko
9ab298748e HDB: Fix flag checking across the engien 2019-09-03 17:17:22 +02:00
Eugene Sandulenko
5cf1f6a2f9 HDB: Fix switches 2019-09-03 17:17:22 +02:00
Nipun Garg
74931e7205 HDB: Add destructor to AIEntity and AnimTarget 2019-09-03 17:17:22 +02:00
Eugene Sandulenko
e1c616e06f HDB: Rename saves as in the original 2019-09-03 17:17:22 +02:00
Eugene Sandulenko
2909d9a9a0 HDB: Move save filename generation to genSaveFileName() 2019-09-03 17:17:22 +02:00
Eugene Sandulenko
345830222d HDB: Fix Lua execution at game restore 2019-09-03 17:17:21 +02:00
Eugene Sandulenko
2bb172a586 HDB: Filter out more Lua globals from the save 2019-09-03 17:17:21 +02:00
Eugene Sandulenko
49b0f7c6d2 HDB: Normalised usage of _systemInit for Lua 2019-09-03 17:17:21 +02:00
Eugene Sandulenko
dda8c81375 HDB: Added (commented out) debug case for _use functions 2019-09-03 17:17:21 +02:00
Eugene Sandulenko
6d83d2ea72 HDB: Added more stuff to cheat for MAP00 2019-09-03 17:17:21 +02:00
Eugene Sandulenko
e0cb401bc2 HDB: Added more debug output to script compilation 2019-09-03 17:17:21 +02:00
Eugene Sandulenko
17e2c05417 HDB: Fix warning 2019-09-03 17:17:21 +02:00
Eugene Sandulenko
bfa2d11a1d HDB: Fix warning 2019-09-03 17:17:21 +02:00
Eugene Sandulenko
39bbc59cb5 HDB: Fix data types in AIEntity 2019-09-03 17:17:21 +02:00
Eugene Sandulenko
55a650d5fe HDB: Fix data type 2019-09-03 17:17:21 +02:00
Eugene Sandulenko
505bd8b927 HDB: Fix warning 2019-09-03 17:17:21 +02:00
Eugene Sandulenko
fe0082b4d6 HDB: Fix warnings 2019-09-03 17:17:21 +02:00
Eugene Sandulenko
a1645e2958 HDB: Fix warning 2019-09-03 17:17:21 +02:00
Eugene Sandulenko
a98e2a8e6d JANITORIAL: Fix code formatting 2019-09-03 17:17:21 +02:00
Eugene Sandulenko
ffe3103433 HDB: Fix warning 2019-09-03 17:17:21 +02:00
Eugene Sandulenko
944dbab7d6 HDB: Fix warning 2019-09-03 17:17:21 +02:00
Eugene Sandulenko
b5b2a113ff HDB: Fix bug from the original 2019-09-03 17:17:21 +02:00
Eugene Sandulenko
6789a868f0 HDB: Fix copy-paste error in AI::legalMove()
This led to inability to move over entities on level2 while they're on level1
2019-09-03 17:17:21 +02:00
Eugene Sandulenko
6fdd336ae4 HDB: Move HDBGame::hasFeature() to detection.cpp for consistency 2019-09-03 17:17:21 +02:00
Nipun Garg
462d48a901 HDB: Unstub TODOs 2019-09-03 17:17:21 +02:00
Nipun Garg
4876064372 HDB: Unstub the Quit functionality 2019-09-03 17:17:21 +02:00
Nipun Garg
68b2e9adff HDB: Count FPS and print onto screen 2019-09-03 17:17:20 +02:00
Nipun Garg
26210cfce6 HDB: Add drawDebugInfo() 2019-09-03 17:17:20 +02:00
Nipun Garg
fa7593d7d5 HDB: Fix Icon loading 2019-09-03 17:17:20 +02:00
Nipun Garg
f158aadfd1 HDB: Add loadIcon() for TYPE_ICON32 loading 2019-09-03 17:17:20 +02:00
Nipun Garg
a484fe4353 HDB: Unstub redundant warnings 2019-09-03 17:17:20 +02:00
Nipun Garg
56bbb34a3b HDB: Add save/load for TryAgain data 2019-09-03 17:17:20 +02:00
Nipun Garg
72d2f01b93 HDB: Unstub AI::init() 2019-09-03 17:17:20 +02:00
Eugene Sandulenko
eb9af0c7ee HDB: Fix getRandumNumber() usage in ai-bots.cpp 2019-09-03 17:17:20 +02:00
Nipun Garg
6aa054fcac HDB: Unstub the TRY AGAIN screen 2019-09-03 17:17:20 +02:00
Eugene Sandulenko
ed60dcd506 HDB: Fix 3D stars left 2019-09-03 17:17:20 +02:00
Nipun Garg
723b86e1cf HDB: Add cheating debug statment and remove...
redundant warnings
2019-09-03 17:17:20 +02:00
Nipun Garg
779f455292 HDB: Add temp variable to store Map name 2019-09-03 17:17:20 +02:00