Even more conversion, lots of superfluous macro removal
This commit is contained in:
+10
-10
@@ -31,7 +31,7 @@ typedef struct
|
||||
int maxclientslimit;
|
||||
struct client_s *clients; // [maxclients]
|
||||
int serverflags; // episode completion information
|
||||
qboolean changelevel_issued; // cleared when at SV_SpawnServer
|
||||
bool changelevel_issued; // cleared when at SV_SpawnServer
|
||||
} server_static_t;
|
||||
|
||||
//=============================================================================
|
||||
@@ -42,10 +42,10 @@ typedef enum {ss_loading, ss_active} server_state_t;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
qboolean active; // false if only a net client
|
||||
bool active; // false if only a net client
|
||||
|
||||
qboolean paused;
|
||||
qboolean loadgame; // handle connections specially
|
||||
bool paused;
|
||||
bool loadgame; // handle connections specially
|
||||
|
||||
double time;
|
||||
|
||||
@@ -94,9 +94,9 @@ enum sendsignon_e
|
||||
|
||||
typedef struct client_s
|
||||
{
|
||||
qboolean active; // false = client is free
|
||||
qboolean spawned; // false = don't send datagrams
|
||||
qboolean dropasap; // has been told to go to another level
|
||||
bool active; // false = client is free
|
||||
bool spawned; // false = don't send datagrams
|
||||
bool dropasap; // has been told to go to another level
|
||||
enum sendsignon_e sendsignon; // only valid before spawned
|
||||
int signonidx;
|
||||
|
||||
@@ -212,7 +212,7 @@ void SV_StartSound (edict_t *entity, int channel, const char *sample, int volume
|
||||
float attenuation);
|
||||
void SV_LocalSound (client_t *client, const char *sample); // for 2021 rerelease
|
||||
|
||||
void SV_DropClient (qboolean crash);
|
||||
void SV_DropClient (bool crash);
|
||||
|
||||
void SV_SendClientMessages (void);
|
||||
void SV_ClearDatagram (void);
|
||||
@@ -232,8 +232,8 @@ void SV_BroadcastPrintf (const char *fmt, ...) FUNC_PRINTF(1,2);
|
||||
|
||||
void SV_Physics (void);
|
||||
|
||||
qboolean SV_CheckBottom (edict_t *ent);
|
||||
qboolean SV_movestep (edict_t *ent, vec3_t move, qboolean relink);
|
||||
bool SV_CheckBottom (edict_t *ent);
|
||||
bool SV_movestep (edict_t *ent, vec3_t move, bool relink);
|
||||
|
||||
void SV_WriteClientdataToMessage (edict_t *ent, sizebuf_t *msg);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user