QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
server.h File Reference
This graph shows which files directly or indirectly include this file:

Data Structures

struct  client_s
 
struct  server_static_t
 
struct  server_t
 

Macros

#define DAMAGE_AIM   2
 
#define DAMAGE_NO   0
 
#define DAMAGE_YES   1
 
#define DEAD_DEAD   2
 
#define DEAD_DYING   1
 
#define DEAD_NO   0
 
#define EF_BRIGHTFIELD   1
 
#define EF_BRIGHTLIGHT   4
 
#define EF_DIMLIGHT   8
 
#define EF_MUZZLEFLASH   2
 
#define FL_CLIENT   8
 
#define FL_CONVEYOR   4
 
#define FL_FINALIZED   8192
 
#define FL_FINDABLE_NONSOLID   16384
 
#define FL_FLY   1
 
#define FL_GODMODE   64
 
#define FL_INWATER   16
 
#define FL_ITEM   256
 
#define FL_JUMPRELEASED   4096
 
#define FL_MONSTER   32
 
#define FL_NOTARGET   128
 
#define FL_ONGROUND   512
 
#define FL_PARTIALGROUND   1024
 
#define FL_SWIM   2
 
#define FL_WATERJUMP   2048
 
#define MOVETYPE_ANGLECLIP   2
 
#define MOVETYPE_ANGLENOCLIP   1
 
#define MOVETYPE_BOUNCE   10
 
#define MOVETYPE_FLY   5
 
#define MOVETYPE_FLYMISSILE   9
 
#define MOVETYPE_NOCLIP   8
 
#define MOVETYPE_NONE   0
 
#define MOVETYPE_PUSH   7
 
#define MOVETYPE_STEP   4
 
#define MOVETYPE_TOSS   6
 
#define MOVETYPE_WALK   3
 
#define NUM_PING_TIMES   16
 
#define NUM_SPAWN_PARMS   16
 
#define SOLID_BBOX   2
 
#define SOLID_BSP   4
 
#define SOLID_NOT   0
 
#define SOLID_SLIDEBOX   3
 
#define SOLID_TRIGGER   1
 
#define SPAWNFLAG_NOT_DEATHMATCH   2048
 
#define SPAWNFLAG_NOT_EASY   256
 
#define SPAWNFLAG_NOT_HARD   1024
 
#define SPAWNFLAG_NOT_MEDIUM   512
 
#define STOP_EPSILON   0.1
 
#define TL_ANY_SOLID   0
 
#define TL_BSP_ONLY   1
 
#define TL_EVERYTHING   4
 
#define TL_TRIGGERS   3
 

Typedefs

typedef struct client_s client_t
 

Enumerations

enum  server_state_t {
  ss_loading, ss_active, ss_dead, ss_loading,
  ss_active
}
 

Functions

void Cvar_Info (struct cvar_s *var)
 
void SV_AddClientToServer (struct qsocket_s *ret)
 
void SV_AddGravity (edict_t *ent)
 
void SV_AddUpdates (void)
 
void SV_BroadcastPrintf (const char *fmt,...)
 
qboolean SV_CheckBottom (edict_t *ent)
 
void SV_CheckForNewClients (void)
 
void SV_CheckVelocity (edict_t *ent)
 
void SV_ClearDatagram (void)
 
void SV_ClientPrintf (const char *fmt,...)
 
void SV_ClientThink (void)
 
void SV_DropClient (qboolean crash)
 
int SV_EntCanSupportJump (edict_t *ent)
 
void SV_FinishGravity (edict_t *ent, vec3_t move)
 
int SV_FlyMove (edict_t *ent, float time, struct trace_s *steptrace)
 
void SV_Init (void)
 
void SV_LoadProgs (void)
 
int SV_ModelIndex (const char *name)
 
qboolean SV_movestep (edict_t *ent, const vec3_t move, qboolean relink)
 
void SV_MoveToGoal (progs_t *pr)
 
void SV_Physics (void)
 
void SV_Physics_Client (edict_t *ent, int num)
 
void SV_Physics_Toss (edict_t *ent)
 
void SV_PR_Cmds_Init (void)
 
void SV_Progs_Init (void)
 
void SV_Progs_Init_Cvars (void)
 
void SV_ProgStartFrame (void)
 
struct trace_s SV_PushEntity (edict_t *ent, vec3_t push)
 
void SV_RunClients (void)
 
void SV_RunNewmis (void)
 
qboolean SV_RunThink (edict_t *ent)
 
void SV_SaveSpawnparms (void)
 
void SV_SendClientMessages (void)
 
void SV_SetIdealPitch (void)
 
void SV_SpawnServer (const char *server)
 
void SV_StartParticle (const vec3_t org, const vec3_t dir, int color, int count)
 
void SV_StartSound (edict_t *entity, int channel, const char *sample, int volume, float attenuation)
 
void SV_WriteClientdataToMessage (edict_t *ent, sizebuf_t *msg)
 

Variables

struct cvar_scoop
 
struct cvar_sdeathmatch
 
struct cvar_sfraglimit
 
jmp_buf host_abortserver
 
client_thost_client
 
double host_time
 
struct cvar_smax_edicts
 
struct clip_hull_spf_hull_list []
 
struct cvar_sskill
 
server_t sv
 
struct cvar_ssv_accelerate
 
struct cvar_ssv_aim
 
struct cvar_ssv_edgefriction
 
double sv_frametime
 
struct cvar_ssv_friction
 
struct cvar_ssv_gravity
 
struct cvar_ssv_idealpitchscale
 
struct cvar_ssv_jump_any
 
struct cvar_ssv_maxspeed
 
struct cvar_ssv_maxvelocity
 
struct cvar_ssv_nostep
 
edict_tsv_player
 
progs_t sv_pr_state
 
