shared struct and enum definitions file (maybe not the best idea)

This commit is contained in:
Tobin
2026-04-27 14:34:47 -04:00
parent 6e54eee066
commit 936cd30cac
3 changed files with 40 additions and 18 deletions
+25
View File
@@ -0,0 +1,25 @@
enum textures /* or call this skin? */
{
VOID_CAT
};
struct entity
{
int is_player;
int is_static;
int in_freefall;
float x;
float y;
int width; /**/
int height; /**/
unsigned char r; /* replace this with sprite TODO */
unsigned char g; /**/
unsigned char b; /**/
float vx;
float vy;
float ax;
float ay;
enum textures texture; /* or skin? */
struct entity* next;
};