Creating generic term renderer.
This commit is contained in:
@@ -8,15 +8,23 @@
|
||||
#pragma once
|
||||
#include "microrpg.h"
|
||||
|
||||
#define PLATFORM_OK 0
|
||||
#define PLATFORM_EXIT 1
|
||||
#define PLATFORM_ERROR 2
|
||||
|
||||
/**
|
||||
* Initialize the platform-specific subsystem.
|
||||
*
|
||||
* @return 0 on success, non-zero on failure.
|
||||
*/
|
||||
void platformInit(void);
|
||||
uint8_t platformInit(void);
|
||||
|
||||
/**
|
||||
* Update the platform-specific subsystem.
|
||||
*
|
||||
* @return 0 to continue, 1 to exit, anything else for error.
|
||||
*/
|
||||
void platformUpdate(void);
|
||||
uint8_t platformUpdate(void);
|
||||
|
||||
/**
|
||||
* Render the platform-specific subsystem.
|
||||
|
||||
Reference in New Issue
Block a user