struct cvar_ssv_rollangle
 
struct cvar_ssv_rollspeed
 
struct cvar_ssv_stopspeed
 
server_static_t svs
 
struct cvar_steamplay
 
struct cvar_stimelimit
 

Macro Definition Documentation

#define DAMAGE_AIM   2
#define DAMAGE_NO   0
#define DAMAGE_YES   1
#define DEAD_DEAD   2
#define DEAD_DYING   1
#define DEAD_NO   0
#define EF_BRIGHTFIELD   1
#define EF_BRIGHTLIGHT   4
#define EF_DIMLIGHT   8
#define EF_MUZZLEFLASH   2
#define FL_CLIENT   8
#define FL_CONVEYOR   4
#define FL_FINALIZED   8192
#define FL_FINDABLE_NONSOLID   16384
#define FL_FLY   1
#define FL_GODMODE   64
#define FL_INWATER   16
#define FL_ITEM   256
#define FL_JUMPRELEASED   4096
#define FL_MONSTER   32
#define FL_NOTARGET   128
#define FL_ONGROUND   512
#define FL_PARTIALGROUND   1024
#define FL_SWIM   2
#define FL_WATERJUMP   2048
#define MOVETYPE_ANGLECLIP   2
#define MOVETYPE_ANGLENOCLIP   1
#define MOVETYPE_BOUNCE   10
#define MOVETYPE_FLY   5
#define MOVETYPE_FLYMISSILE   9
#define MOVETYPE_NOCLIP   8
#define MOVETYPE_NONE   0
#define MOVETYPE_PUSH   7
#define MOVETYPE_STEP   4
#define MOVETYPE_TOSS   6
#define MOVETYPE_WALK   3
#define NUM_PING_TIMES   16
#define NUM_SPAWN_PARMS   16
#define SOLID_BBOX   2
#define SOLID_BSP   4
#define SOLID_NOT   0
#define SOLID_SLIDEBOX   3
#define SOLID_TRIGGER   1
#define SPAWNFLAG_NOT_DEATHMATCH   2048
#define SPAWNFLAG_NOT_EASY   256
#define SPAWNFLAG_NOT_HARD   1024
#define SPAWNFLAG_NOT_MEDIUM   512
#define STOP_EPSILON   0.1
#define TL_ANY_SOLID   0
#define TL_BSP_ONLY   1
#define TL_EVERYTHING   4
#define TL_TRIGGERS   3

Typedef Documentation

typedef struct client_s client_t

Enumeration Type Documentation

Enumerator
ss_loading 
ss_active 
ss_dead 
ss_loading 
ss_active 

Function Documentation

void Cvar_Info ( struct cvar_s var)
void SV_AddClientToServer ( struct qsocket_s ret)
void SV_AddGravity ( edict_t ent)
void SV_AddUpdates ( void  )
void SV_BroadcastPrintf ( const char *  fmt,
  ... 
)
qboolean SV_CheckBottom ( edict_t ent)
void SV_CheckForNewClients ( void  )
void SV_CheckVelocity ( edict_t ent)
void SV_ClearDatagram ( void  )
void SV_ClientPrintf ( const char *  fmt,
  ... 
)
void SV_ClientThink ( void  )
void SV_DropClient ( qboolean  crash)
int SV_EntCanSupportJump ( edict_t ent)
void SV_FinishGravity ( edict_t ent,
vec3_t  move 
)
int SV_FlyMove ( edict_t ent,
float  time,
struct trace_s steptrace 
)
void SV_Init ( void  )
void SV_LoadProgs ( void  )
int SV_ModelIndex ( const char *  name)
qboolean SV_movestep ( edict_t ent,
const vec3_t  move,
qboolean  relink 
)
void SV_MoveToGoal ( progs_t pr)
void SV_Physics ( void  )
void SV_Physics_Client ( edict_t ent,
int  num 
)
void SV_Physics_Toss ( edict_t ent)
void SV_PR_Cmds_Init ( void  )
void SV_Progs_Init ( void  )
void SV_Progs_Init_Cvars ( void  )
void SV_ProgStartFrame ( void  )
struct trace_s SV_PushEntity ( edict_t ent,
vec3_t  push 
)
void SV_RunClients ( void  )
void SV_RunNewmis ( void  )
qboolean SV_RunThink ( edict_t ent)
void SV_SaveSpawnparms ( void  )
void SV_SendClientMessages ( void  )
void SV_SetIdealPitch ( void  )
void SV_SpawnServer ( const char *  server)
void SV_StartParticle ( const vec3_t  org,
const vec3_t  dir,
int  color,
int  count 
)
void SV_StartSound ( edict_t entity,
int  channel,
const char *  sample,
int  volume,
float  attenuation 
)
void SV_WriteClientdataToMessage ( edict_t ent,
sizebuf_t msg 
)

Variable Documentation

struct cvar_s* coop
struct cvar_s* deathmatch
struct cvar_s* fraglimit
jmp_buf host_abortserver
client_t* host_client
double host_time
struct cvar_s* max_edicts
struct clip_hull_s* pf_hull_list[]
struct cvar_s* skill
struct cvar_s* sv_accelerate
struct cvar_s* sv_aim
struct cvar_s* sv_edgefriction
double sv_frametime
struct cvar_s * sv_friction
struct cvar_s* sv_gravity
struct cvar_s* sv_idealpitchscale
struct cvar_s* sv_jump_any
struct cvar_s* sv_maxspeed
struct cvar_s* sv_maxvelocity
struct cvar_s* sv_nostep
edict_t* sv_player
progs_t sv_pr_state
struct cvar_s* sv_rollangle
struct cvar_s* sv_rollspeed
struct cvar_s * sv_stopspeed
struct cvar_s* teamplay
struct cvar_s* timelimit