Commit Graph
4 Commits
Author SHA1 Message Date
Miro Kropacek 82ae054d0a JANITORIAL: Partially revert commit 24dcacfe
That one was a bit heavy-handed: enums really shouldn't be passed as
const references.

Revert changes of:

- Common::CodePage
- Common::EventType
- Common::Keycode
- Common::Language
- Common::Platform

Additionally change ProjectDescription::setLanguage and
ProjectDescription::getLanguage in engines/mtropolis/runtime.{cpp,h} as
those used a Common::Language reference, too.
2025-04-20 21:33:15 +02:00
Miro Kropacek 24dcacfe69 JANITORIAL: Add missing references to const function parameters
Applied to all 'const Common::' and 'const Graphics::' instances.
2025-04-13 02:20:09 +03:00
Paul Gilbert 49fb52efd6 CREATE_ENGINE: Added View class for events template
Improves mouse events for the events-based project template.
This includes a View class that:
1) Mouse events only get sent to the control under the mouse
rather than all controls on the view
2) Elements will get Focus/Unfocus messages as the mouse
moves in or out of their bounds
2024-05-09 20:40:58 -07:00
Paul Gilbert d4ec8c5815 CREATE_ENGINE: Add new -events option for events-based project
This gives an option for creating a project where the event
handling is centralized in a single processing loop, and is
then dispatched to 'views' that contain the game logic.
Like the original skeleton engine, the created events-based
engine contains a single default view showing a palette cycle.
2023-06-08 20:16:36 -07:00