Commit graph

53 commits

Author SHA1 Message Date
Filippos Karapetis
169fa99626 CHEWY: Use C++ 11 range-based for loops 2025-03-27 13:47:57 +08:00
Filippos Karapetis
94fc93a847 CHEWY: Change default value of getSwitchCode()
A value of 0 clashes with Common::MOUSE_BUTTON_LEFT
2022-07-07 14:10:20 +03:00
Filippos Karapetis
bf15a7f2fe CHEWY: Remove the InputMgr class 2022-07-07 13:06:22 +03:00
Filippos Karapetis
58cc03fac0 CHEWY: Remove _cursorMoveFl
It's really not necessary in our current code base
2022-05-22 17:29:56 +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
fcd5122f68 CHEWY: Clean up defines 2022-03-21 01:32:46 +02:00
Filippos Karapetis
99298ed22c CHEWY: Fix game getting stuck after saving through the GMM
The enter key pressed when saving was incorrectly processed by the game
2022-03-12 00:34:19 +02:00
Filippos Karapetis
247074d92c CHEWY: Fix regression when using items 2022-03-08 03:23:41 +02:00
Filippos Karapetis
287f5d0217 CHEWY: Refactor and simplify keyboard key handling code 2022-03-08 01:34:11 +02:00
Strangerke
4a012a2955 CHEWY: rename a bunch of 'Anz' variables 2022-03-07 00:58:19 +01:00
Filippos Karapetis
6ad1b281b7 CHEWY: Refactor the mouse code to use CursorMan and ScummVM cursors 2022-03-06 14:40:44 +02:00
Filippos Karapetis
2ed0dea723 CHEWY: Simplify the event manager code
Merge the EventsBase and EventsManager classes
2022-03-06 14:40:42 +02:00
Filippos Karapetis
0c543715ab CHEWY: Handle mouse button up events, instead of button down
This helps avoid processing the same mouse button down event in a row
and is in line with how we process mouse events in other engines
2022-03-06 01:07:49 +02:00
Strangerke
b27b209021 CHEWY: Still renaming 2022-03-03 18:36:50 -08:00
Strangerke
b3fc15feeb CHEWY: Some renaming 2022-03-03 18:36:45 -08:00
Strangerke
e35654ac19 CHEWY: More renaming 2022-03-03 18:36:41 -08:00
Filippos Karapetis
efddc43975 CHEWY: Process mouse events on button up in the cinema screen 2022-03-03 18:36:37 -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
793e53c09a CHEWY: Moving globals to Globals 2022-03-03 18:36:30 -08:00
Paul Gilbert
858998106d CHEWY: Move various globals to Globals 2022-03-03 18:36:24 -08:00
Paul Gilbert
c205543c3d CHEWY: Fixes for scanxy 2022-03-03 18:36:14 -08:00
Strangerke
a416a12ff7 CHEWY: Remove dead code, reduce more variable scopes 2022-03-03 18:35:55 -08:00
Strangerke
c545c36c43 CHEWY: mouse - remove some unused extern, reduce some variable scopes, turn some uint8 to boolean 2022-03-03 18:35:53 -08:00
Paul Gilbert
5497f41b0c CHEWY: Implement getch to allow quitting via File Menu 2022-03-03 18:35:24 -08:00
Paul Gilbert
81b17afa4d CHEWY: Update headers to GPL3 2022-03-03 18:35:19 -08:00
Paul Gilbert
2d4bab1be0 CHEWY: Fix using monacle on book within inventory 2022-03-03 18:35:18 -08:00
Paul Gilbert
3702a38c39 CHEWY: Implementing flic_cut method 2022-03-03 18:35:15 -08:00
Paul Gilbert
786b5927ff CHEWY: Don't reset mouse buttons on mouse move 2022-03-03 18:35:10 -08:00
Paul Gilbert
443766f348 CHEWY: Add support for mouse wheel to cycle cursors 2022-03-03 18:35:09 -08:00
Paul Gilbert
12e1bf8a0e CHEWY: Endian fix for loading sprite correction offsets 2022-03-03 18:35:09 -08:00
Paul Gilbert
bedbaa19ad CHEWY: Remove redundant timer_flag 2022-03-03 18:35:04 -08:00
Paul Gilbert
ff05313cc2 CHEWY: Show intro first time game runs 2022-03-03 18:35:04 -08:00
Paul Gilbert
17a736e848 CHEWY: Setting up scancodes to use Common::KeyCode 2022-03-03 18:35:04 -08:00
Paul Gilbert
2ce77320d5 CHEWY: Setting up keyboard event handler 2022-03-03 18:35:04 -08:00
Paul Gilbert
a8fd1ce5a7 CHEWY: Implement delay mehtod 2022-03-03 18:35:03 -08:00
Paul Gilbert
52df062e9f CHEWY: Implement cursor movement 2022-03-03 18:35:01 -08:00
Paul Gilbert
7dc3106ec7 CHEWY: Implemented mouse cursor show 2022-03-03 18:35:01 -08:00
Paul Gilbert
3def51a841 CHEWY: Moved timer handler to EventsManager, life_line unused 2022-03-03 18:34:58 -08:00
Paul Gilbert
436b0cd454 CHEWY: Shift life_line timer to EventsManager 2022-03-03 18:34:58 -08:00
Paul Gilbert
a8eee11ce8 CHEWY: Added a base class for the EventsManager
I've been doing a fairly common implementation of event
handling across multiple engines, so this is an attempt
to generalize it. Eventually I'd like to see it moved
out of Chewy entirely, and be available for use in other
engines.
2022-03-03 18:34:58 -08:00
Paul Gilbert
fba13ed0f7 CHEWY: Added events manager class 2022-03-03 18:34:58 -08:00
Paul Gilbert
1931420cf0 CHEWY: Removal current engine (almost fully) 2022-03-03 18:34:38 -08:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paul Gilbert
0e8e735c8f CHEWEY: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Filippos Karapetis
e069605d25 CHEWY: Initial work on speech for hotspot actions 2017-03-15 10:28:59 +02:00
D G Turner
72790f90c2 CHEWY: Fix Various Unused Variable Warnings.
Various engine variables are passed down to sub-objects, but never used
currently causing compiler warnings. It is unclear if these are intended
to be used in future, but have removed for now, rather than commenting
out as that would be messier. Can be restored easily if necessary in
future.
2017-01-14 08:43:01 +00:00