Tidy up some code and patterns

This commit is contained in:
Willy-JL
2023-10-21 04:36:38 +01:00
parent 8fe0650bed
commit 9d3e347f35
13 changed files with 183 additions and 187 deletions

View File

@@ -26,5 +26,5 @@ const SceneManagerHandlers scene_handlers = {
.on_enter_handlers = scene_on_enter_handlers,
.on_event_handlers = scene_on_event_handlers,
.on_exit_handlers = scene_on_exit_handlers,
.scene_num = SceneCount,
.scene_num = SceneCOUNT,
};

View File

@@ -6,7 +6,7 @@
#define ADD_SCENE(name, id) Scene##id,
typedef enum {
#include "_scenes.h"
SceneCount,
SceneCOUNT,
} Scene;
#undef ADD_SCENE