Rename client_state_t to sv_client_state_t;

client_state_t cls ---> client_static_t cls;
This commit is contained in:
Anton E. Gavrilov 2000-06-09 18:47:12 +00:00
parent 1139c87959
commit 39b83b626b
2 changed files with 4 additions and 5 deletions

View file

@ -120,7 +120,7 @@ typedef enum
// connection for a couple seconds // connection for a couple seconds
cs_connected, // has been assigned to a client_t, but not in game yet cs_connected, // has been assigned to a client_t, but not in game yet
cs_spawned // client is fully in game cs_spawned // client is fully in game
} client_state_t; } sv_client_state_t;
typedef struct typedef struct
{ {
@ -136,7 +136,7 @@ typedef struct
typedef struct client_s typedef struct client_s
{ {
client_state_t state; sv_client_state_t state;
int spectator; // non-interactive int spectator; // non-interactive
@ -268,8 +268,6 @@ typedef struct
challenge_t challenges[MAX_CHALLENGES]; // to prevent invalid IPs from connecting challenge_t challenges[MAX_CHALLENGES]; // to prevent invalid IPs from connecting
} server_static_t; } server_static_t;
extern client_state_t cls;
//============================================================================= //=============================================================================
// edict->movetype values // edict->movetype values

View file

@ -29,6 +29,7 @@
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
# include <config.h> # include <config.h>
#endif #endif
#include "client.h"
#include "server.h" #include "server.h"
#include "crc.h" #include "crc.h"
#include "msg.h" #include "msg.h"
@ -38,7 +39,7 @@
#include "sys.h" #include "sys.h"
#include "pmove.h" #include "pmove.h"
client_state_t cls; client_static_t cls;
void void
Draw_BeginDisc(void) Draw_BeginDisc(void)