prog
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#include "physics/physics.h"
|
||||
#include "rpg/world/worldunit.h"
|
||||
|
||||
#define ENTITY_FRICTION 1
|
||||
#define ENTITY_FRICTION 2
|
||||
#define ENTITY_MIN_VELOCITY 1
|
||||
#define ENTITY_COUNT 256
|
||||
|
||||
@@ -27,9 +27,10 @@ typedef enum {
|
||||
} entitytype_t;
|
||||
|
||||
typedef struct entity_s {
|
||||
uint8_t id;
|
||||
entitytype_t type;
|
||||
direction_t direction;
|
||||
worldchunkpos_t position[WORLD_DIMENSIONS];
|
||||
worldpos_t position[WORLD_DIMENSIONS];
|
||||
worldsubtile_t velocity[WORLD_DIMENSIONS];
|
||||
|
||||
union {
|
||||
|
||||
Reference in New Issue
Block a user