diff options
author | /dev/humancontroller <devhc@example.com> | 2017-04-15 00:16:35 +0200 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-04-15 17:29:37 +0200 |
commit | 259c996ebe14cdb52e4a47149ce6c33dbeffa4d3 (patch) | |
tree | 9821fb451b7a7fc280a5446b479c5b8b756fab38 /src/game/g_admin.h | |
parent | 91c463d4bfe3e57330e5fbce63c98eb22d5b208e (diff) |
implement Schachtmeister v2
Diffstat (limited to 'src/game/g_admin.h')
-rw-r--r-- | src/game/g_admin.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/game/g_admin.h b/src/game/g_admin.h index 93458b6..b6ed952 100644 --- a/src/game/g_admin.h +++ b/src/game/g_admin.h @@ -168,6 +168,15 @@ typedef struct g_admin_command } g_admin_command_t; +typedef struct +{ + int ratingTime; + int queryTime; + int dispatchTime; + int rating; + char *comment; +} schachtmeisterJudgement_t; + typedef struct g_admin_namelog { char name[ MAX_ADMIN_NAMELOG_NAMES ][MAX_NAME_LENGTH ]; @@ -181,6 +190,7 @@ typedef struct g_admin_namelog int denyHumanWeapons; int denyAlienClasses; int specExpires; + schachtmeisterJudgement_t smj; } g_admin_namelog_t; @@ -255,6 +265,7 @@ qboolean G_admin_readconfig( gentity_t *ent, int skiparg ); qboolean G_admin_permission( gentity_t *ent, const char *flag ); qboolean G_admin_name_check( gentity_t *ent, char *name, char *err, int len ); void G_admin_namelog_update( gclient_t *ent, qboolean disconnect ); +void G_admin_IPA_judgement( const char *ipa, int rating, const char *comment ); void G_admin_maplog_result( char *flag ); int G_admin_level( gentity_t *ent ); void G_admin_set_adminname( gentity_t *ent ); @@ -269,6 +280,7 @@ void G_admin_chat_update( gentity_t *ent, int chan ); qboolean G_admin_time( gentity_t *ent, int skiparg ); qboolean G_admin_setlevel( gentity_t *ent, int skiparg ); qboolean G_admin_setdevmode( gentity_t *ent, int skiparg ); +qboolean G_admin_sm( gentity_t *ent, int skiparg ); qboolean G_admin_kick( gentity_t *ent, int skiparg ); qboolean G_admin_adjustban( gentity_t *ent, int skiparg ); qboolean G_admin_subnetban( gentity_t *ent, int skiparg ); @@ -361,4 +373,6 @@ void G_admin_namelog_cleanup( void ); void G_admin_report_check( int clientNum ); +void G_admin_schachtmeisterFrame( void ); + #endif /* ifndef _G_ADMIN_H */ |