About to start parsing different ent types.
This commit is contained in:
@ -4,8 +4,6 @@
|
||||
|
||||
typedef struct _entity_t entity_t;
|
||||
|
||||
#define NPC_INTERACT_TEXTS_MAX 4
|
||||
|
||||
typedef enum {
|
||||
NPC_INTERACT_TYPE_NONE = 0,
|
||||
NPC_INTERACT_TYPE_TEXT = 1,
|
||||
@ -17,7 +15,7 @@ typedef struct {
|
||||
npcinteracttype_t interactType;
|
||||
|
||||
union {
|
||||
char_t* texts[NPC_INTERACT_TEXTS_MAX];
|
||||
char_t* text;
|
||||
};
|
||||
} npc_t;
|
||||
|
||||
|
Reference in New Issue
Block a user