32 lines
582 B
C
32 lines
582 B
C
/**
|
|
* Copyright (c) 2025 Dominic Masters
|
|
*
|
|
* This software is released under the MIT License.
|
|
* https://opensource.org/licenses/MIT
|
|
*/
|
|
|
|
#pragma once
|
|
#include "display/scene.h"
|
|
|
|
typedef struct {
|
|
void (*init)(void);
|
|
void (*draw)(void);
|
|
void (*dispose)(void);
|
|
} renderscenecallback_t;
|
|
|
|
extern renderscenecallback_t RENDER_SCENE_CALLBACKS[SCENE_COUNT];
|
|
|
|
/**
|
|
* Initializes the render scene module.
|
|
*/
|
|
void renderSceneInit(void);
|
|
|
|
/**
|
|
* Draws the current scene.
|
|
*/
|
|
void renderSceneDraw(void);
|
|
|
|
/**
|
|
* Disposes of the render scene module.
|
|
*/
|
|
void renderSceneDispose(void); |