Commit Graph

127807 Commits

Author SHA1 Message Date
Filippos Karapetis
8d83a363fb CHEWY: Fix incorrect busy status for Chewy in is_chewy_busy() 2022-03-03 18:36:43 -08:00
Strangerke
3fc3959f7f CHEWY: Various fixes in flic_cut() 2022-03-03 18:36:43 -08:00
Filippos Karapetis
ee46ccf2a1 CHEWY: Fix drawing overlay elements (e.g. subtitles) on videos 2022-03-03 18:36:42 -08:00
Filippos Karapetis
2cb5267002 CHEWY: Remove more unused functions 2022-03-03 18:36:42 -08:00
Filippos Karapetis
1bc86dc799 CHEWY: Remove unused functions 2022-03-03 18:36:42 -08:00
Filippos Karapetis
8e2ea2c8d5 CHEWY: Refactor text printing and font handling code 2022-03-03 18:36:42 -08:00
Filippos Karapetis
19234c3315 CHEWY: Fix incorrect text replacement 2022-03-03 18:36:42 -08:00
Strangerke
891648a851 CHEWY: Fix German intro number 2022-03-03 18:36:41 -08:00
Strangerke
fcce6ef9dd CHEWY: Add German exit message 2022-03-03 18:36:41 -08:00
Strangerke
94f5cf5085 CHEWY: Fix an endianness issue in cursorChoice 2022-03-03 18:36:41 -08:00
Strangerke
e35654ac19 CHEWY: More renaming 2022-03-03 18:36:41 -08:00
Strangerke
6e8cf71682 CHEWY: Some renaming 2022-03-03 18:36:41 -08:00
Strangerke
ca5dd69fd0 CHEWY: Remove useless check and include in mcga.cpp 2022-03-03 18:36:41 -08:00
Paul Gilbert
ccbffc0bd4 CHEWY: Mixed speech & subtitle support for item interactions 2022-03-03 18:36:40 -08:00
Paul Gilbert
03e3b2a8f9 CHEWY: Fix speech num after looking at pillow twice 2022-03-03 18:36:40 -08:00
Strangerke
8853eaba2c CHEWY: Fix some more CppCheck warnings, some renaming 2022-03-03 18:36:40 -08:00
Strangerke
e3f5e5ae44 CHEWY: Rename Display enum 2022-03-03 18:36:40 -08:00
Strangerke
e93c5f0928 CHEWY: Remove unused variable in Cinema::Execute 2022-03-03 18:36:40 -08:00
Filippos Karapetis
cd7de90e42 CHEWY: Remove stubbed mouse speed code 2022-03-03 18:36:40 -08:00
Filippos Karapetis
a805e55759 CHEWY: Remove file function wrappers 2022-03-03 18:36:39 -08:00
Strangerke
5d6fd6de1a CHEWY:Add missing va_end(), add on TODO in devices() 2022-03-03 18:36:39 -08:00
Filippos Karapetis
c620f1d93c CHEWY: Remove more unused types 2022-03-03 18:36:39 -08:00
Filippos Karapetis
62b70a5add CHEWY: Simplify loading of blende.rnd 2022-03-03 18:36:39 -08:00
Filippos Karapetis
4009fd7a6a CHEWY: Finish refactoring taf_seq_adr()
The sprite corrections table was not set correctly.
This allows us to remove related code that is now unused.
2022-03-03 18:36:39 -08:00
Strangerke
a8f913b5a9 CHEWY: More janitorial work on CppCheck warnings 2022-03-03 18:36:39 -08:00
Strangerke
239f53a104 CHEWY: More janitorial work around CppCheck 2022-03-03 18:36:38 -08:00
Filippos Karapetis
8ba4c1b29c CHEWY: Start rewriting taf_seq_adr()
Still not 100% correct, as sprites are drawn with wrong offsets
2022-03-03 18:36:38 -08:00
Filippos Karapetis
e0eff4c511 CHEWY: Remove unused chunk types 2022-03-03 18:36:38 -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
3d7209f44a CHEWY: Use the new video player in more videos 2022-03-03 18:36:38 -08:00
Filippos Karapetis
c5f604db2d CHEWY: Restore comments 2022-03-03 18:36:38 -08:00
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