Commit Graph
69 Commits
Author SHA1 Message Date
Coen Rampen 6b9787bcc4 CHEWY: Fix SFX repeats 2022-07-08 16:28:52 +02:00
Filippos Karapetis 62f21dc209 CHEWY: Rename stop_detail() -> stopDetail() 2022-07-07 12:10:03 +03:00
Filippos Karapetis 5caad447e0 CHEWY: Remove leftover debug messages 2022-07-07 12:08:21 +03:00
Paul Gilbert 3b42457228 CHEWY: Fix slime dripping animation in room 0 2022-07-06 19:13:26 -07:00
Filippos Karapetis bf4f67da28 CHEWY: Fix playing game SFX - bugs #13520, #13633 2022-07-06 17:29:46 +03:00
Paul Gilbert 5f0a67a3d6 CHEWY: Fix placement of combination lock digits 2022-07-03 18:35:56 -07:00
Coen Rampen 8b174bfed6 CHEWY: Fix sound volume and panning
This commit fixes the initial panning for speech and scripted SFX. These were
set on the sound handle of the previous speech or SFX sample, which would not
affect the new sample.
2022-07-02 22:13:41 +02:00
Filippos Karapetis a452290f02 CHEWY: Fix typo (setSetailPos -> setDetailPos) 2022-06-29 17:47:29 +03:00
Filippos Karapetis 356592417e CHEWY: Cleanup defines 2022-05-22 17:29:56 +03:00
Filippos Karapetis 788467beb5 CHEWY: Rename class members to conform to our style 2022-05-21 23:20:04 +03:00
Filippos Karapetis 56f53b8191 CHEWY: Merge the screen drawing code and cleanup defines 2022-04-11 23:28:31 +03:00
Filippos Karapetis 45da48e799 CHEWY: Remove dead code 2022-03-28 01:36:18 +03:00
Filippos Karapetis fcd5122f68 CHEWY: Clean up defines 2022-03-21 01:32:46 +02:00
Strangerke a5eba0c6e8 CHEWY: Fix animation regression introduced in 4a012a2955 2022-03-18 00:55:07 +01:00
Strangerke 6e870796a9 CHEWY: More renaming in atds.h 2022-03-11 00:07:29 +01:00
Strangerke b9f436ea86 CHEWY: Turn _tafName into a Common::String (fix coverity 1475961) 2022-03-09 23:01:41 +01:00
Strangerke aa7e21d6c0 CHEWY: Fix coverity 1475951, 1475954 and 1475956 (out of bounds reads) 2022-03-09 21:38:41 +01:00
Strangerke 4a012a2955 CHEWY: rename a bunch of 'Anz' variables 2022-03-07 00:58:19 +01:00
Filippos Karapetis 35515585df CHEWY: Switch to the new video code
This simplifies the video code significantly and allows us to
remove the old video code
2022-03-05 17:26:29 +02:00
Strangerke 23c5a4ce3e CHEWY: More renaming 2022-03-03 18:37:16 -08:00
Strangerke b27b209021 CHEWY: Still renaming 2022-03-03 18:36:50 -08:00
Strangerke 9cd7694d07 CHEWY: Remove unused structure, some renaming 2022-03-03 18:36:50 -08:00
Strangerke 266b30eb55 CHEWY: More renaming 2022-03-03 18:36:49 -08:00
Strangerke 8aec52fd82 CHEWY; Some more renaming 2022-03-03 18:36:48 -08:00
Strangerke e919953073 CHEWY: renaming, add some missing breaks in flic_cut 2022-03-03 18:36:47 -08:00
Strangerke 3b86f9e94e CHEWY: Some more renaming 2022-03-03 18:36:47 -08:00
Filippos Karapetis 1ea4b7bd5b Remove the modul / fcode checks
These checks were used for incorrect resources, so it's best to place
the relevant checks when loading resources instead of random places in
the code. Also, remove unused chunk IDs
2022-03-03 18:36:38 -08:00
Filippos Karapetis 70b1e80bd1 CHEWY: Switch more functions to the new sound code 2022-03-03 18:36:35 -08:00
Strangerke 995128b467 CHEWY: Work on CppCheck warnings 2022-03-03 18:36:34 -08:00
Paul Gilbert d349d46776 CHEWY: Capitalize classes in ngstypes.h 2022-03-03 18:36:32 -08:00
Paul Gilbert 9c15eefa80 CHEWY: Further Globals cleanup, renamed file to globals.cpp 2022-03-03 18:36:31 -08:00
Paul Gilbert 640b101e5d CHEWY: Capitalize class names 2022-03-03 18:36:27 -08:00
Paul Gilbert c5d0e15fd8 CHEWY: Move main.cpp globals to Globals 2022-03-03 18:36:24 -08:00
Paul Gilbert ee41d4a289 CHEWY: Rename detail class fields 2022-03-03 18:36:22 -08:00
Paul Gilbert 6f67f04200 CHEWY: Change ailclass to SoundPlayer 2022-03-03 18:36:18 -08:00
Filippos Karapetis 3471cecbf0 CHEWY: Switch to the new sprite loading code 2022-03-03 18:36:17 -08:00
Filippos Karapetis 9c411272fe CHEWY: Reduce scope of sound buffer
The sound buffer is only used in the old FLIC player
2022-03-03 18:36:17 -08:00
Paul Gilbert fd7e82993d CHEWY: Fix overrun on SpritePos array 2022-03-03 18:36:08 -08:00
Filippos Karapetis 6aaa8ceaa6 CHEWY: Use the new sound code
This removes a lot of the stubbed voice and sound functions.
The custom music format code hasn't been updated yet
2022-03-03 18:36:06 -08:00
Filippos Karapetis f512718281 CHEWY: Use error() instead of returning a global error flag
The error messages are temporary, and all error checking for
resources will be eventually moved into the resource handling
code
2022-03-03 18:35:58 -08:00
Strangerke a416a12ff7 CHEWY: Remove dead code, reduce more variable scopes 2022-03-03 18:35:55 -08:00
Strangerke b880a40b15 CHEWY: Remove debug, reduce some variable scopes, fix a couple of variable types 2022-03-03 18:35:55 -08:00
Strangerke 0f4d1c3a59 CHEWY: Some renaming in ailclass, start cleaning atds 2022-03-03 18:35:52 -08:00
Paul Gilbert 950da68adf CHEWY: Fix invalid memory writes identified by Valgrind 2022-03-03 18:35:42 -08:00
Paul Gilbert c38a71dd1e CHEWY: Janitorial cleanup of array square bracket usage 2022-03-03 18:35:24 -08:00
Paul Gilbert 9ae2ed3119 CHEWY: More room 0 cleanups 2022-03-03 18:35:20 -08:00
Paul Gilbert 81b17afa4d CHEWY: Update headers to GPL3 2022-03-03 18:35:19 -08:00
Paul Gilbert b772628e9c CHEWY: Further startup initialization 2022-03-03 18:35:17 -08:00
Paul Gilbert e2400e81fb CHEWY: Change structures from using variable length arrays
The original used a variable length array at the end of
structures. But since that trips up memory overrun checks,
I've changed them to being a raw pointer that points to
just after the structure instead.

Also changed some hardcoded values of 4 bytes for pointers
to be a proper sizeof(pointer)
2022-03-03 18:35:17 -08:00
Paul Gilbert ddd0c298f4 CHEWY: Change mallocs to a wrapper that initializes the memory 2022-03-03 18:35:17 -08:00