Commit Graph

91218 Commits

Author SHA1 Message Date
Eugene Sandulenko
927770f34b HDB: Initialise class variables 2019-09-03 17:17:23 +02:00
Eugene Sandulenko
cea2285db1 HDB: Remove redundant frees
ManagedSurface takes care of freeing itself
2019-09-03 17:17:23 +02:00
Eugene Sandulenko
bba1fa849b HDB: Fix loading 2019-09-03 17:17:23 +02:00
Nipun Garg
ae1f4efeb5 HDB: Fix memory leaks in Menu 2019-09-03 17:17:23 +02:00
Nipun Garg
62a33b1399 HDB: Delete all _tTileLookupArray values at once 2019-09-03 17:17:23 +02:00
Nipun Garg
d0248243d2 HDB: Refactor getPicGfx(), getTileGfx() and fix...
... memory leaks
2019-09-03 17:17:23 +02:00
Nipun Garg
ecefec2f77 HDB: Add _animTiles to fix memory leaks 2019-09-03 17:17:23 +02:00
Nipun Garg
a8d277be18 HDB: Fix delete command for _dir 2019-09-03 17:17:23 +02:00
Nipun Garg
05cb55b888 HDB: Delete Cached gfx data in one place 2019-09-03 17:17:23 +02:00
Nipun Garg
fd91bb7f59 HDB: Fix more memory leaks 2019-09-03 17:17:23 +02:00
Nipun Garg
8d9004e432 HDB: Fix memory leaks when stream is returned NULL 2019-09-03 17:17:23 +02:00
Nipun Garg
ea77240d4e HDB: Fix memory leak due to removed animTargets 2019-09-03 17:17:23 +02:00
Nipun Garg
5363b38fe5 HDB: Delete Player Graphics in destructor 2019-09-03 17:17:23 +02:00
Nipun Garg
fa71ee9034 HDB: Fix memory leaks due to findFirstData() 2019-09-03 17:17:23 +02:00
Eugene Sandulenko
7b78aa5e9f HDB: Fix double free() and meaningless 'new' allocations 2019-09-03 17:17:23 +02:00
Nipun Garg
161f9e6707 HDB: NULL each tile after calling destructor 2019-09-03 17:17:23 +02:00
Nipun Garg
e9e654d7db HDB: Convert _surface from struct to pointer 2019-09-03 17:17:22 +02:00
Nipun Garg
adb43a79b7 HDB: Fix memory leaks in AI lists 2019-09-03 17:17:22 +02:00
Nipun Garg
7709b2828b HDB: Fix memory leaks with FileMan::findFiles() 2019-09-03 17:17:22 +02:00
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
ea2f09b256 COMMON: Restored functionaluty of Lua print 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