WIP converting to separate states. Don't think I want this.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
#define ACTOR_STATE_MOVING_RIGHT 1 << 8 // 256
|
||||
#define ACTOR_STATE_MOVING_UP 1 << 9 // 512
|
||||
#define ACTOR_STATE_MOVING_DOWN 1 << 10 // 1024
|
||||
#define ACTOR_STATE_UNDEFINED_11 1 << 11 // 2048
|
||||
#define ACTOR_STATE_MOVING 1 << 11 // 2048
|
||||
#define ACTOR_STATE_UNDEFINED_12 1 << 12 // 4096
|
||||
#define ACTOR_STATE_UNDEFINED_13 1 << 13 // 8192
|
||||
#define ACTOR_STATE_UNDEFINED_14 1 << 14 // 16384
|
||||
@@ -54,7 +54,8 @@ typedef struct actor {
|
||||
int layer;
|
||||
b2BodyId physicsId;
|
||||
b2Polygon physicsBox;
|
||||
int state;
|
||||
int logicstate;
|
||||
int visualstate;
|
||||
bool movement_controls_face;
|
||||
void *actorData;
|
||||
bool visible;
|
||||
|
||||
Reference in New Issue
Block a user