X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=server.h;h=503d1b146aac2320fea96c8f8bfeebda599d5bad;hb=81bee98bb3ed6ab21c5bc2a1604311faff5b6e14;hp=283f1660dcf82d4e6449a9b77136816814d9b994;hpb=7c656ac03a03a5fa910f9cad3c4735ed62f7ab69;p=xonotic%2Fdarkplaces.git diff --git a/server.h b/server.h index 283f1660..503d1b14 100644 --- a/server.h +++ b/server.h @@ -179,9 +179,6 @@ typedef struct csqcentityframedb_s int sendflags[NUM_CSQCENTITIES_PER_FRAME]; } csqcentityframedb_t; -// if defined this does ping smoothing, otherwise it does not -//#define NUM_PING_TIMES 16 - #define NUM_SPAWN_PARMS 16 typedef struct client_s @@ -225,11 +222,6 @@ typedef struct client_s /// PRVM_EDICT_NUM(clientnum+1) prvm_edict_t *edict; -#ifdef NUM_PING_TIMES - float ping_times[NUM_PING_TIMES]; - /// ping_times[num_pings%NUM_PING_TIMES] - int num_pings; -#endif /// LadyHavoc: can be used for prediction or whatever... float ping; @@ -515,7 +507,7 @@ void SV_Init (void); double SV_Frame(double time); void SV_Shutdown(void); -int SV_IsLocalGame(void); +int SV_IsLocalServer(void); void SV_StartParticle (vec3_t org, vec3_t dir, int color, int count); void SV_StartEffect (vec3_t org, int modelindex, int startframe, int framecount, int framerate); @@ -605,7 +597,6 @@ void VM_SV_MoveToGoal(prvm_prog_t *prog); void SV_ApplyClientMove (void); void SV_SaveSpawnparms (void); -qbool SV_IsLocalServer(void); void SV_SpawnServer (const char *map); void SV_CheckVelocity (prvm_edict_t *ent);