something

This commit is contained in:
2025-04-24 20:04:41 +02:00
parent 8fd5f1cf1e
commit 451e80f750
23 changed files with 565 additions and 161 deletions

16
player/player.h Normal file
View File

@@ -0,0 +1,16 @@
//
// Created by bruno on 4/24/25.
//
#ifndef FACTORYGAME_PLAYER_H
#define FACTORYGAME_PLAYER_H
extern int playerX;
extern int playerY;
bool isInbounds(int x, int y);
bool isInboundsRect(SDL_Rect rect);
bool isInboundsTile(int x, int y);
void adjustRect(SDL_Rect * rect);
#endif //FACTORYGAME_PLAYER_H