From d598dbbe64ddf6c389c8dc50cca8bf086925d7bf Mon Sep 17 00:00:00 2001 From: Molgrum Date: Sun, 14 Oct 2007 01:52:42 +0000 Subject: [PATCH] Naming standard being followed: DP_QC_BOTCLIENT -> DP_SV_BOTCLIENT git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2743 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/pr_csqc.c | 6 +++--- engine/server/pr_cmds.c | 8 ++++---- engine/server/sv_phys.c | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/engine/client/pr_csqc.c b/engine/client/pr_csqc.c index 6464ef668..498ef5c41 100644 --- a/engine/client/pr_csqc.c +++ b/engine/client/pr_csqc.c @@ -3423,10 +3423,10 @@ PF_FindFlags, // #449 entity(entity start, .entity fld, float match) findflags PF_findchainflags, // #450 entity(.float fld, float match) findchainflags (DP_QC_FINDCHAINFLAGS) PF_cs_gettagindex, // #451 float(entity ent, string tagname) gettagindex (DP_MD3_TAGSINFO) PF_cs_gettaginfo, // #452 vector(entity ent, float tagindex) gettaginfo (DP_MD3_TAGSINFO) -PF_NoCSQC, // #453 void(entity player) dropclient (DP_QC_BOTCLIENT) (don't implement) -PF_NoCSQC, // #454 entity() spawnclient (DP_QC_BOTCLIENT) (don't implement) +PF_NoCSQC, // #453 void(entity player) dropclient (DP_SV_BOTCLIENT) (don't implement) +PF_NoCSQC, // #454 entity() spawnclient (DP_SV_BOTCLIENT) (don't implement) -PF_NoCSQC, // #455 float(entity client) clienttype (DP_QC_BOTCLIENT) (don't implement) +PF_NoCSQC, // #455 float(entity client) clienttype (DP_SV_BOTCLIENT) (don't implement) PF_Fixme, // #456 PF_Fixme, // #457 PF_Fixme, // #458 diff --git a/engine/server/pr_cmds.c b/engine/server/pr_cmds.c index 2c607f0c6..7ceeed709 100644 --- a/engine/server/pr_cmds.c +++ b/engine/server/pr_cmds.c @@ -3273,7 +3273,7 @@ void PF_dropclient (progfuncs_t *prinst, struct globalvars_s *pr_globals) -//DP_QC_BOTCLIENT +//DP_SV_BOTCLIENT //entity() spawnclient = #454; void PF_spawnclient (progfuncs_t *prinst, struct globalvars_s *pr_globals) { @@ -3298,7 +3298,7 @@ void PF_spawnclient (progfuncs_t *prinst, struct globalvars_s *pr_globals) RETURN_EDICT(prinst, sv.edicts); } -//DP_QC_BOTCLIENT +//DP_SV_BOTCLIENT //float(entity client) clienttype = #455; void PF_clienttype (progfuncs_t *prinst, struct globalvars_s *pr_globals) { @@ -6356,7 +6356,7 @@ lh_extension_t QSG_Extensions[] = { {"DP_MONSTERWALK"}, {"DP_MOVETYPEBOUNCEMISSILE"}, //I added the code for hexen2 support. {"DP_MOVETYPEFOLLOW"}, - {"DP_QC_BOTCLIENT", 2, NULL, {"spawnclient", "clienttype"}}, + {"DP_SV_BOTCLIENT", 2, NULL, {"spawnclient", "clienttype"}}, {"DP_QC_CHANGEPITCH", 1, NULL, {"changepitch"}}, {"DP_QC_COPYENTITY", 1, NULL, {"copyentity"}}, {"DP_QC_CVAR_STRING", 1, NULL, {"dp_cvar_string"}}, //448 builtin. @@ -9778,7 +9778,7 @@ BuiltinList_t BuiltinList[] = { //nq qw h2 ebfs //DP_MD3_TAGSINFO {"gettagindex", PF_gettagindex, 0, 0, 0, 451},// #451 float(entity ent, string tagname) gettagindex (DP_MD3_TAGSINFO) {"gettaginfo", PF_gettaginfo, 0, 0, 0, 452},// #452 vector(entity ent, float tagindex) gettaginfo (DP_MD3_TAGSINFO) -//DP_QC_BOTCLIENT +//DP_SV_BOTCLIENT {"dropclient", PF_dropclient, 0, 0, 0, 453},// #453 void(entity player) dropclient {"spawnclient", PF_spawnclient, 0, 0, 0, 454}, //entity() spawnclient = #454; diff --git a/engine/server/sv_phys.c b/engine/server/sv_phys.c index 3b741c839..a21707475 100644 --- a/engine/server/sv_phys.c +++ b/engine/server/sv_phys.c @@ -2007,7 +2007,7 @@ qboolean SV_Physics (void) if (/*sv.botsonthemap &&*/ progstype == PROG_QW) { - //DP_QC_BOTCLIENT - make the bots move with qw physics. + //DP_SV_BOTCLIENT - make the bots move with qw physics. //They only move when there arn't any players on the server, but they should move at the right kind of speed if there are... hopefully //they might just be a bit lagged. they will at least be as smooth as other players are.