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
This commit is contained in:
Molgrum 2007-10-14 01:52:42 +00:00
parent 306a02204b
commit d598dbbe64
3 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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;

View File

@ -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.