Commit Graph

1140 Commits

Author SHA1 Message Date
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
Nipun Garg
29d1c96f0e HDB: Add startTitle() and drawTitle() 2019-09-03 17:17:17 +02:00
Nipun Garg
ac4deacf50 HDB: Unstub fillGameSaveSlots() 2019-09-03 17:17:16 +02:00
Nipun Garg
40765c4e9b HDB: Add Save struct and _saveHeader 2019-09-03 17:17:16 +02:00
Nipun Garg
4c20c8be12 HDB: Add Sine and Cosine table 2019-09-03 17:17:16 +02:00
Nipun Garg
0ae4cb1ea7 HDB: Shift HDB::save() and HDB::loadSaveFile...
...to saveload.cpp
2019-09-03 17:17:16 +02:00
Nipun Garg
c00223a6e9 HDB: Add stubbed songPlaying() and startMusic() 2019-09-03 17:17:16 +02:00
Eugene Sandulenko
6c0684cbba HDB: Added missing calls to Map::Map::loadSaveFile() 2019-09-03 17:17:16 +02:00
Eugene Sandulenko
538ab04493 HDB: Added missing calls to loadGameState() 2019-09-03 17:17:16 +02:00
Nipun Garg
9d9a1b6c0f HDB: Add readConfig(), writeConfig() and Cheating 2019-09-03 17:17:16 +02:00
Nipun Garg
a8b4749c7e HDB: Add Input::assignKey(), LuaScript::isValid() 2019-09-03 17:17:16 +02:00
Eugene Sandulenko
38bdb36b23 HDB: Finish implementation of Lua dofile() 2019-09-03 17:17:16 +02:00
Eugene Sandulenko
d0b5e0fbc7 HDB: Remove non-functioning code 2019-09-03 17:17:16 +02:00
Eugene Sandulenko
6fe1d65ca7 HDB: Added initial version for Lua dofile() 2019-09-03 17:17:16 +02:00
Eugene Sandulenko
42edeb4114 HDB: Fix AI::loadSaveFile() 2019-09-03 17:17:16 +02:00
Eugene Sandulenko
458646981f HDB: Fix Window::loadSaveFile() 2019-09-03 17:17:16 +02:00
Eugene Sandulenko
f544c83def HDB: Allocate memory on loading 2019-09-03 17:17:16 +02:00
Eugene Sandulenko
168921d7d7 HDB: Added debug output to save/load code 2019-09-03 17:17:16 +02:00
Eugene Sandulenko
2b46fcf06d HDB: Properly process non-existent save loading 2019-09-03 17:17:16 +02:00
Eugene Sandulenko
8403960c99 HDB: Added more code for loading save states from the command line 2019-09-03 17:17:16 +02:00
Eugene Sandulenko
c71426e2f8 HDB: Fix warnings 2019-09-03 17:17:16 +02:00
Eugene Sandulenko
d12d3ee647 HDB: Proper prototype for saveGameState() 2019-09-03 17:17:16 +02:00
Eugene Sandulenko
6e0e4411a1 HDB: Removed useless warning 2019-09-03 17:17:16 +02:00
Nipun Garg
b1cbf1aeab HDB: Add subbed Menu functions 2019-09-03 17:17:16 +02:00
Nipun Garg
9b43fbfa9f HDB: Save/Load _timePlayed 2019-09-03 17:17:16 +02:00
Nipun Garg
b503e2ba71 HDB: Add missing code in changeGameState() 2019-09-03 17:17:16 +02:00
Nipun Garg
00b53b48a9 HDB: Add stubbed functions 2019-09-03 17:17:15 +02:00
Nipun Garg
d5a32a2b4e HDB: Add missing time code 2019-09-03 17:17:15 +02:00
Nipun Garg
963043f3b2 HDB: Shift Save/Load functions to saveload.cpp 2019-09-03 17:17:15 +02:00
Nipun Garg
ac9f2d634b HDB: Add loadGame() and Sound::stopMusic() 2019-09-03 17:17:15 +02:00
Nipun Garg
ec0bd5e667 HDB: Add global patch for io, os, sctrings 2019-09-03 17:17:15 +02:00
Eugene Sandulenko
e166f4e3ff HDB: And even more script patches 2019-09-03 17:17:15 +02:00
Eugene Sandulenko
cbbe538e5d HDB: More Global script patches 2019-09-03 17:17:15 +02:00
Nipun Garg
b7b8b23d29 HDB: Add openFile, write, closeFile Lua functions 2019-09-03 17:17:15 +02:00
Nipun Garg
6e60d6a287 HDB: Unstub saveGlobal, loadGlobal, purgeGlobals 2019-09-03 17:17:15 +02:00
Eugene Sandulenko
2315a05ad3 HDB: Fix calling Lua save/load 2019-09-03 17:17:15 +02:00
Nipun Garg
85a8209d97 HDB: Add save/load for the Lua Globals environment 2019-09-03 17:17:15 +02:00
Nipun Garg
961f3b46f0 HDB: Add structs and functions for Lua Globals 2019-09-03 17:17:15 +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
fffa7bd1a2 HDB: Unstub _ai->save() call 2019-09-03 17:17:15 +02:00
Eugene Sandulenko
56f0e3f930 HDB: Removed useless warning 2019-09-03 17:17:15 +02:00
Eugene Sandulenko
a8a43329bb HDB: Initialise variables 2019-09-03 17:17:14 +02:00
Eugene Sandulenko
a7d78a1b00 HDB: Fix Sky handling
Now sky appears on Map 29
2019-09-03 17:17:14 +02:00
Eugene Sandulenko
168ca5fc0d HDB: Used transparent alpha blitting 2019-09-03 17:17:14 +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
Nipun Garg
32465a119d HDB: Modify InvEnt to have AIEntity as member 2019-09-03 17:17:14 +02:00
Nipun Garg
69303997ae HDB: Unstub double reads and writes 2019-09-03 17:17:14 +02:00
Nipun Garg
82fe644f54 HDB: Remove unnecessary functions 2019-09-03 17:17:14 +02:00
Eugene Sandulenko
ce6b62d896 HDB: Turn _gratinds[] and _foregrounds[] into structs from pointers 2019-09-03 17:17:14 +02:00
Nipun Garg
d2df277403 HDB: Add saveSlot, loadSlot, saveGame and loadGame 2019-09-03 17:17:14 +02:00
Nipun Garg
0a6d4c042f HDB: Fix endian issues 2019-09-03 17:17:14 +02:00
Nipun Garg
2990f6cff5 HDB: Fix endian issues 2019-09-03 17:17:14 +02:00
Nipun Garg
8b806991b9 HDB: Add save and loadSave functions
For Tile and Pic
2019-09-03 17:17:14 +02:00
Nipun Garg
6f472b60a6 HDB: Fix Endian reading issues 2019-09-03 17:17:14 +02:00
Nipun Garg
2eb9bdfee8 HDB: Add stubbed Sound save() and loadSaveFile() 2019-09-03 17:17:14 +02:00
Nipun Garg
55a58747e2 HDB: Add Gfx save() and loadSaveFile() 2019-09-03 17:17:14 +02:00
Nipun Garg
c819a79c9b HDB: Add Window save() and loadSaveFile() 2019-09-03 17:17:14 +02:00
Eugene Sandulenko
6559b71819 HDB: Fix removeBGTileAnimation() and removeFGTileAnimation() implementations 2019-09-03 17:17:14 +02:00
Nipun Garg
cdf8d2548f HDB: Remove unreferenced variable 2019-09-03 17:17:13 +02:00
Nipun Garg
40879e47dd HDB: Fix Name Change 2019-09-03 17:17:13 +02:00
Nipun Garg
8d57db2572 HDB: Add Map save() and loadSaveFile() 2019-09-03 17:17:13 +02:00
Nipun Garg
06c87e518c HDB: Add HDBGame save() and load() 2019-09-03 17:17:13 +02:00
Nipun Garg
3fc69963f4 HDB: Add setInMapName() and related data 2019-09-03 17:17:13 +02:00
Nipun Garg
7cb5f460c0 HDB: Add member variables to Menu 2019-09-03 17:17:13 +02:00
Nipun Garg
c63e7c838b HDB: Unstub stubs 2019-09-03 17:17:13 +02:00
Eugene Sandulenko
5941748209 HDB: Fixed AI::cineRemoveFromBlitList()
This fixes bug with only 1 manny envelope flying
2019-09-03 17:17:13 +02:00
Eugene Sandulenko
d285201ec8 HDB: Disable skipping manny quest for now 2019-09-03 17:17:13 +02:00
Nipun Garg
f89015a90d HDB: Add Lua functions for _sound 2019-09-03 17:17:13 +02:00
Nipun Garg
9b48e15b8e HDB: Add cinePlayVoice() and cinePlaySound() 2019-09-03 17:17:13 +02:00
Nipun Garg
f6a3eac497 HDB: Add cineStartMap() Lua function 2019-09-03 17:17:13 +02:00
Nipun Garg
373106f896 HDB: Add cineStartMap() 2019-09-03 17:17:13 +02:00
Nipun Garg
a2c9c83b83 HDB: Unstub Window function calls 2019-09-03 17:17:13 +02:00
Nipun Garg
ebea69eceb HDB: Unstub lasers and more 2019-09-03 17:17:13 +02:00
Nipun Garg
0dff3cd8e6 HDB: Unstub Lua Snow functions 2019-09-03 17:17:13 +02:00
Nipun Garg
267ddc8358 HDB: Add turnOnSnow() 2019-09-03 17:17:13 +02:00
Nipun Garg
aed071e5a0 HDB: Add stubbed getMusicVolume() 2019-09-03 17:17:13 +02:00
Nipun Garg
74675ba2d5 HDB: Fix type warning 2019-09-03 17:17:13 +02:00
Nipun Garg
0ca3f5bd7f HDB: Add Bots splitter-comments 2019-09-03 17:17:13 +02:00
Nipun Garg
7caca5d2d0 HDB: Unstub the '#if 0' functions 2019-09-03 17:17:13 +02:00
Eugene Sandulenko
0d2f2f2bf7 HDB: Fix enity lists, and warn on missing files 2019-09-03 17:17:13 +02:00
Nipun Garg
7bf9cc945c HDB: Add Laser functions 2019-09-03 17:17:12 +02:00
Nipun Garg
a27faf35b4 HDB: Add Laser related stubs 2019-09-03 17:17:12 +02:00
Nipun Garg
48546f3c8d HDB: Add laserScan() 2019-09-03 17:17:12 +02:00
Nipun Garg
22ca561f4a HDB: Add _laserRescan and _laserOnScreen 2019-09-03 17:17:12 +02:00
Nipun Garg
ab06602332 HDB: Add clearDiverters() 2019-09-03 17:17:12 +02:00
Nipun Garg
68431702c8 HDB: Add stopChannel() 2019-09-03 17:17:12 +02:00
Nipun Garg
20f7bf6df8 HDB: Add FatFrog functions 2019-09-03 17:17:12 +02:00
Eugene Sandulenko
a29e3b9698 HDB: Proper place for the cheat patches. And wrap them into a define
We need to apply them after the map has been loaded, not before
2019-09-03 17:17:12 +02:00
Eugene Sandulenko
73be5db12e HDB: Attempt to implement hot patches 2019-09-03 17:17:12 +02:00
Eugene Sandulenko
6feed893de HDB: Fix warning 2019-09-03 17:17:12 +02:00
Eugene Sandulenko
9a0e685f0e HDB: Fix warnings 2019-09-03 17:17:12 +02:00
Eugene Sandulenko
5f8e3fab2c HDB: Fix warning 2019-09-03 17:17:12 +02:00
Eugene Sandulenko
10df2d85dc HDB: Fix warning 2019-09-03 17:17:12 +02:00
Eugene Sandulenko
03f1a13786 HDB: Simplify executeChunk() function 2019-09-03 17:17:12 +02:00
Nipun Garg
1b924b23b9 HDB: Add Dragon functions 2019-09-03 17:17:12 +02:00
Nipun Garg
b8a2ed94c6 HDB: Add BuzzFly code 2019-09-03 17:17:12 +02:00
Nipun Garg
ff7de3179a HDB: Add icePuff functions 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
8d4dea4bc3 HDB: Add GatePuddle functions 2019-09-03 17:17:12 +02:00
Nipun Garg
de017b0ce9 HDB: Add PanicZone data and functions 2019-09-03 17:17:12 +02:00
Nipun Garg
c3f409d0c9 HDB: Add BadFairy functions 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
60eb04f833 HDB: Unstub addtoFairystones calls 2019-09-03 17:17:11 +02:00
Nipun Garg
002f8edd48 HDB: Add GoodFairy functions 2019-09-03 17:17:11 +02:00
Nipun Garg
292ada30e3 HDB: Add _fairystones functions 2019-09-03 17:17:11 +02:00
Nipun Garg
7a6a169422 HDB: Add _fairystones data 2019-09-03 17:17:11 +02:00
Nipun Garg
26c1c9440c HDB: Add Meerkat functions 2019-09-03 17:17:11 +02:00
Nipun Garg
c67fb14640 HDB: Add getGemGfx() 2019-09-03 17:17:11 +02:00
Nipun Garg
64cd74d1b2 HDB: Add aiDiverterAction() 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
Nipun Garg
d356756e6d HDB: Add Diverter functions 2019-09-03 17:17:11 +02:00
Nipun Garg
c9c08476f1 HDB: Add Gfx data 2019-09-03 17:17:11 +02:00
Nipun Garg
ac04002411 HDB: Add Tile::free() and Picture::free() 2019-09-03 17:17:11 +02:00
Nipun Garg
d70888269e HDB: Modify the return type of draw functions 2019-09-03 17:17:11 +02:00
Nipun Garg
49cb33911e HDB: Add playSoundEX() 2019-09-03 17:17:11 +02:00
Eugene Sandulenko
2d04954052 HDB: Safer loops 2019-09-03 17:17:11 +02:00
Eugene Sandulenko
71cff7f256 HDB: Fix AI::cineStart() 2019-09-03 17:17:11 +02:00
Eugene Sandulenko
375498e352 HDB: Fix cineAbort(), so it really removes the state machine program 2019-09-03 17:17:11 +02:00
Eugene Sandulenko
0a1ec9097c HDB: Finish cineCleanup() 2019-09-03 17:17:11 +02:00
Eugene Sandulenko
85f37fd67a HDB: Hid noisy debug output 2019-09-03 17:17:10 +02:00
Nipun Garg
372cf8b734 HDB: Fix uninitized frame counters 2019-09-03 17:17:10 +02:00
Nipun Garg
1e5e8ed4ec HDB: Unstub 'Cache graphics for Deliveries' 2019-09-03 17:17:10 +02:00
Nipun Garg
1b2437900c HDB: Do not declare AIEntity every frame 2019-09-03 17:17:10 +02:00
Nipun Garg
9b6e83451f HDB: Add check for unknown size 2019-09-03 17:17:10 +02:00
Eugene Sandulenko
92a4ff67fe HDB: Implement cineSpawnEntity() 2019-09-03 17:17:10 +02:00
Eugene Sandulenko
7e07602c25 HDB: Fix trigger launching 2019-09-03 17:17:10 +02:00
Eugene Sandulenko
595187da81 HDB: Rewrote AI::killTrigger() to a safer variant 2019-09-03 17:17:10 +02:00
Eugene Sandulenko
a48ee7d111 HDB: Safer version of AI::moveEnts() 2019-09-03 17:17:10 +02:00
Nipun Garg
95c36ed358 HDB: Add Pushing code 2019-09-03 17:17:10 +02:00
Nipun Garg
eb388f9a50 HDB: Remove invalid return statement 2019-09-03 17:17:10 +02:00
Nipun Garg
f832f66dd3 HDB: Fix removeEntity to not manipulate pointers 2019-09-03 17:17:10 +02:00
Eugene Sandulenko
fe9242f412 HDB: Implement safe version of removeEntity(). The previous one crashed 2019-09-03 17:17:10 +02:00
Eugene Sandulenko
f35b63bc13 HDB: Prevent crash when _skyClounds is empty.
Happens in MAP29
2019-09-03 17:17:10 +02:00
Nipun Garg
e319b120da HDB: Modify warning to debug output 2019-09-03 17:17:10 +02:00
Nipun Garg
478c10a1fb HDB: Unstub aiVortexianAction 2019-09-03 17:17:10 +02:00
Nipun Garg
9da57f1eb7 HDB: Add startMap lua function 2019-09-03 17:17:10 +02:00
Nipun Garg
5e343d6591 HDB: Add checkForTouchplate call 2019-09-03 17:17:10 +02:00
Eugene Sandulenko
9369775b76 HDB: Fix compilation 2019-09-03 17:17:10 +02:00
Eugene Sandulenko
37b09c6e3d HDB: Implement boot params.
To switch levels, run ./scummvm -b <levelnum> hdb-win
2019-09-03 17:17:10 +02:00
Nipun Garg
ffe05e989b HDB: Add checkForTouchplate() 2019-09-03 17:17:10 +02:00
Nipun Garg
1cd0a8d936 JANITORIAL: Fix formatting 2019-09-03 17:17:10 +02:00
Eugene Sandulenko
3eab2731cd HDB: Implement loadMap() 2019-09-03 17:17:10 +02:00
Eugene Sandulenko
347dd30f78 HDB: Implement loadLua() 2019-09-03 17:17:10 +02:00
Nipun Garg
e97d425b8a HDB: Unstub printYouGotMsg call 2019-09-03 17:17:09 +02:00
Nipun Garg
eacc59bca9 HDB: Add useDoorOpenCloseBot() 2019-09-03 17:17:09 +02:00