diff options
author | kai <kai@zittrig.eu> | 2020-03-31 11:13:50 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2020-04-01 16:58:11 +0200 |
commit | da117c6051f2806627e5d0a621936465b70d9a54 (patch) | |
tree | 0523e7429b98cf94b298d763d680f97b677e5990 /src/game/g_admin.h | |
parent | 651f793a9af60bd0662c509310f1cc50e424b1f0 (diff) |
g_admin_schachtscovid
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; |