Commit Graph

127626 Commits

Author SHA1 Message Date
Filippos Karapetis
cfb636c1bd CHEWY: More work on the new video player
It is now the default player for all videos except the ones with custom
callbacks. Started importing video callbacks in the new video player
2022-03-03 18:36:37 -08:00
Filippos Karapetis
b8d0082971 CHEWY: Simplify the game initialization code 2022-03-03 18:36:37 -08:00
Filippos Karapetis
318f3ea2bb CHEWY: Restore some of the deleted refactored functions
These will be used in the new video player
2022-03-03 18:36:37 -08:00
Filippos Karapetis
efddc43975 CHEWY: Process mouse events on button up in the cinema screen 2022-03-03 18:36:37 -08:00
Strangerke
f5f1e89ed1 CHEWY: Fix missing file in previous commit 2022-03-03 18:36:37 -08:00
Strangerke
7f85d2d5b0 CHEWY: Work on CppCheck warnings in Object, rename a couple of functions 2022-03-03 18:36:37 -08:00
Filippos Karapetis
7d9cd2b8ad CHEWY: Rename all movie enums so that they match their values 2022-03-03 18:36:36 -08:00
Filippos Karapetis
de38f58836 CHEWY: Use more movie enums 2022-03-03 18:36:36 -08:00
Filippos Karapetis
a085db8a7b CHEWY: Move all custom video callbacks to r_event.cpp
This will help to gather everything in a single place, in order to
aid in rewriting this functionality. This includes all videos with
custom callbacks, set_custom_user_function() and set_flic_user_function()
2022-03-03 18:36:36 -08:00
Filippos Karapetis
b292ea84bf CHEWY: Use enums for video IDs 2022-03-03 18:36:36 -08:00
Filippos Karapetis
2123e8887f CHEWY: Remove unused functions 2022-03-03 18:36:35 -08:00
Strangerke
883664cf00 CHEWY: More work on CppCheck, Fix an endianness issue (one of maaaaany) 2022-03-03 18:36:35 -08:00
Paul Gilbert
58ee087edd CHEWY: Fix loading the correct speech data for item interactions 2022-03-03 18:36:35 -08:00
Filippos Karapetis
25ad52094d CHEWY: Remove the unused mode parameter of flic_cut()
It is always set to CFO_MODE
2022-03-03 18:36:35 -08:00
Filippos Karapetis
70b1e80bd1 CHEWY: Switch more functions to the new sound code 2022-03-03 18:36:35 -08:00
Filippos Karapetis
26139fd227 CHEWY: Rename setze_zeiger -> set_pointer 2022-03-03 18:36:34 -08:00
Filippos Karapetis
4dfc0ffeea CHEWY: Fixes regarding the video skipping flag 2022-03-03 18:36:34 -08:00
Filippos Karapetis
7da7a2781e CHEWY: Fix compilation with new video code 2022-03-03 18:36:34 -08:00
Strangerke
bf6cee2b9a CHEWY: More work on CppCheck 2022-03-03 18:36:34 -08:00
Strangerke
995128b467 CHEWY: Work on CppCheck warnings 2022-03-03 18:36:34 -08:00
Paul Gilbert
097a485ea7 CHEWY: Change DISPLAY constants to an enum 2022-03-03 18:36:34 -08:00
Paul Gilbert
9700be8e5a CHEWY: Janitorial 2022-03-03 18:36:34 -08:00
Strangerke
c81d3cb5e5 CHEWY: Remove the file mode in several functions 2022-03-03 18:36:33 -08:00
Strangerke
5717c8ac5a CHEWY: Add German credits 2022-03-03 18:36:33 -08:00
Paul Gilbert
e7f5c1341f CHEWY: Handle mixed speech and subtitles 2022-03-03 18:36:33 -08:00
Paul Gilbert
da6eca635e CHEWY: Set DISPLAY_BOTH mode when subtitles and speech are both on 2022-03-03 18:36:33 -08:00
Strangerke
a5a997dbad CHEWY: End of review of Room 00 2022-03-03 18:36:33 -08:00
Strangerke
316f0aee6e CHEWY: Room 0 - Remove two defines, reduce some variable scopes 2022-03-03 18:36:32 -08:00
Strangerke
36ee1adf76 CHEWY: Fix issues in Room 00 2022-03-03 18:36:32 -08:00
Strangerke
34251e12d5 CHEWY: Fix logic of Room 03 2022-03-03 18:36:32 -08:00
Paul Gilbert
d3a16e4015 CHEWY: Cleanup of atds method parameters 2022-03-03 18:36:32 -08:00
Paul Gilbert
cf3f5aba60 CHEWY: MInor cleanup of main, shifted field to Globals 2022-03-03 18:36:32 -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
a4a0f0a009 CHEWY: Move final globals from global.cpp to Globals 2022-03-03 18:36:31 -08:00
Paul Gilbert
cf7ac0878b CHEWY: Move various array globals to Globals 2022-03-03 18:36:31 -08:00
Paul Gilbert
8d42bf7690 CHEWY: Move object pointer globals to Globals 2022-03-03 18:36:31 -08:00
Paul Gilbert
d9c6188922 CHEWY: Move spz globals to Globals 2022-03-03 18:36:30 -08:00
Paul Gilbert
546cb99e0b CHEWY: Move globals to Globals 2022-03-03 18:36:30 -08:00
Paul Gilbert
096b125379 CHEWY: Move SetupScreenFunc to Globals, remove unused life globals 2022-03-03 18:36:30 -08:00
Paul Gilbert
793e53c09a CHEWY: Moving globals to Globals 2022-03-03 18:36:30 -08:00
Paul Gilbert
75c029de78 CHEWY: Revert cleanup of #ifdef blocks 2022-03-03 18:36:30 -08:00
Strangerke
24daa6e493 CHEWY: Review logic of Room 01 2022-03-03 18:36:29 -08:00
Paul Gilbert
69ed392124 CHEWY: Move graphics related globals to Globals 2022-03-03 18:36:29 -08:00
Strangerke
d1ac557f14 CHEWY: Use more consistently constants with start_spz 2022-03-03 18:36:29 -08:00
Strangerke
4469a6ce1b CHEWY: Review logic of Room 02 2022-03-03 18:36:29 -08:00
Strangerke
911798a78c CHEWY: Review the logic of Room 4 2022-03-03 18:36:29 -08:00
Strangerke
232ffd0b93 CHEWY: Review logic in Room 5, reduce variable scope 2022-03-03 18:36:29 -08:00
Paul Gilbert
0d19fd29e8 CHEWY: Remove unused globals 2022-03-03 18:36:28 -08:00
Paul Gilbert
4cb351eeb4 CHEWY: More arrays to become statics 2022-03-03 18:36:28 -08:00