Add spawnflags and keyvalue support (untested).

This commit is contained in:
Julian
2020-03-17 13:40:09 -03:00
parent d4ddcd48d9
commit 77b35148ec
3 changed files with 47 additions and 7 deletions

View File

@@ -5,6 +5,11 @@
#ifndef MONSTER_PLUGIN_H
#define MONSTER_PLUGIN_H
typedef struct pKVD
{
char key[33];
char value[33];
};
typedef struct
{
@@ -33,6 +38,8 @@ typedef struct {
Vector angles;
float delay;
unsigned char monster;
int spawnflags;
pKVD *keyvalue;
float respawn_time;
bool need_to_respawn;
} monster_spawnpoint_t;