Moved the platform stuff around
This commit is contained in:
29
src/platform/platform.h
Normal file
29
src/platform/platform.h
Normal 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);
|
||||
Reference in New Issue
Block a user