Dawn/src/game/sandbox/sandboxscene.h
2021-09-12 11:28:39 -07:00

48 lines
1.1 KiB
C

/**
* Copyright (c) 2021 Dominic Masters
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#pragma once
#include <dawn/dawn.h>
#include "../../display/camera.h"
#include "../../display/shader.h"
#include "../../display/font.h"
#include "../../display/primitive.h"
#include "../../display/primitives/quad.h"
#include "../../display/primitives/cube.h"
#include "../../display/renderlist.h"
#include "../../display/texture.h"
#include "../../file/asset.h"
#include "../../file/xml.h"
#include "../../ui/grid.h"
#include "../../ui/menuv2.h"
#include "../../ui/textmenu.h"
#include "../../ui/framedtextmenu.h"
/**
* Initialize the sandbox scene test game.
*
* @param game Game to initialize.
* @return True if successful, otherwise false.
*/
bool sandboxSceneInit(sandboxscene_t *game);
/**
* Update a sandbox scene.
*
* @param game Game to update.
* @param engine Engine to use when updating.
*/
void sandboxSceneUpdate(sandboxscene_t *game, engine_t *engine);
/**
* Dispose a previously created scene game.
*
* @param game Game to dispose.
*/
void sandboxSceneDispose(sandboxscene_t *game);