summaryrefslogtreecommitdiff
path: root/src/game/g_session.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2002-09-09 23:32:27 +0000
committerTim Angus <tim@ngus.net>2002-09-09 23:32:27 +0000
commitc0e95997d9e9fcaa220704c8c67b50d6761d1b66 (patch)
tree307242d290de1715df0f4f28dd7e08ccb7006f5c /src/game/g_session.c
parent9af7c524043a8f296ea5f45ec7f73c16e29921b5 (diff)
* General tidy up and beautification of code
* Removal of most of the legacy Q3A stuff * Cursor no longer displayed on load screen * (Biggest commit EVAR?)
Diffstat (limited to 'src/game/g_session.c')
-rw-r--r--src/game/g_session.c18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/game/g_session.c b/src/game/g_session.c
index 0ac65709..7f44d5b0 100644
--- a/src/game/g_session.c
+++ b/src/game/g_session.c
@@ -34,11 +34,12 @@ G_WriteClientSessionData
Called on game shutdown
================
*/
-void G_WriteClientSessionData( gclient_t *client ) {
+void G_WriteClientSessionData( gclient_t *client )
+{
const char *s;
const char *var;
- s = va("%i %i %i %i %i %i %i",
+ s = va( "%i %i %i %i %i %i %i",
client->sess.sessionTeam,
client->sess.spectatorTime,
client->sess.spectatorState,
@@ -60,8 +61,9 @@ G_ReadSessionData
Called on a reconnect
================
*/
-void G_ReadSessionData( gclient_t *client ) {
- char s[MAX_STRING_CHARS];
+void G_ReadSessionData( gclient_t *client )
+{
+ char s[ MAX_STRING_CHARS ];
const char *var;
// bk001205 - format
@@ -96,9 +98,10 @@ G_InitSessionData
Called on a first-time connect
================
*/
-void G_InitSessionData( gclient_t *client, char *userinfo ) {
+void G_InitSessionData( gclient_t *client, char *userinfo )
+{
clientSession_t *sess;
- const char *value;
+ const char *value;
sess = &client->sess;
@@ -131,7 +134,8 @@ G_WriteSessionData
==================
*/
-void G_WriteSessionData( void ) {
+void G_WriteSessionData( void )
+{
int i;
//TA: ?