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

@@ -72,4 +72,12 @@ void renderBar(SDL_Renderer *renderer,
int maxValue, int currentValue,
SDL_Color barColor, int margin);
#endif //FACTORYGAME_UTIL_H
bool checkCollision(SDL_Rect a, SDL_Rect b);
int compareStrings(const void *a, const void *b);
bool canMoveTo(SDL_Rect newRect);
bool canMoveWithRadius(SDL_Rect centerRect);
#endif //FACTORYGAME_UTIL_H