26 lines
387 B
C
26 lines
387 B
C
|
|
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;
|
|
};
|