This commit is contained in:
2025-06-11 15:42:06 +02:00
parent 39c31f0042
commit 78bccd6c6f
30 changed files with 67 additions and 21 deletions

View File

@@ -44,6 +44,19 @@ typedef struct Animation {
} Animation;
typedef struct MiniRect {
int x;
int y;
} MiniRect;
typedef struct WaveInfo {
int waveCounter;
int waveTimer;
} WaveInfo;
extern WaveInfo waveInfo;
typedef struct OrientedAnimation {
SDL_Rect atlasRects[ORIENT_DIRECTION_COUNT][TILE_SIZE * 2];
unsigned char frameCount;