/** * Copyright (c) 2025 Dominic Masters * * This software is released under the MIT License. * https://opensource.org/licenses/MIT */ #pragma once #include "dusk.h" #include "error/error.h" #define SCENE_FLAG_VISIBLE (1 << 0) #define SCENE_FLAG_ACTIVE (1 << 1) typedef struct { errorret_t (*init)(void); void (*update)(void); void (*render)(void); void (*dispose)(void); void (*active)(void); void (*sleep)(void); uint8_t flags; } scene_t;