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:
parent
5c47a0151c
commit
0674908e49
8 changed files with 184 additions and 6 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue