shared struct and enum definitions file (maybe not the best idea)
This commit is contained in:
@@ -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;
|
||||
};
|
||||
Reference in New Issue
Block a user