feat: add shooting
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
#include "appTypes.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user