Prepping for overworld rendering.
This commit is contained in:
@@ -26,4 +26,5 @@ target_sources(${DUSK_TARGET_NAME}
|
||||
|
||||
# Subdirs
|
||||
add_subdirectory(assert)
|
||||
add_subdirectory(display)
|
||||
add_subdirectory(display)
|
||||
add_subdirectory(overworld)
|
@@ -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() {
|
||||
|
||||
}
|
12
src/duskgl/overworld/CMakeLists.txt
Normal file
12
src/duskgl/overworld/CMakeLists.txt
Normal 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
|
12
src/duskgl/overworld/overworld.c
Normal file
12
src/duskgl/overworld/overworld.c
Normal 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() {
|
||||
|
||||
}
|
Reference in New Issue
Block a user