Files
dusk/src/scene/scene.h
Dominic Masters 6bdb4ae30d
Some checks failed
Build Dusk / run-tests (push) Failing after 2m14s
Build Dusk / build-linux (push) Successful in 2m12s
Build Dusk / build-psp (push) Failing after 1m30s
Scene methods
2026-01-28 10:31:31 -06:00

42 lines
689 B
C

/**
* Copyright (c) 2026 Dominic Masters
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#pragma once
#include "script/scriptcontext.h"
typedef struct {
scriptcontext_t scriptContext;
} scene_t;
extern scene_t SCENE;
/**
* Initialize the scene subsystem.
*/
errorret_t sceneInit(void);
/**
* Update the current scene.
*/
void sceneUpdate(void);
/**
* Render the current scene.
*/
void sceneRender(void);
/**
* Set the current scene by script name.
*
* @param script The script name of the scene to set.
*/
errorret_t sceneSet(const char_t *script);
/**
* Dispose of the scene subsystem.
*/
void sceneDispose(void);