- [FIX] Ja se pot amagar i mostrar el cursor.

- [FIX] Arreglat error al carregar arxius zero_terminated.
- [ONGOING] Un poc de treball en shaders més avançats.
This commit is contained in:
2025-07-01 19:18:03 +02:00
parent 8cc347f639
commit b403dbad52
6 changed files with 169 additions and 5 deletions

View File

@@ -276,6 +276,18 @@ namespace draw
shader_enabled ? disableShader() : enableShader();
}
void hideCursor()
{
screen_cursor = false;
SDL_HideCursor();
}
void showCursor()
{
screen_cursor = true;
SDL_ShowCursor();
}
// Crea una superficie i torna un punter a ella
surface *createSurface(const uint16_t w, const uint16_t h)
{