feat/refactor: player health and overlay display

This commit is contained in:
2026-07-05 20:17:06 +02:00
parent a4289a21aa
commit cc42a45f68
5 changed files with 27 additions and 10 deletions
+2 -6
View File
@@ -93,13 +93,9 @@ void RenderGame(App *app) {
BeginMode2D(*camera);
RenderComponents(app);
EndMode2D();
DrawTextureRec(
g->mouse.cursorTexture,
(Rectangle){0, 0, g->mouse.cursorTexture.width,
g->mouse.cursorTexture.height},
(Vector2){g->mouse.screenPosition.x, g->mouse.screenPosition.y}, WHITE);
RenderOverlay(&g->mouse);
EndTextureMode();
BeginDrawing();
ClearBackground(BLACK);
for (int i = 0; i < SHADER_COUNT; i++) {