Commit Graph
13 Commits
Author SHA1 Message Date
Paul Gilbert 07e04bf830 M4: More compiler warning fixes 2023-12-24 01:53:38 +01:00
Paul Gilbert 3683306a6b M4: Fix crash during first test
First test is now completeable \o/
2023-12-24 01:53:38 +01:00
Paul Gilbert d1d2d3a0b1 M4: Keep the player_info up to date, in case saving done via GMM
In the original, update_player_info is only called when the
mouse is moved. Since player_info is used on loading savegames
to place Wilbur within the restored scene, I had a problem with
making saves via the GMM immediately after entering scenes,
since in cases where the player is initially off-screen, they'd
likewise be offscreen in the restored save. By adding an update
to the main event loop, it ensures player_info is up to date
before the savegame is created.
2023-12-24 01:53:38 +01:00
Paul Gilbert a80362a793 M4: Explicitly process pending events first in gui_system_event_handler 2023-12-24 01:53:38 +01:00
Paul Gilbert 473dd86699 M4: Added keyboard code 2023-12-24 01:53:38 +01:00
Paul Gilbert 876252582b M4: Merging of event handling 2023-12-24 01:53:38 +01:00
Paul Gilbert d63cfd525c M4: Events handler 2023-12-24 01:53:38 +01:00
Paul Gilbert 5a90163a80 M4: Move events folder into platform/ 2023-12-24 01:53:38 +01:00
Paul Gilbert 51ee74786b M4: Change existingi Globals class to Vars class
The M4 engine has it's own globals array and constants,
so it was cleaner to have it remain as Globals, and change
the ScummVM Globals class to Vars to disambiguate it
2023-12-24 01:53:38 +01:00
Paul Gilbert a6584a6677 M4: Adding gui_dialog.cpp and dependencies 2023-12-24 01:53:38 +01:00
Paul Gilbert 366ccfc86b M4: Added gui_item.cpp methods 2023-12-24 01:53:38 +01:00
Paul Gilbert f55dd6f13d M4: Added further Burger setup and dependant code 2023-12-24 01:53:38 +01:00
Paul Gilbert e1ef55a053 M4: Added gui system init/shutdown 2023-12-24 01:53:38 +01:00