Dawn progress
This commit is contained in:
@ -8,6 +8,7 @@
|
||||
# Sources
|
||||
target_sources(${DAWN_TARGET_NAME}
|
||||
PRIVATE
|
||||
drawbattle.c
|
||||
drawstatemainmenu.c
|
||||
drawstateoverworld.c
|
||||
drawmap.c
|
||||
|
17
src/dawn/display/draw/drawbattle.c
Normal file
17
src/dawn/display/draw/drawbattle.c
Normal file
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Copyright (c) 2024 Dominic Masters
|
||||
*
|
||||
* This software is released under the MIT License.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
#include "drawbattle.h"
|
||||
#include "display/draw/drawshape.h"
|
||||
#include "display/draw/drawui.h"
|
||||
|
||||
void drawBattle() {
|
||||
drawClear(' ', COLOR_WHITE);
|
||||
|
||||
// Draw UI
|
||||
drawUITextbox();
|
||||
}
|
13
src/dawn/display/draw/drawbattle.h
Normal file
13
src/dawn/display/draw/drawbattle.h
Normal file
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Copyright (c) 2024 Dominic Masters
|
||||
*
|
||||
* This software is released under the MIT License.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
/**
|
||||
* Draws the battle state.
|
||||
*/
|
||||
void drawBattle();
|
Reference in New Issue
Block a user