This commit is contained in:
2025-06-08 17:22:30 +02:00
parent 64cac7578d
commit 79c8b747cd
16 changed files with 686 additions and 79 deletions

View File

@@ -18,7 +18,7 @@ extern SDL_Texture *hudTexture;
//bool isInbounds(int x, int y);
//
//bool isInboundsRect(SDL_Rect rect);
//bool isInboundsRect(SDL_Rect tileRect);
//
//bool isInboundsTile(int x, int y);
@@ -58,6 +58,7 @@ typedef struct Player{
uint8_t prevHealth;
uint8_t healthIdle;
SDL_Rect rect;
MiniRect tileRect;
} Player;
void setActivePlayerSlot(Player *plr, ItemType activeSlotIndex);