Commit Graph
219 Commits
Author SHA1 Message Date
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 d12d3ee647 HDB: Proper prototype for saveGameState() 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 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 b7b8b23d29 HDB: Add openFile, write, closeFile Lua functions 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 fffa7bd1a2 HDB: Unstub _ai->save() call 2019-09-03 17:17:15 +02:00
Nipun Garg d2df277403 HDB: Add saveSlot, loadSlot, saveGame and loadGame 2019-09-03 17:17:14 +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
Eugene Sandulenko d285201ec8 HDB: Disable skipping manny quest for now 2019-09-03 17:17:13 +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
Nipun Garg 1b2437900c HDB: Do not declare AIEntity every frame 2019-09-03 17:17:10 +02:00
Nipun Garg 95c36ed358 HDB: Add Pushing code 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
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
Eugene Sandulenko c3c8299962 HDB: Completed rendering pipeline 2019-09-03 17:17:09 +02:00
Eugene Sandulenko 74eb242b5a HDB: Unstub HDBGame::restartMap() 2019-09-03 17:17:09 +02:00
Eugene Sandulenko 34a3e1685b HDB: Added stub for Menu class 2019-09-03 17:17:09 +02:00
Eugene Sandulenko af43070e15 HDB: Implemented HDBGame::startMap() 2019-09-03 17:17:09 +02:00
Eugene Sandulenko 106a63aa81 HDB: Add LASTMAPNAME Lua variable 2019-09-03 17:17:09 +02:00
Nipun Garg 5d874c540e HDB: Add and init Sound subsystem 2019-09-03 17:17:09 +02:00
Eugene Sandulenko 480b665e87 HDB: Use constant as framerate 2019-09-03 17:17:08 +02:00
Eugene Sandulenko d55370ac82 HDB: Rename class DrawMan -> Gfx 2019-09-03 17:17:07 +02:00
Eugene Sandulenko 362cb060f3 HDB: Rename _drawMan -> _gfx 2019-09-03 17:17:07 +02:00
Nipun Garg ad0ce9a43f HDB: Call drawDialogChoice() and drawMessageBar() 2019-09-03 17:17:07 +02:00
Eugene Sandulenko 810dc15f97 HDB: Made main loop running 60fps 2019-09-03 17:17:05 +02:00
Nipun Garg 8423774562 HDB: Call drawDeliveries() 2019-09-03 17:17:05 +02:00
Nipun Garg 3d979e14ff HDB: Call updateKeys() from game loop 2019-09-03 17:17:04 +02:00
Nipun Garg ad2fa4185a HDB: Add pause checks to the Main loop 2019-09-03 17:17:04 +02:00
Nipun Garg b42109d368 HDB: Add _pauseFlag data 2019-09-03 17:17:04 +02:00
Nipun Garg ff25a0f4dd HDB: Add updateMouseButtons and update updateMouse 2019-09-03 17:17:04 +02:00
Nipun Garg f41e1999fb HDB: Add updateMouse() and call it in game loop 2019-09-03 17:17:04 +02:00
Nipun Garg fe914ffd41 HDB: Add setTargetXY() 2019-09-03 17:17:04 +02:00
Nipun Garg 14d83c9667 HDB: Unstub animGrabbing() call 2019-09-03 17:17:03 +02:00
Nipun Garg 1370cf8b9d HDB: Call DrawMan::drawPointer() 2019-09-03 17:17:03 +02:00
Nipun Garg 4c5cb8bafe HDB: Add _gameState check 2019-09-03 17:17:03 +02:00
Nipun Garg 6d73298362 HDB: Call drawTextOut() 2019-09-03 17:17:03 +02:00
Nipun Garg dfa9a6bb3b HDB: Add FIXME for out-of-bounds access 2019-09-03 17:17:02 +02:00
Nipun Garg 0daae85340 HDB: Add and call useAutoDoorOpenClose() 2019-09-03 17:17:02 +02:00
Nipun Garg 1b7034cd87 HDB: Add _input subsytem and init it 2019-09-03 17:17:01 +02:00
Eugene Sandulenko 03f84464cb HDB: Added test case for Dialog 2019-09-03 17:17:01 +02:00
Nipun Garg 1c0da3526c HDB: Add statements for text render debugging 2019-09-03 17:17:00 +02:00
Nipun Garg 37a393e9e1 HDB: Call drawInventory() from hdb.cpp 2019-09-03 17:17:00 +02:00
Eugene Sandulenko 8d087a3c7f HDB: Added rest of the stubs for the rendering pipeline 2019-09-03 17:16:59 +02:00
Nipun Garg 7389d7d819 HDB: Add openDialog() call to hdb.cpp 2019-09-03 17:16:57 +02:00