aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
AgeCommit message (Collapse)Author
2019-12-03HDB: Fix Missing Default Switch CasesD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-03ENGINES: Stop using 'single id'Bastien Bouclet
2019-11-03ENGINES: Add an engine ID to all the enginesBastien Bouclet
2019-10-11HDB: Using the class keyword makes the intended use clearer.Henrik "Henke37" Andersson
2019-10-11HDB: No need to restate that member functions are indeed part of the class.Henrik "Henke37" Andersson
2019-10-11HDB: Have a return value if the needed codec isn't included in the build.Henrik "Henke37" Andersson
2019-10-11HDB: Bail if the music stream couldn't be created.Henrik "Henke37" Andersson
2019-10-11HDB: Factor out the song code into the Song class, avoiding a lot of ↵Henrik "Henke37" Andersson
duplicate code.
2019-10-08JANITORIAL: Keep copyright "sign" upper-case like the rest of the enginesHubert Maier
2019-10-04HDB: Remove ADGF_TESTING flagEugene Sandulenko
2019-09-29HDB: The engine does not use mid, mark the games as such.Henrik "Henke37" Andersson
2019-09-26HDB: Fix Shadowed Variable Compiler Warningjepael
2019-09-22HDB: Fix issue in stylusDownStrangerke
2019-09-21HDB: Use fabs instead of abs for doublessluicebox
Fixes VS2015 build
2019-09-22HDB: Fix Game Breaking Bug in Right Mouse Button HandlingD G Turner
The right mouse button (which is the "Use" button for throwing gems etc.) function sets the Button B flag in the _buttons flag field, but never cleared it. This resulted in blocking of setting of movement waypoints with the left button and thus locked up the player character. You could avoid this by using the "Return" key which is also mapped to use, but this would only be possible on desktop ports or with a virtual keyboard. This commit fixes the mouse handling code to clear the flag and thus avoids future bug reports.
2019-09-20HDB: Guard for corrupted sound dataEugene Sandulenko
2019-09-19HDB: Fix missing semicolonsluicebox
2019-09-19HDB: Simplify some codeStrangerke
2019-09-19HDB: Fix another regression in inventoryStrangerke
2019-09-19HDB: Fix regression introduced in 35ff6adStrangerke
2019-09-16HDB: Turn a couple of arrays into static constStrangerke
2019-09-16HDB: Fix some more uninitialized variablesStrangerke
2019-09-15HDB: Remove Another Fixed Size String BufferD G Turner
This reduces the scope for buffer overflow issues.
2019-09-14HDB: Improve String Code Usage in HDB Engine CodeD G Turner
2019-09-14HDB: Improve String Buffer Usage in AI Inventory CodeD G Turner
2019-09-14HDB: Replace Unecessary Buffer in AI Inventory CodeD G Turner
2019-09-14HDB: Avoid String Buffer Overruns from Save Load CodeD G Turner
2019-09-14HDB: Remove Fixed String Buffer Usage in Window CodeD G Turner
2019-09-14HDB: Removed Fixed String Buffer from AI Player CodeD G Turner
This is replaced by simpler Common::String equivalent.
2019-09-14HDB: Remove More Fixed Sized String Buffers in Menu CodeD G Turner
2019-09-14HDB: Remove Fixed Sized String Buffers in Menu CodeD G Turner
These are replaced by Common::String usage.
2019-09-14HDB: Fix More GCC Compiler WarningsD G Turner
2019-09-13HDB: Further Fixes for GCC Compiler WarningsD G Turner
2019-09-13HDB: Fix Some GCC Compiler WarningsD G Turner
These were of the type memset of a complex structure.
2019-09-13HDB: Fix Major Memory Leak in File Manager ClassD G Turner
2019-09-13HDB: Close Memory Leaks in Sound ClassD G Turner
2019-09-13HDB: Ensure Demos are Indicated in ScummVM GUI Launcher ListD G Turner
2019-09-13HDB: Fix Crash on Invalid Sound String PointersD G Turner
This was causing a crash with buffer overflow on Windows builds, but diagnosing with Valgrind showed invalid strings being accessed in the sound code. Some analysis showed that these were mainly the reference to c_str() buffers from a local heap Common::String which was out of scope and thus destructed, giving an invalid pointer. The fix here also simplifies the code as well as avoiding this issue.
2019-09-10HDB: Fix empty string testsluicebox
2019-09-09HDB: Remove useless check on array vs nullStrangerke
2019-09-09HDB: Fix more uninitialized variables in Gfx and WindowStrangerke
2019-09-09HDB: Fix more uninitialized variables in ai-initStrangerke
2019-09-09HDB: Fix a pointer to local variable outside of scopeStrangerke
2019-09-08HDB: Reduce the scope of some more variablesStrangerke
2019-09-08HDB: Remove unused static in setButtonsStrangerke
2019-09-08HDB: Fix out of bounds read in HDBGame::setInMapNameBastien Bouclet
2019-09-07HDB: Remove useless returnsStrangerke
2019-09-07HDB: Fix some array compared to nullptr, reduce some variable scopesStrangerke
2019-09-07HDB: Remove useless existence checks on entityNameStrangerke
2019-09-07HDB: Replace some unsafe strcpy by strncpyStrangerke