Nuke error.hpp
This commit is contained in:
@@ -22,9 +22,9 @@ extern ui_t UI;
|
||||
/**
|
||||
* Initializes the UI system, loading necessary resources.
|
||||
*
|
||||
* @return An errorret_t indicating success or failure.
|
||||
* @throws Any exceptions if initialization fails.
|
||||
*/
|
||||
errorret_t uiInit(void);
|
||||
void uiInit(void);
|
||||
|
||||
/**
|
||||
* Updates the UI state, handling user interactions and animations.
|
||||
@@ -40,10 +40,9 @@ void uiRender(void);
|
||||
* Sets the font tileset for UI text rendering.
|
||||
*
|
||||
* @param fontTileset Pointer to the tileset to use for UI fonts.
|
||||
*
|
||||
* @return An errorret_t indicating success or failure.
|
||||
* @throws Any exceptions if setting the font fails.
|
||||
*/
|
||||
errorret_t uiSetFont(const tileset_t *fontTileset);
|
||||
void uiSetFont(const tileset_t *fontTileset);
|
||||
|
||||
/**
|
||||
* Cleans up and frees all UI resources.
|
||||
|
||||
Reference in New Issue
Block a user