Implemented an initial cut at the event router. Its job is to take the random events from SFML and translate them into nice clean orderly events to the Gui::FSM.

This commit is contained in:
Zed A. Shaw 2025-06-04 12:19:24 -04:00
parent 5c47a0151c
commit 0674908e49
8 changed files with 184 additions and 6 deletions

View file

@ -92,6 +92,7 @@ sources = [
'config.cpp',
'dbc.cpp',
'devices.cpp',
'event_router.cpp',
'goap.cpp',
'gui/boss_fight_ui.cpp',
'gui/combat_ui.cpp',
@ -109,6 +110,7 @@ sources = [
'lights.cpp',
'map.cpp',
'matrix.cpp',
'maze.cpp',
'pathing.cpp',
'rand.cpp',
'raycaster.cpp',
@ -122,7 +124,6 @@ sources = [
'systems.cpp',
'textures.cpp',
'worldbuilder.cpp',
'maze.cpp'
]
executable('runtests', sources + [
@ -135,6 +136,7 @@ executable('runtests', sources + [
'tests/dbc.cpp',
'tests/dinkyecs.cpp',
'tests/easings.cpp',
'tests/event_router.cpp',
'tests/fsm.cpp',
'tests/levelmanager.cpp',
'tests/lighting.cpp',