Moved a tonne of code around
This commit is contained in:
32
src/dawn/scene/loadingscene.c
Normal file
32
src/dawn/scene/loadingscene.c
Normal file
@ -0,0 +1,32 @@
|
||||
/**
|
||||
* Copyright (c) 2021 Dominic Masters
|
||||
*
|
||||
* This software is released under the MIT License.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
#include "loadingscene.h"
|
||||
|
||||
void loadingSceneInit(
|
||||
loadingscene_t *scene,
|
||||
assetmanager_t *assetManager
|
||||
) {
|
||||
scene->manager = assetManager;
|
||||
}
|
||||
|
||||
void loadingSceneStart(loadingscene_t *scene) {
|
||||
assetManagerStart(scene->manager);
|
||||
}
|
||||
|
||||
bool loadingSceneUpdate(loadingscene_t *scene) {
|
||||
assetManagerUpdate(scene->manager);
|
||||
return scene->manager->finished;
|
||||
}
|
||||
|
||||
void loadingSceneRender(loadingscene_t *scene) {
|
||||
|
||||
}
|
||||
|
||||
void loadingSceneDispose(loadingscene_t *scene) {
|
||||
|
||||
}
|
Reference in New Issue
Block a user