Setup rpg stuff

This commit is contained in:
2025-10-08 07:11:53 -05:00
parent e36256abe3
commit 46f820690d
19 changed files with 592 additions and 20 deletions

View File

@@ -22,5 +22,6 @@ static scene_t SCENE_TEST = {
.init = sceneTestInit,
.update = sceneTestUpdate,
.render = sceneTestRender,
.dispose = sceneTestDispose
.dispose = sceneTestDispose,
.flags = 0
};

View File

@@ -65,8 +65,8 @@ void sceneManagerSetScene(scene_t *scene) {
if(scene) {
assertTrue(
scene->flags & SCENE_FLAG_INITIALIZED,
"Scene not initialized"
(scene->flags & SCENE_FLAG_INITIALIZED) == 0,
"Scene should not yet be initialized"
);
}
}