Commit Graph
219 Commits
Author SHA1 Message Date
D G Turner cb949044db HDB: Refactor AI Functions to Avoid Incompatible Function Pointer Casts
These warnings were emitted by GCC when -Wcast-function-type was passed.

This fixes these by refactoring so the engine only uses a single function
pointer type with the "extra" parameters always present.
2022-07-23 17:00:23 +01:00
antoniou79 afc309393c HDB: Remove redundant check for empty music_driver value 2022-05-25 12:58:59 +03:00
antoniou79 1ab83c2a28 HDB: Add proper volume settings synchronization
Between GMM / ScummVM launcher settings and game

Also commented out some incomplete and unused code meant for cross fading or fading in and out music tracks (Songs)
2022-05-25 12:58:59 +03:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Cameron Cawley 44f7f801a1 HDB: Add keymapper support 2020-08-27 10:34:59 +02:00
Eugene Sandulenko a37e9a8f9a HDB: Replace NULL with nullptr 2020-04-28 09:42:27 +02:00
Eugene Sandulenko 16f1ff13bc HDB: Use Common::strlcpy() everywhere 2020-04-27 18:29:39 +02:00
D G Turner 4be7972561 HDB: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-03 22:12:24 +00:00
sluicebox 52166aa3b1 HDB: Fix missing semicolon 2019-09-19 02:05:25 -07:00
Strangerke 0344e0adce HDB: Simplify some code 2019-09-19 08:10:49 +02:00
D G Turner 8555657207 HDB: Improve String Code Usage in HDB Engine Code 2019-09-14 03:03:17 +01:00
D G Turner c0d6a8fc7a HDB: Further Fixes for GCC Compiler Warnings 2019-09-13 23:06:32 +01:00
Strangerke 9de42a143a HDB: Fix a pointer to local variable outside of scope 2019-09-09 22:30:17 +02:00
Bastien Bouclet 997e15878a HDB: Fix out of bounds read in HDBGame::setInMapName 2019-09-08 19:55:23 +02:00
Strangerke 5b01ca8694 HDB: Reduce the scope of some variables 2019-09-06 08:16:04 +02:00
Strangerke d1b9e1db7a HDB: Initialize some more uninitialized variables. 2019-09-06 08:16:04 +02:00
Eugene Sandulenko 100ea9ff0e HDB: Fix warnings 2019-09-03 17:17:35 +02:00
Eugene Sandulenko 373002d303 HDB: Added debug output for map loading 2019-09-03 17:17:35 +02:00
Strangerke b29317c0b0 HDB: Janitorial - Fix some code formatting 2019-09-03 17:17:35 +02:00
Strangerke 83d3af6009 HDB: Make the frame delay variable in order to have a more stable frame rate 2019-09-03 17:17:35 +02:00
Eugene Sandulenko c3032f7742 HDB: Remove excess calls to stopVoices() 2019-09-03 17:17:35 +02:00
Strangerke 2178770898 HDB: Change init functions to handle errors 2019-09-03 17:17:34 +02:00
Eugene Sandulenko 23c7dc8ebd HDB: Implement differences in rendering pipeline for the PPC demo 2019-09-03 17:17:34 +02:00
Nipun Garg 6fbadccf08 HDB: Fix voice playing when no message on screen 2019-09-03 17:17:34 +02:00
Eugene Sandulenko 45e49a6ba2 HDB: Support bootparams for demo 2019-09-03 17:17:34 +02:00
Nipun Garg c2a8a0c2c4 HDB: Fix PPC Double Click code 2019-09-03 17:17:34 +02:00
Nipun Garg a69f6afe10 HDB: Convert FPS to Millis for double click check 2019-09-03 17:17:33 +02:00
Eugene Sandulenko adc41ff141 HDB: Fix PPC screen dimensions once more 2019-09-03 17:17:33 +02:00
Eugene Sandulenko 5570f784b6 HDB: Initialise more variables 2019-09-03 17:17:32 +02:00
Eugene Sandulenko 41696e9efd HDB: Fix PPC screen dimensions 2019-09-03 17:17:32 +02:00
Eugene Sandulenko 4406d89743 HDB: Move heavy lifting out of HDBGame constructor 2019-09-03 17:17:32 +02:00
Eugene Sandulenko e514a6c8c1 HDB: Better error messages 2019-09-03 17:17:32 +02:00
Eugene Sandulenko ee0445e557 HDB: Sync sound settings with config at the startup 2019-09-03 17:17:31 +02:00
Nipun Garg 7ad5cf9d30 HDB: Add new PPC-specific code 2019-09-03 17:17:31 +02:00
Eugene Sandulenko abaf1336a7 HDB: Hid noisy debug messages, removed one unneeded stub 2019-09-03 17:17:31 +02:00
Eugene Sandulenko a7828397af HDB: Made rendering pipeline to match original 2019-09-03 17:17:30 +02:00
Nipun Garg a9e65176a1 HDB: Add more Platform-specific Constants 2019-09-03 17:17:30 +02:00
Nipun Garg 0fb3ad7ba0 HDB: Make Platform specific constants into variables 2019-09-03 17:17:30 +02:00
Nipun Garg c1d2468f07 HDB: Section off PPC-specific code 2019-09-03 17:17:30 +02:00
Nipun Garg b8bbc32a89 HDB: Add support for the PPC version 2019-09-03 17:17:30 +02:00
Eugene Sandulenko da5f1fa265 HDB: Added demo-specific start code 2019-09-03 17:17:29 +02:00
Nipun Garg 2bb60c69cd HDB: Add Music/Song data and functions 2019-09-03 17:17:29 +02:00
Eugene Sandulenko a50e1469b7 HDB: Reduce header dependency 2019-09-03 17:17:28 +02:00
Eugene Sandulenko e0b0d85f5b HDB: Reduce header dependency 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 2844b48ac1 HDB: Reduce header dependency 2019-09-03 17:17:27 +02:00