diff --git a/include/appTypes.h b/include/appTypes.h index 2ba3c95..1b8a844 100644 --- a/include/appTypes.h +++ b/include/appTypes.h @@ -203,6 +203,13 @@ typedef struct { GameState game; } App; +#define MAX_PROJECTILES 10 +typedef struct { + Physics physics[MAX_PROJECTILES]; + bool active[MAX_PROJECTILES]; + float radius[MAX_PROJECTILES]; +} Projectile; + //FUNCTIONS// void InitLogo(LogoState *l); void UpdateLogo(LogoState *l, View *currentView, bool *running); diff --git a/src/appGameShoot.c b/src/appGameShoot.c new file mode 100644 index 0000000..ff8ae30 --- /dev/null +++ b/src/appGameShoot.c @@ -0,0 +1,3 @@ +#include "appTypes.h" + +