]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
added arg: connect-userinfo; works like this: "connect server password foobar" will...
[xonotic/darkplaces.git] / client.h
index d97801643a1876e0907d3e05c73fb1dd57b9edae..2ab8079c991786b1683073dfa8fe5fe06695b319 100644 (file)
--- a/client.h
+++ b/client.h
@@ -710,6 +710,9 @@ typedef struct client_static_s
        // password spectator name team skin topcolor bottomcolor rate noaim msg *ver *ip
        char userinfo[MAX_USERINFO_STRING];
 
+       // extra user info for the "connect" command
+       char connect_userinfo[MAX_USERINFO_STRING];
+
        // video capture stuff
        capturevideostate_t capturevideo;
 }
@@ -1334,7 +1337,7 @@ void CL_Locs_FindLocationName(char *buffer, size_t buffersize, vec3_t point);
 void CL_Shutdown (void);
 void CL_Init (void);
 
-void CL_EstablishConnection(const char *host);
+void CL_EstablishConnection(const char *host, int firstarg);
 
 void CL_Disconnect (void);
 void CL_Disconnect_f (void);