Commit graph

86 commits

Author SHA1 Message Date
Strangerke
2178770898 HDB: Change init functions to handle errors 2019-09-03 17:17:34 +02:00
Nipun Garg
a9e65176a1 HDB: Add more Platform-specific Constants 2019-09-03 17:17:30 +02:00
Nipun Garg
0fb3ad7ba0 HDB: Make Platform specific constants into variables 2019-09-03 17:17:30 +02:00
Strangerke
f7bc31f9e6 HDB: Some cleanup in ai-init 2019-09-03 17:17:29 +02:00
Eugene Sandulenko
810ac81b0f HDB: Reduce header dependency 2019-09-03 17:17:28 +02:00
Eugene Sandulenko
a0856c6c3a HDB: Reduce header dependency 2019-09-03 17:17:28 +02:00
Eugene Sandulenko
91da8c7aab HDB: Reduce header dependency 2019-09-03 17:17:27 +02:00
Eugene Sandulenko
a0817b0b5a HDB: Reduce header dependency 2019-09-03 17:17:27 +02:00
Eugene Sandulenko
c3d0f49538 HDB: Reduce header dependency 2019-09-03 17:17:27 +02:00
Eugene Sandulenko
b845e70102 HDB: Reduce header dependency 2019-09-03 17:17:27 +02:00
Eugene Sandulenko
c10034df93 HDB: Fix warning 2019-09-03 17:17:24 +02:00
Nipun Garg
1b6b2a96a0 HDB: Fix warnings 2019-09-03 17:17:24 +02:00
Eugene Sandulenko
927770f34b HDB: Initialise class variables 2019-09-03 17:17:23 +02:00
Eugene Sandulenko
bba1fa849b HDB: Fix loading 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
ecefec2f77 HDB: Add _animTiles to fix memory leaks 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
5363b38fe5 HDB: Delete Player Graphics in destructor 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
adb43a79b7 HDB: Fix memory leaks in AI lists 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
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
Eugene Sandulenko
5cf1f6a2f9 HDB: Fix switches 2019-09-03 17:17:22 +02:00
Nipun Garg
fa7593d7d5 HDB: Fix Icon loading 2019-09-03 17:17:20 +02:00
Nipun Garg
72d2f01b93 HDB: Unstub AI::init() 2019-09-03 17:17:20 +02:00
Nipun Garg
cea99e3fcd HDB: Unstub Weapon code from save/load 2019-09-03 17:17:19 +02:00
Nipun Garg
fe09a9c09c HDB: Initialize Weapon variables 2019-09-03 17:17:19 +02:00
Nipun Garg
79a4a37e8d HDB: Initialize Weapon Gfx 2019-09-03 17:17:19 +02:00
Eugene Sandulenko
0a291d028c HDB: Complete AI::restartSystem() 2019-09-03 17:17:19 +02:00
Nipun Garg
b032068417 HDB: Add HDBGame::start() and remove AI::clearP...
...ersistent() placeholder
2019-09-03 17:17:17 +02:00
Eugene Sandulenko
fe309b1456 HDB: Fix save/loading of inventory 2019-09-03 17:17:17 +02:00
Eugene Sandulenko
e7016e52a9 HDB: Refarcot entity save/loading into separate methods 2019-09-03 17:17:17 +02:00
Eugene Sandulenko
42edeb4114 HDB: Fix AI::loadSaveFile() 2019-09-03 17:17:16 +02:00
Eugene Sandulenko
c71426e2f8 HDB: Fix warnings 2019-09-03 17:17:16 +02:00
Nipun Garg
d510e3efe5 HDB: Unstub save/load _animTargets[i].gfxList 2019-09-03 17:17:15 +02:00
Nipun Garg
910c1ed36d HDB: Unstub Load/Save _ents and _floats 2019-09-03 17:17:15 +02:00
Nipun Garg
17eaafacfd HDB: Unstub code for saving and loading Gfx 2019-09-03 17:17:15 +02:00
Nipun Garg
ebbee5cef4 HDB: Add FuncLookUp structs and functions 2019-09-03 17:17:15 +02:00
Nipun Garg
b4db168f2a HDB: Add AI save() and loadSaveFile()
There are stubs for Pointers and Function Pointers
2019-09-03 17:17:14 +02:00
Eugene Sandulenko
0d2f2f2bf7 HDB: Fix enity lists, and warn on missing files 2019-09-03 17:17:13 +02:00
Nipun Garg
22ca561f4a HDB: Add _laserRescan and _laserOnScreen 2019-09-03 17:17:12 +02:00
Nipun Garg
f7be3c5e28 HDB: Add missing initialization data 2019-09-03 17:17:12 +02:00
Nipun Garg
97d702f891 HDB: Add Gate Puddles 2019-09-03 17:17:11 +02:00
Nipun Garg
5ed21d12df HDB: Move Bots gfx into _ai class 2019-09-03 17:17:11 +02:00
Nipun Garg
ad8f857595 HDB: Move Bots gfx into _gfx 2019-09-03 17:17:11 +02:00
Nipun Garg
0751cedb08 HDB: Remove '#if 0' conditionals 2019-09-03 17:17:11 +02:00
Nipun Garg
bcbe095ef8 HDB: Commet out non-compiling code 2019-09-03 17:17:11 +02:00