Prepping for overworld rendering.

This commit is contained in:
2025-02-24 22:40:10 -06:00
parent 7844eb5d51
commit af598552f4
8 changed files with 84 additions and 8 deletions

View File

@@ -26,4 +26,5 @@ target_sources(${DUSK_TARGET_NAME}
# Subdirs
add_subdirectory(assert)
add_subdirectory(display)
add_subdirectory(display)
add_subdirectory(overworld)

View File

@@ -7,6 +7,7 @@
#include "assert/assertgl.h"
#include "render.h"
#include "render/scene.h"
render_t RENDER;
@@ -15,10 +16,10 @@ void renderInit() {
}
void renderUpdate() {
}
void renderOverworld() {
// Hand off to the scene to do its rendering.
sceneRender();
}
void renderDispose() {
}

View File

@@ -0,0 +1,12 @@
# Copyright (c) 2025 Dominic Masters
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
# Sources
target_sources(${DUSK_TARGET_NAME}
PRIVATE
overworld.c
)
# Subdirs

View File

@@ -0,0 +1,12 @@
/**
* Copyright (c) 2025 Dominic Masters
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#include "overworld/overworld.h"
void overworldRender() {
}