summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h
index 83431c0..6547741 100644
--- a/src/game/g_local.h
+++ b/src/game/g_local.h
@@ -378,6 +378,8 @@ typedef struct
typedef struct
{
clientConnected_t connected;
+ qboolean isPlaceholder;
+ int control;
usercmd_t cmd; // we would lose angles if not persistant
qboolean localClient; // true if "ip" info key is "localhost"
qboolean initialSpawn; // the first spawn should be at a cool location
@@ -1160,12 +1162,15 @@ qboolean G_Flood_Limited( gentity_t *ent );
//
// g_client.c
//
-const char *ClientConnect( int clientNum, qboolean firstTime );
+const char *ClientConnect( int clientNum, qboolean firstTime, qboolean isPlaceholder );
void ClientUserinfoChanged( int clientNum, qboolean forceName );
void ClientDisconnect( int clientNum );
void ClientBegin( int clientNum );
void ClientCommand( int clientNum );
+const char *review_placeholder_client_userinfo(char *userinfo);
+void inject_placeholder_client(const char *userinfo, int slot, qboolean first_time);
+
//
// g_active.c
//
@@ -1600,3 +1605,6 @@ qboolean trap_GetEntityToken( char *buffer, int bufferSize );
void trap_SnapVector( float *v );
void trap_SendGameStat( const char *data );
+
+int trap_install_placeholder_client(const char *userinfo);
+void trap_set_client_view_entity(int cortex, int eye);