Files
dusk/src/scene/scene.hpp
Dominic Masters bfdc0e8462
Some checks failed
Build Dusk / build-linux (push) Failing after 1m16s
Build Dusk / build-psp (push) Failing after 1m14s
Input (first pass)
2025-12-23 17:33:46 +10:00

23 lines
500 B
C++

/**
* Copyright (c) 2025 Dominic Masters
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#pragma once
#include "Dusk.hpp"
#include "display/color.hpp"
#define SCENE_FLAG_INITIALIZED (1 << 0)
typedef struct scenedata_s scenedata_t;
typedef struct {
const char_t *name;
void (*init)(scenedata_t *data);
void (*update)(scenedata_t *data);
void (*render)(scenedata_t *data);
void (*dispose)(scenedata_t *data);
uint8_t flags;
} scene_t;