More client.h cleanup.

This commit is contained in:
Bill Currie 2012-06-26 15:03:04 +09:00
parent 56f68cf119
commit 6e5bc62f78
3 changed files with 34 additions and 42 deletions

View file

@ -42,8 +42,7 @@
#include "protocol.h"
typedef struct usercmd_s
{
typedef struct usercmd_s {
vec3_t viewangles;
// intended velocities
@ -52,8 +51,7 @@ typedef struct usercmd_s
float upmove;
} usercmd_t;
typedef struct
{
typedef struct {
struct info_s *info;
struct info_key_s *name;
float entertime;
@ -73,16 +71,14 @@ typedef enum {
so_active,
} signon_t;
#define MAX_DEMOS 8
#define MAX_DEMONAME 16
#define MAX_MAPSTRING 2048
typedef enum {
ca_dedicated, // a dedicated server with no ability to start a client
ca_disconnected, // full screen console with no connection
ca_connected, // valid netcon, talking to a server
ca_active, // fully connected
ca_connected, // talking to a server
ca_active, // everything is in, so frames can be rendered
} cactive_t;
typedef enum {