Method | Description | |
---|---|---|
ClearState ( ) : void |
Called by Progs.LoadProgs()
|
|
Execute ( int num ) : void | ||
GetEdict ( int parm ) : |
//#define G_EDICT(o) ((edict_t *)((byte *)sv.edicts+ *(int *)&pr_globals[o]))
|
|
GetFloat ( int parm ) : float |
G_FLOAT(o)
|
|
GetInt ( int parm ) : int |
G_INT(o)
|
|
GetString ( int parm ) : string |
//#define G_STRING(o) (pr_strings + *(string_t *)&pr_globals[o])
|
|
GetVector ( int parm ) : float* |
G_VECTOR(o)
|
|
PF_changeyaw ( ) : void | ||
ReturnEdict ( edict_t e ) : void |
RETURN_EDICT(e) (((int *)pr_globals)[OFS_RETURN] = EDICT_TO_PROG(e))
|
|
ReturnFloat ( float value ) : void |
G_FLOAT(OFS_RETURN) = value
|
|
ReturnInt ( int value ) : void |
G_INT(OFS_RETURN) = value
|
|
ReturnVector ( Vector3 &value ) : void |
G_VECTOR(OFS_RETURN) = value
|
|
ReturnVector ( v3f &value ) : void |
G_VECTOR(OFS_RETURN) = value
|
Method | Description | |
---|---|---|
CheckEmptyString ( string s ) : void | ||
Copy ( float src, Vector3 &dest ) : void | ||
Copy ( float src, |
||
PF_Find ( ) : void |
PF_Find entity (entity start, .string field, string match) find = #5;
|
|
PF_Fixme ( ) : void | ||
PF_Remove ( ) : void | ||
PF_Spawn ( ) : void | ||
PF_VarString ( int first ) : string | ||
PF_WriteAngle ( ) : void | ||
PF_WriteByte ( ) : void | ||
PF_WriteChar ( ) : void | ||
PF_WriteCoord ( ) : void | ||
PF_WriteEntity ( ) : void | ||
PF_WriteLong ( ) : void | ||
PF_WriteShort ( ) : void | ||
PF_WriteString ( ) : void | ||
PF_aim ( ) : void | ||
PF_ambientsound ( ) : void | ||
PF_bprint ( ) : void | ||
PF_break ( ) : void | ||
PF_ceil ( ) : void | ||
PF_centerprint ( ) : void | ||
PF_changelevel ( ) : void | ||
PF_checkbottom ( ) : void |
PF_checkbottom
|
|
PF_checkclient ( ) : void |
PF_checkclient Returns a client (or object that has a client enemy) that would be a valid target. If there are more than one valid options, they are cycled each frame If (self.origin + self.viewofs) is not in the PVS of the current target, it is not returned at all. name checkclient ()
|
|
PF_checkpos ( ) : void | ||
PF_coredump ( ) : void | ||
PF_cvar ( ) : void | ||
PF_cvar_set ( ) : void | ||
PF_dprint ( ) : void | ||
PF_droptofloor ( ) : void | ||
PF_eprint ( ) : void | ||
PF_error ( ) : void |
PF_errror This is a TERMINAL error, which will kill off the entire server. Dumps self. error(value)
|
|
PF_fabs ( ) : void | ||
PF_findradius ( ) : void | ||
PF_floor ( ) : void | ||
PF_ftos ( ) : void | ||
PF_lightstyle ( ) : void | ||
PF_localcmd ( ) : void |
PF_localcmd Sends text over to the client's execution buffer localcmd (string)
|
|
PF_makestatic ( ) : void | ||
PF_makevectors ( ) : void | ||
PF_newcheckclient ( int check ) : int | ||
PF_nextent ( ) : void | ||
PF_normalize ( ) : void | ||
PF_objerror ( ) : void | ||
PF_particle ( ) : void | ||
PF_pointcontents ( ) : void |
PF_pointcontents
|
|
PF_precache_file ( ) : void | ||
PF_precache_model ( ) : void | ||
PF_precache_sound ( ) : void | ||
PF_random ( ) : void | ||
PF_rint ( ) : void | ||
PF_setmodel ( ) : void | ||
PF_setorigin ( ) : void |
PF_setorigin This is the only valid way to move an object without using the physics of the world (setting velocity and waiting). Directly changing origin will not set internal links correctly, so clipping would be messed up. This should be called when an object is spawned, and then only if it is teleported. setorigin (entity, origin)
|
|
PF_setsize ( ) : void | ||
PF_setspawnparms ( ) : void | ||
PF_sound ( ) : void | ||
PF_sprint ( ) : void |
PF_sprint single print to a specific client sprint(clientent, value)
|
|
PF_stuffcmd ( ) : void |
PF_stuffcmd Sends text over to the client's execution buffer stuffcmd (clientent, value)
|
|
PF_traceline ( ) : void | ||
PF_traceoff ( ) : void | ||
PF_traceon ( ) : void | ||
PF_vectoangles ( ) : void | ||
PF_vectoyaw ( ) : void |
PF_vectoyaw float vectoyaw(vector)
|
|
PF_vlen ( ) : void | ||
PF_vtos ( ) : void | ||
PF_walkmove ( ) : void |
PF_walkmove float(float yaw, float dist) walkmove
|
|
SetMinMaxSize ( edict_t e, Vector3 &min, Vector3 &max, bool rotate ) : void | ||
SetTempString ( string value ) : int |
public static GetEdict ( int parm ) : |
||
parm | int | |
return |
public static GetString ( int parm ) : string | ||
parm | int | |
return | string |
public static GetVector ( int parm ) : float* | ||
parm | int | |
return | float* |
public static ReturnEdict ( edict_t e ) : void | ||
e | edict_t | |
return | void |
public static ReturnFloat ( float value ) : void | ||
value | float | |
return | void |
public static ReturnVector ( Vector3 &value ) : void | ||
value | Vector3 | |
return | void |
public static ReturnVector ( v3f &value ) : void | ||
value | v3f | |
return | void |