Commit Graph
168 Commits
Author SHA1 Message Date
D G Turner 8a65f44311 HDB: Remove Another Fixed Size String Buffer
This reduces the scope for buffer overflow issues.
2019-09-15 00:03:11 +01:00
Strangerke 1c8a7800da HDB: More missing initializations 2019-09-06 08:16:04 +02:00
Strangerke 2178770898 HDB: Change init functions to handle errors 2019-09-03 17:17:34 +02:00
Strangerke f14edf90d4 HDB: Remove two unused variables 2019-09-03 17:17:33 +02:00
Eugene Sandulenko e9970a20dd HDB: Implement PPC demo Lua differences for saving 2019-09-03 17:17:33 +02:00
Eugene Sandulenko 0536d53dbe HDB: Fix copy/paste error in script patch for MAP01 2019-09-03 17:17:33 +02:00
Eugene Sandulenko bbbeaec131 HDB: Save function pointers
It is bug in the original, which led to broken dialog with
Chiste on Map01
2019-09-03 17:17:33 +02:00
Eugene Sandulenko fab015edd2 HDB: Fix script patch for MAP01 2019-09-03 17:17:33 +02:00
Eugene Sandulenko c12a068bcc HDB: Better Lua tracing 2019-09-03 17:17:33 +02:00
Eugene Sandulenko c4495e5449 HDB: Added commented out credits debugging patch 2019-09-03 17:17:31 +02:00
Nipun Garg a9e65176a1 HDB: Add more Platform-specific Constants 2019-09-03 17:17:30 +02:00
Eugene Sandulenko 6e67fe35b9 HDB: Even more demo differences 2019-09-03 17:17:29 +02:00
Eugene Sandulenko cfa90aa7bf HDB: Added more demo Lua constants 2019-09-03 17:17:29 +02:00
Eugene Sandulenko 7f7de57ba4 HDB: Modified the patching engine so it works for the demo 2019-09-03 17:17:29 +02:00
Nipun Garg 2ba18da94d HDB: Stick Sound names in Lua 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 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 99fc798b2e HDB: Reduce header dependency 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
Strangerke 4b65e396c8 HDB: Reduce some variable scopes, some janitorial work 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 d61d93ebe1 HDB: Fix loading of Lua script from the save 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
Nipun Garg 933089dcba HDB: Patch misplaced function names 2019-09-03 17:17:26 +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 b96049a236 HDB: Fix game restarting 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 f02bc1da84 HDB: Add Lua Patch for Map11 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 9e1f792751 HDB: Differentiate Debug messages 2019-09-03 17:17:24 +02:00
Eugene Sandulenko bba1fa849b HDB: Fix loading 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 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