Nuke error.hpp
Some checks failed
Build Dusk / build-linux (push) Failing after 2m7s
Build Dusk / build-psp (push) Failing after 2m19s

This commit is contained in:
2025-12-22 14:19:07 +10:00
parent 76b5c51ab6
commit 2e0f5f302b
49 changed files with 418 additions and 708 deletions

View File

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