Commit Graph

1290 Commits

Author SHA1 Message Date
Eugene Sandulenko
7f7de57ba4 HDB: Modified the patching engine so it works for the demo 2019-09-03 17:17:29 +02:00
Eugene Sandulenko
da5f1fa265 HDB: Added demo-specific start code 2019-09-03 17:17:29 +02:00
Eugene Sandulenko
ac90e5541e HDB: Added more detection entries 2019-09-03 17:17:29 +02:00
Eugene Sandulenko
c6af142ce7 HDB: Fix warning 2019-09-03 17:17:29 +02:00
Nipun Garg
588d0235ae HDB: Comment out SND code until data is found 2019-09-03 17:17:29 +02:00
Nipun Garg
12f46b3f9d HDB: Remove redundant stubs 2019-09-03 17:17:29 +02:00
Nipun Garg
5ba5a335a1 HDB: Unstub Sound related stubs 2019-09-03 17:17:29 +02:00
Nipun Garg
d3eacb7e0f HDB: Add playSound(), playSoundEx(), stopChannel() 2019-09-03 17:17:29 +02:00
Nipun Garg
85b922895a HDB: Fix Deliveries with no GFX 2019-09-03 17:17:29 +02:00
Nipun Garg
1edab20e02 HDB: Add additional debug output 2019-09-03 17:17:29 +02:00
Nipun Garg
2bb60c69cd HDB: Add Music/Song data and functions 2019-09-03 17:17:29 +02:00
Nipun Garg
3aa373ab2b HDB: Fix misplaced Enum value 2019-09-03 17:17:28 +02:00
Strangerke
e955dbb4a2 HDB: Clean up in ai-funcs 2019-09-03 17:17:28 +02:00
Strangerke
b7a89a5edd HDB: Clean up in ai-cinematic 2019-09-03 17:17:28 +02:00
Strangerke
29c7a6cc4a HDB: More clean up in ai-bots 2019-09-03 17:17:28 +02:00
Strangerke
becfce8bfc HDB: More cleanup in ai-bots 2019-09-03 17:17:28 +02:00
Nipun Garg
174b8c31cf HDB: Update Music filenames 2019-09-03 17:17:28 +02:00
Nipun Garg
5ba58bf03c HDB: Simplify Voice struct 2019-09-03 17:17:28 +02:00
Nipun Garg
123b65931e HDB: Add playVoice() 2019-09-03 17:17:28 +02:00
Nipun Garg
a09ac7b114 HDB: Add voice related data 2019-09-03 17:17:28 +02:00
Nipun Garg
236318ce0c HDB: Update Sound Names in mpc.h 2019-09-03 17:17:28 +02:00
Nipun Garg
4a44f62b10 HDB: Add extension field to SoundCache 2019-09-03 17:17:28 +02:00
Nipun Garg
2ba18da94d HDB: Stick Sound names in Lua 2019-09-03 17:17:28 +02:00
Nipun Garg
1a7fc846cf HDB: Add Sound Cache 2019-09-03 17:17:28 +02:00
Eugene Sandulenko
a50e1469b7 HDB: Reduce header dependency 2019-09-03 17:17:28 +02:00
Eugene Sandulenko
e0b0d85f5b HDB: Reduce header dependency 2019-09-03 17:17:28 +02:00
Eugene Sandulenko
951943ecec HDB: Reduce header dependency 2019-09-03 17:17:28 +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
c63d207d63 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
2844b48ac1 HDB: Reduce header dependency 2019-09-03 17:17:27 +02:00
Eugene Sandulenko
99fc798b2e HDB: Reduce header dependency 2019-09-03 17:17:27 +02:00
Eugene Sandulenko
0c29eff799 HDB: Remove unused console.cpp 2019-09-03 17:17:27 +02:00
Eugene Sandulenko
9ea453bc4c HDB: Reduce header dependency 2019-09-03 17:17:27 +02:00
Eugene Sandulenko
e53367e225 HDB: Fix guard defines 2019-09-03 17:17:27 +02:00
Eugene Sandulenko
01d114e5c1 HDB: Remove leftover file 2019-09-03 17:17:27 +02:00
Eugene Sandulenko
17ef555e2d 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
0c8e483d09 HDB: const'ness 2019-09-03 17:17:27 +02:00
Eugene Sandulenko
f7713df735 HDB: Fix warnings 2019-09-03 17:17:27 +02:00
Eugene Sandulenko
c131e7c890 HDB: Fix compilation 2019-09-03 17:17:27 +02:00
Nipun Garg
4c012861bc HDB: Play a MP3 sound from hdb.cpp 2019-09-03 17:17:27 +02:00
Nipun Garg
a9fbd1ae1e HDB: Add Sound names 2019-09-03 17:17:27 +02:00
Nipun Garg
4a7c028e70 HDB: Add sound data to mpc.h 2019-09-03 17:17:26 +02:00
Nipun Garg
8e102a7dc7 HDB: Add cheat to test MAP29 2019-09-03 17:17:26 +02:00
Strangerke
452612d02a HDB: Fix CppCheck warnings in window 2019-09-03 17:17:26 +02:00
Strangerke
f1bf353cd3 HDB: Reduce some more variable scopes 2019-09-03 17:17:26 +02:00
Strangerke
0ce52ccc53 HDB: Implement removeSaveState() 2019-09-03 17:17:26 +02:00
Eugene Sandulenko
20a270a5ae HDB: Fix waypoints calculation code
Now player does not go back and forth
2019-09-03 17:17:26 +02:00
Strangerke
4b65e396c8 HDB: Reduce some variable scopes, some janitorial work 2019-09-03 17:17:26 +02:00
Strangerke
bf57f7befb HDB: Fix an out of bound issue in mapname 2019-09-03 17:17:26 +02:00
Strangerke
616045496c HDB: (Hopefully) fix a c&p error in hasFeature() 2019-09-03 17:17:26 +02:00
Strangerke
bcf910470c HDB: Fix some CppCheck warnings in ai-player, ai-use, ai-waypoint and gfx 2019-09-03 17:17:26 +02:00
Eugene Sandulenko
04901e7ac9 HDB: Fix load menu items 2019-09-03 17:17:26 +02:00
Eugene Sandulenko
b776651e45 HDB: More script patches to MAP30.LUA 2019-09-03 17:17:26 +02:00
Eugene Sandulenko
f94d153275 HDB: Fix secret stars level launching 2019-09-03 17:17:26 +02:00
Eugene Sandulenko
312ebf6aaf HDB: Load thumbnail from the launcher 2019-09-03 17:17:26 +02:00
Eugene Sandulenko
d61d93ebe1 HDB: Fix loading of Lua script from the save 2019-09-03 17:17:26 +02:00
Nipun Garg
599e144453 HDB: Fix initialization warning 2019-09-03 17:17:26 +02:00
Nipun Garg
7d4c665176 HDB: Fix LIGHTBARREL in Slime & moving floats 2019-09-03 17:17:26 +02:00
Eugene Sandulenko
d4f927f338 HDB: Put both data and Lua saves into single file 2019-09-03 17:17:26 +02:00
Strangerke
cfe228d7bb HDB: Fix some CppCheck warnings in ai-inventory and ai-lists 2019-09-03 17:17:26 +02:00
Nipun Garg
8a44ed4a97 HDB: Fix findTeleporterDest() 2019-09-03 17:17:26 +02:00
Strangerke
1fd53de72a HDB: Fix CppCheck warnings in ai-funcs 2019-09-03 17:17:26 +02:00
Nipun Garg
933089dcba HDB: Patch misplaced function names 2019-09-03 17:17:26 +02:00
Nipun Garg
1b9e2f36f1 HDB: Fix aiFatFrogTongueDraw() 2019-09-03 17:17:26 +02:00
Nipun Garg
73c90d1a20 HDB: Clear MAP06 through level-select 2019-09-03 17:17:25 +02:00
Strangerke
01bf7aa811 HDB: Fix some more CppCheck warnings, use static const in various functions 2019-09-03 17:17:25 +02:00
Strangerke
0d989250ee HDB: Fix some CppCheck warnings in ai-bots 2019-09-03 17:17:25 +02:00
Eugene Sandulenko
43438a632c HDB: Support loading from the launcher 2019-09-03 17:17:25 +02:00
Strangerke
bd26cda952 HDB: Fix compilation for MSVC9 2019-09-03 17:17:25 +02:00
Eugene Sandulenko
252c6e61c9 HDB: Fix player collision detection code 2019-09-03 17:17:25 +02:00
Eugene Sandulenko
4c0181ac31 HDB: Remove leftover code 2019-09-03 17:17:25 +02:00
Eugene Sandulenko
9370c0a4f3 HDB: Added script patches for MAP19.LUA 2019-09-03 17:17:25 +02:00
Eugene Sandulenko
74e6168e0a HDB: Added script patch for MAP29.LUA 2019-09-03 17:17:25 +02:00
Eugene Sandulenko
54c94a9b25 HDB: Added more script patches to MAP30.LUA 2019-09-03 17:17:25 +02:00
Eugene Sandulenko
d7c876d269 HDB: Sorted script patches 2019-09-03 17:17:25 +02:00
Eugene Sandulenko
409a62352b HDB: Add one more patch to GLOBAL.LUA
The call first occurs in MAP11.LUA when entering the lab
2019-09-03 17:17:25 +02:00
Eugene Sandulenko
2988407936 HDB: Improved error messages during Lua execution 2019-09-03 17:17:25 +02:00
Eugene Sandulenko
b2f52580f4 HDB: Added cheat code for MAP11 for testing the Lab 2019-09-03 17:17:25 +02:00
Eugene Sandulenko
c34824de58 HDB: Added support for CINE_OUTRO from the command line (level 31) 2019-09-03 17:17:25 +02:00
Eugene Sandulenko
f778e08a1a HDB: Fix copy/paste error in map centering code.
This prevents us from seeing NO TILES in MAP10
2019-09-03 17:17:25 +02:00
Eugene Sandulenko
edc68ef7b1 HDB: Added more constants instead of magic numbers 2019-09-03 17:17:25 +02:00
Eugene Sandulenko
f9422e4347 HDB: Fix another incorrect allocation/deallocation.
This leads to double free, because gfxList contains list to pointers to gfxCache,
which is managed by the Gfx code
2019-09-03 17:17:24 +02:00
Eugene Sandulenko
b96049a236 HDB: Fix game restarting 2019-09-03 17:17:24 +02:00
Eugene Sandulenko
7b07d2f88c HDB: Hid some debug messages to deeper level 2019-09-03 17:17:24 +02:00
Eugene Sandulenko
cecf6e5fc8 HDB: Fix progress bar rendering 2019-09-03 17:17:24 +02:00
Eugene Sandulenko
c10fee7393 HDB: More Lua script patches to MAP30.LUA 2019-09-03 17:17:24 +02:00
Eugene Sandulenko
22a9c9ef5c HDB: Added line references to the script patches 2019-09-03 17:17:24 +02:00
Eugene Sandulenko
442835b555 HDB: Added script patch from MAP21.LUA 2019-09-03 17:17:24 +02:00
Nipun Garg
ada43165a1 HDB: Animate Bridges 2019-09-03 17:17:24 +02:00
Nipun Garg
f02bc1da84 HDB: Add Lua Patch for Map11 2019-09-03 17:17:24 +02:00
Eugene Sandulenko
c10034df93 HDB: Fix warning 2019-09-03 17:17:24 +02:00
Nipun Garg
6d3856cd94 HDB: Add Patches for Map10 2019-09-03 17:17:24 +02:00
Nipun Garg
9d45057630 HDB: Add Debug Output for Actions List 2019-09-03 17:17:24 +02:00
Nipun Garg
31ec40a91a HDB: Fix checkActionList() 2019-09-03 17:17:24 +02:00
Nipun Garg
1b6b2a96a0 HDB: Fix warnings 2019-09-03 17:17:24 +02:00
Nipun Garg
9e1f792751 HDB: Differentiate Debug messages 2019-09-03 17:17:24 +02:00
Nipun Garg
72dbb6074d HDB: Fix uninitialized read 2019-09-03 17:17:24 +02:00
Nipun Garg
8a80cc77e9 HDB: Add 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
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
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
Nipun Garg
a3ba287c1e HDB: Add code for drawing Debug Mark 2019-09-03 17:17:20 +02:00
Nipun Garg
c31217f1ee HDB: Add Debug checks 2019-09-03 17:17:20 +02:00
Nipun Garg
b36569d201 HDB: Add code to enable Debugging 2019-09-03 17:17:20 +02:00
Nipun Garg
469c2245b4 HDB: Add moveMap() and startMoveMap() 2019-09-03 17:17:20 +02:00
Nipun Garg
73414fdc47 HDB: Add _debugLogo 2019-09-03 17:17:20 +02:00
Eugene Sandulenko
2c40e1ae36 HDB: Fix loading Lua scripts 2019-09-03 17:17:20 +02:00
Nipun Garg
a745d45f38 HDB: Ignore the Controls Option 2019-09-03 17:17:20 +02:00
Nipun Garg
9dec31c458 HDB: Unstub drawWaypoints() 2019-09-03 17:17:20 +02:00
Nipun Garg
d07dcd210c HDB: Add code to ready Weapon 2019-09-03 17:17:20 +02:00
Nipun Garg
0c5f2f0243 HDB: Add Player Attacking code 2019-09-03 17:17:20 +02:00
Nipun Garg
a5da708868 HDB: Add Weapon Drawing and Equipping Code 2019-09-03 17:17:20 +02:00
Nipun Garg
44ae2202aa HDB: Fix Lua Index 2019-09-03 17:17:19 +02:00
Nipun Garg
cea99e3fcd HDB: Unstub Weapon code from save/load 2019-09-03 17:17:19 +02:00
Nipun Garg
de7b30a23c HDB: Add queryInventoryTypeSlot() 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
f4e2fbcbc7 HDB: Add missing Gfx variable and Weapon functions 2019-09-03 17:17:19 +02:00
Nipun Garg
4216aa965c HDB: Unstub Sound Lua stubs 2019-09-03 17:17:19 +02:00
Nipun Garg
ff5b6d830a HDB: Add _sound stubs 2019-09-03 17:17:19 +02:00
Nipun Garg
e0f49e8aee HDB: Add cineFunction() 2019-09-03 17:17:19 +02:00
Nipun Garg
2f893eeadd HDB: Add cineRemoveEntity() 2019-09-03 17:17:19 +02:00
Nipun Garg
e1fbaaea2b HDB: Add cinematic functions for Pic 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
f8769966f1 HDB: Fix getRandomNumber usage 2019-09-03 17:17:19 +02:00
Eugene Sandulenko
ac9a62da03 HDB: Fix getRandomNumber() usage 2019-09-03 17:17:19 +02:00
Eugene Sandulenko
8c19637727 HDB: Fix getRandomNumber() usage 2019-09-03 17:17:19 +02:00
Eugene Sandulenko
ac50b10549 HDB: Fix getRandomNumber() usage in menu.cpp 2019-09-03 17:17:19 +02:00
Eugene Sandulenko
74d0c5daed HDB: Fix Gfx::updateVideo() 2019-09-03 17:17:19 +02:00
Eugene Sandulenko
8c48bf972d HDB: Fix Gfx::updateFade() 2019-09-03 17:17:19 +02:00
Eugene Sandulenko
0a291d028c HDB: Complete AI::restartSystem() 2019-09-03 17:17:19 +02:00
Eugene Sandulenko
62a6a36463 HDB: Complete Map::restartSystem() 2019-09-03 17:17:19 +02:00
Eugene Sandulenko
5fa5f6fb39 HDB: Fix _mapLoaded flag handling 2019-09-03 17:17:19 +02:00
Eugene Sandulenko
614fc61254 HDB: Consistent memory management for map explosions 2019-09-03 17:17:18 +02:00
Eugene Sandulenko
f83f965462 HDB: Complete AI::checkPlayerCollision() 2019-09-03 17:17:18 +02:00
Eugene Sandulenko
35ead09d75 HDB: Complete AI::drawLevel2Ents() 2019-09-03 17:17:18 +02:00
Eugene Sandulenko
2be5c59d95 HDB: Complete checkPlayerTileCollision() 2019-09-03 17:17:18 +02:00
Eugene Sandulenko
a35cf6cb93 HDB: Added SetDebug/GetDebug, no relevant functionality 2019-09-03 17:17:18 +02:00
Nipun Garg
c5d1ea304b HDB: Unstubbing updateVideo() 2019-09-03 17:17:18 +02:00
Eugene Sandulenko
1feb91b2f8 HDB: Simplify bootparam processing 2019-09-03 17:17:18 +02:00
Nipun Garg
0cd4f43862 HDB: Unstub updateVideo() 2019-09-03 17:17:18 +02:00
Nipun Garg
c0777f5a03 HDB: Add missing paint() call 2019-09-03 17:17:18 +02:00
Eugene Sandulenko
9903b335e1 HDB: Proper memory handling for map features 2019-09-03 17:17:18 +02:00
Eugene Sandulenko
24468bf630 HDB: Fix warnings 2019-09-03 17:17:18 +02:00
Nipun Garg
812a8c7c9d HDB: Remove redundant warning 2019-09-03 17:17:18 +02:00
Nipun Garg
c5bc56b331 HDB: Add Loading Screen 2019-09-03 17:17:18 +02:00
Nipun Garg
190b550caa HDB: Replace original color functions
With the ones from Graphics::PixelFormat
2019-09-03 17:17:18 +02:00
Nipun Garg
0bd8e53f88 HDB: Unstub DirectX Flip 2019-09-03 17:17:18 +02:00
Nipun Garg
b052946c61 HDB: Add mode-select to the level-select
Add +100 to the level num to access the level in
Action Mode
2019-09-03 17:17:18 +02:00
Eugene Sandulenko
792333b6cc HDB: Show cursor in the main menu 2019-09-03 17:17:18 +02:00
Nipun Garg
6c5193c71c HDB: Init _mstoneGfx and replace strings 2019-09-03 17:17:18 +02:00
Nipun Garg
f27674199b HDB: Clear the Persistent variables 2019-09-03 17:17:18 +02:00
Nipun Garg
1f7e179218 HDB: Unstub drawSnow() 2019-09-03 17:17:18 +02:00
Eugene Sandulenko
1874674364 HDB: More debug for save/load code 2019-09-03 17:17:18 +02:00
Eugene Sandulenko
a869eb00a0 HDB: Restore bootparam and save/load from the command line funcitonality 2019-09-03 17:17:18 +02:00
Nipun Garg
a7e17c07f7 HDB: Remove redundant warnings 2019-09-03 17:17:18 +02:00
Nipun Garg
abe99e332e HDB: Unstub updateFade() 2019-09-03 17:17:18 +02:00
Nipun Garg
8f83631a3b HDB: Add macros for RGB-565 conversions 2019-09-03 17:17:18 +02:00
Nipun Garg
bcaf795b59 HDB: Fix out-of-bounds access bug 2019-09-03 17:17:17 +02:00
Nipun Garg
d8f454dfe1 HDB: Initialize Map member variables 2019-09-03 17:17:17 +02:00
Nipun Garg
eb7e3582ab HDB: Disable the command-line level-select 2019-09-03 17:17:17 +02:00
Nipun Garg
b032068417 HDB: Add HDBGame::start() and remove AI::clearP...
...ersistent() placeholder
2019-09-03 17:17:17 +02:00
Nipun Garg
ee9de9157c HDB: Add Menu calls 2019-09-03 17:17:17 +02:00
Nipun Garg
f5b9d417b7 HDB: Set and Draw Bonus Stars 2019-09-03 17:17:17 +02:00
Nipun Garg
58512d2123 HDB: Add Bonus Star functions 2019-09-03 17:17:17 +02:00
Nipun Garg
5b4602fdbe HDB: Set _menuKey 2019-09-03 17:17:17 +02:00
Nipun Garg
611041701e HDB: Unstub processInput() 2019-09-03 17:17:17 +02:00
Nipun Garg
bb6c18496f HDB: Add _menuKey 2019-09-03 17:17:17 +02:00
Nipun Garg
a510482d64 HDB: Add stubs in Sound and Input 2019-09-03 17:17:17 +02:00
Nipun Garg
d5a779168f HDB: Add Pause Button 2019-09-03 17:17:17 +02:00
Eugene Sandulenko
cf5863c794 HDB: Filter out more Lua globals from saving 2019-09-03 17:17:17 +02:00
Nipun Garg
23239d54f6 HDB: Unstub drawToggle, drawSlider, drawWarpScreen 2019-09-03 17:17:17 +02:00
Nipun Garg
a8877bce1b HDB: Add drawNebula(), drawRocketsAndSelections() 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
93155c6433 HDB: Fix Window::loadSaveFile() 2019-09-03 17:17:17 +02:00
Nipun Garg
5cb46f6246 HDB: Add Menu functions and other stubs 2019-09-03 17:17:17 +02:00
Nipun Garg
9fcb307d1c HDB: Add isVoiceless() 2019-09-03 17:17:17 +02:00
Nipun Garg
69e4668422 HDB: Add centerPrint() 2019-09-03 17:17:17 +02:00
Nipun Garg
6f4e80b836 HDB: Add stubbed Sound functions 2019-09-03 17:17:17 +02:00