refactor: appTypes.c to app.h

This commit is contained in:
2025-12-12 20:58:53 +01:00
parent 1aa2f7897d
commit c064e80be2
16 changed files with 36 additions and 22 deletions
+18
View File
@@ -153,10 +153,28 @@ typedef enum
ENEMIES_TEX_COUNT
} enemiesTextureID;
typedef enum
{
START,
SHIP_COUNT
} shipID;
typedef struct
{
int id;
char* assetPath;
int frameSize;
int speed0;
int speed1;
int speed2;
int rotationSpeed;
}Ship;
#define MAX_ENEMIES 100
typedef struct
{
Config config;
int count;
Sprite sprite[MAX_ENEMIES];
Animation animation[MAX_ENEMIES];