Creating generic term renderer.

This commit is contained in:
2025-10-28 16:48:35 -05:00
parent 358fa9a493
commit b6aab03370
27 changed files with 770 additions and 155 deletions

View File

@@ -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.