- Augmentat el nom dels actor a 16 caràcters

- Augmentat els flags dels actors a 16 bits
- Afegit flag NOEDITOR per a ocultar les portes del editor
- Per ara eixim amb ESC, mes fàcil
This commit is contained in:
2023-09-21 07:58:34 +02:00
parent ea10524b10
commit 2f1ae09676
4 changed files with 17 additions and 11 deletions

View File

@@ -12,6 +12,7 @@
#define FLAG_ORIENTABLE 32
#define FLAG_DEADLY 64
#define FLAG_GRAVITY 128
#define FLAG_NOEDITOR 256
#define PUSH_NONE 0
#define PUSH_XP 1
@@ -34,7 +35,7 @@ namespace actor
{
struct actor_t
{
char name[8];
char name[16];
draw::surface *surface;
SDL_Rect bmp_rect;
SDL_Point bmp_offset;
@@ -48,7 +49,7 @@ namespace actor
uint8_t anim_wait;
uint8_t anim_wait_count;
uint8_t flags;
uint16_t flags;
uint8_t push;
uint8_t react_mask;