diff options
Diffstat (limited to 'src/game/g_admin.h')
-rw-r--r-- | src/game/g_admin.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game/g_admin.h b/src/game/g_admin.h index 230d662..9532477 100644 --- a/src/game/g_admin.h +++ b/src/game/g_admin.h @@ -84,6 +84,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define ADMF_TEAMCHAT_CMD "TEAMCHATCMD" #define ADMF_ACTIVITY "ACTIVITY" +#define ADMF_SCHACHT "SCHACHT" + #define ADMF_IMMUTABLE "IMMUTABLE" #define ADMF_INCOGNITO "INCOGNITO" #define ADMF_SEESINCOGNITO "SEESINCOGNITO" @@ -117,6 +119,14 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA // member of a struct at init time. flag has been converted to char* typedef struct { + char *keyword; // the cmd + char *schacht; // the shitpost + char *sound; // optional sound played +} +g_admin_schachts_t; + +typedef struct +{ char *keyword; qboolean ( * handler ) ( gentity_t *ent, int skiparg ); char *flag; |