Moved the platform stuff around

This commit is contained in:
2025-10-28 07:52:05 -05:00
parent f1db7de87c
commit 358fa9a493
25 changed files with 456 additions and 46 deletions

29
src/platform/platform.h Normal file
View File

@@ -0,0 +1,29 @@
/**
* Copyright (c) 2025 Dominic Masters
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#pragma once
#include "microrpg.h"
/**
* Initialize the platform-specific subsystem.
*/
void platformInit(void);
/**
* Update the platform-specific subsystem.
*/
void platformUpdate(void);
/**
* Render the platform-specific subsystem.
*/
void platformDraw(void);
/**
* Dispose of the platform-specific subsystem.
*/
void platformDispose(void);