- Animacio, orientacio, bot, ordre (encara hi ha bugs)...

This commit is contained in:
2023-03-07 18:55:39 +01:00
parent b919577ce7
commit f21e77b7fa
4 changed files with 141 additions and 39 deletions

View File

@@ -9,6 +9,7 @@
#define FLAG_ANIMATED 16
#define FLAG_ORIENTABLE 32
#define FLAG_DEADLY 64
#define FLAG_GRAVITY 128
#define PUSH_NONE 0
#define PUSH_XP 1
@@ -42,6 +43,9 @@ namespace actor
vec3_t pos;
vec3_t size;
uint8_t orient;
uint8_t anim_cycle;
uint8_t flags;
uint8_t push;
@@ -51,6 +55,9 @@ namespace actor
uint8_t movement;
uint8_t mov_push;
actor_t *below;
actor_t *above;
actor_t *prev;
actor_t *next;
};