Commit Graph
174 Commits
Author SHA1 Message Date
Nipun Garg fa71ee9034 HDB: Fix memory leaks due to findFirstData() 2019-09-03 17:17:23 +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 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
Nipun Garg 462d48a901 HDB: Unstub TODOs 2019-09-03 17:17:21 +02:00
Eugene Sandulenko 2c40e1ae36 HDB: Fix loading Lua scripts 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 4216aa965c HDB: Unstub Sound Lua 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
Eugene Sandulenko cf5863c794 HDB: Filter out more Lua globals from saving 2019-09-03 17:17:17 +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
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 40879e47dd HDB: Fix Name Change 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 f6a3eac497 HDB: Add cineStartMap() Lua function 2019-09-03 17:17:13 +02:00
Nipun Garg 0dff3cd8e6 HDB: Unstub Lua Snow functions 2019-09-03 17:17:13 +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
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
Nipun Garg 9da57f1eb7 HDB: Add startMap lua function 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 74eb242b5a HDB: Unstub HDBGame::restartMap() 2019-09-03 17:17:09 +02:00
Eugene Sandulenko 106a63aa81 HDB: Add LASTMAPNAME Lua variable 2019-09-03 17:17:09 +02:00
Eugene Sandulenko 734995512e HDB: Added more script patches 2019-09-03 17:17:09 +02:00
Nipun Garg 4622fb3b80 HDB: Unstub playSound calls 2019-09-03 17:17:09 +02:00
Eugene Sandulenko 362cb060f3 HDB: Rename _drawMan -> _gfx 2019-09-03 17:17:07 +02:00
Nipun Garg 8d74464065 HDB: Add Lua functions for message() and dialog() 2019-09-03 17:17:07 +02:00
Eugene Sandulenko f9c560fd9a HDB: Fix warnings, const'ness 2019-09-03 17:17:06 +02:00
Nipun Garg 2cd3bbe230 HDB: Add Lua function for setPointerState() 2019-09-03 17:17:06 +02:00
Nipun Garg 8421649142 HDB: Add Lua functions for textOut 2019-09-03 17:17:06 +02:00
Nipun Garg aadc58ca47 HDB: Add Lua function for killTrigger() 2019-09-03 17:17:06 +02:00
Nipun Garg 1ee37266b1 HDB: Add Lua functions for Inventory 2019-09-03 17:17:06 +02:00
Nipun Garg e441680fbf HDB: Add Lua function for spawn() 2019-09-03 17:17:06 +02:00