WIP converting to separate states. Don't think I want this.

This commit is contained in:
2025-01-03 20:21:36 -05:00
parent 717f29fcb3
commit 4be582a7a4
7 changed files with 56 additions and 48 deletions

View File

@@ -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;