there is now a player character and the world renders using a cammera

This commit is contained in:
2026-04-09 13:11:55 -07:00
parent 09c310cb4a
commit af639e62c3
47 changed files with 1737 additions and 83 deletions

View File

@@ -0,0 +1,26 @@
#ifndef ENTITY_Gun_H
#define ENTITY_Gun_H
#include "../entity.h"
#include "../world.h"
#define SHOOT_N 1
#define SHOOT_E 2
#define SHOOT_S 3
#define SHOOT_W 4
typedef struct {
int projectileId;
int direction;
int fuse;
int currentFuse;
int inpact;
} Gun;
entity* CreateGun(int direction,int bullet, world* w);
int GunUpdate(int, void*);
int GunInit(void*);
int GunFree(void*);
#endif // ENTITY_Gun_H