mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
mess around with the builtin comments
This commit is contained in:
parent
d34c7259dd
commit
bfd02b6412
2 changed files with 114 additions and 204 deletions
|
@ -1356,69 +1356,69 @@ SV_PR_Cmds_Init ()
|
|||
PR_Cmds_Init (&sv_pr_state);
|
||||
PR_Obj_Progs_Init (&sv_pr_state);
|
||||
|
||||
PR_AddBuiltin (&sv_pr_state, "makevectors", PF_makevectors, 1); // void(entity e) makevectors = #1
|
||||
PR_AddBuiltin (&sv_pr_state, "setorigin", PF_setorigin, 2); // void(entity e, vector o) setorigin = #2
|
||||
PR_AddBuiltin (&sv_pr_state, "setmodel", PF_setmodel, 3); // void(entity e, string m) setmodel = #3
|
||||
PR_AddBuiltin (&sv_pr_state, "setsize", PF_setsize, 4); // void(entity e, vector min, vector max) setsize = #4
|
||||
PR_AddBuiltin (&sv_pr_state, "fixme", PF_Fixme, 5); // void(entity e, vector min, vector max) setabssize = #5
|
||||
PR_AddBuiltin (&sv_pr_state, "sound", PF_sound, 8); // void(entity e, float chan, string samp) sound = #8
|
||||
PR_AddBuiltin (&sv_pr_state, "error", PF_error, 10); // void(string e) error = #10
|
||||
PR_AddBuiltin (&sv_pr_state, "objerror", PF_objerror, 11); // void(string e) objerror = #11
|
||||
PR_AddBuiltin (&sv_pr_state, "spawn", PF_Spawn, 14); // entity() spawn = #14
|
||||
PR_AddBuiltin (&sv_pr_state, "remove", PF_Remove, 15); // void(entity e) remove = #15
|
||||
PR_AddBuiltin (&sv_pr_state, "traceline", PF_traceline, 16); // float(vector v1, vector v2, float tryents) traceline = #16
|
||||
PR_AddBuiltin (&sv_pr_state, "checkclient", PF_checkclient, 17); // entity() clientlist = #17
|
||||
PR_AddBuiltin (&sv_pr_state, "precache_sound", PF_precache_sound, 19); // void(string s) precache_sound = #19
|
||||
PR_AddBuiltin (&sv_pr_state, "precache_model", PF_precache_model, 20); // void(string s) precache_model = #20
|
||||
PR_AddBuiltin (&sv_pr_state, "stuffcmd", PF_stuffcmd, 21); // void(entity client, string s) stuffcmd = #21
|
||||
PR_AddBuiltin (&sv_pr_state, "findradius", PF_findradius, 22); // entity(vector org, float rad) findradius = #22
|
||||
PR_AddBuiltin (&sv_pr_state, "bprint", PF_bprint, 23); // void(string s) bprint = #23
|
||||
PR_AddBuiltin (&sv_pr_state, "sprint", PF_sprint, 24); // void(entity client, string s) sprint = #24
|
||||
PR_AddBuiltin (&sv_pr_state, "walkmove", PF_walkmove, 32); // float(float yaw, float dist) walkmove = #32
|
||||
PR_AddBuiltin (&sv_pr_state, "makevectors", PF_makevectors, 1); // void(entity e) makevectors
|
||||
PR_AddBuiltin (&sv_pr_state, "setorigin", PF_setorigin, 2); // void(entity e, vector o) setorigin
|
||||
PR_AddBuiltin (&sv_pr_state, "setmodel", PF_setmodel, 3); // void(entity e, string m) setmodel
|
||||
PR_AddBuiltin (&sv_pr_state, "setsize", PF_setsize, 4); // void(entity e, vector min, vector max) setsize
|
||||
PR_AddBuiltin (&sv_pr_state, "fixme", PF_Fixme, 5); // void(entity e, vector min, vector max) setabssize
|
||||
PR_AddBuiltin (&sv_pr_state, "sound", PF_sound, 8); // void(entity e, float chan, string samp) sound
|
||||
PR_AddBuiltin (&sv_pr_state, "error", PF_error, 10); // void(string e) error
|
||||
PR_AddBuiltin (&sv_pr_state, "objerror", PF_objerror, 11); // void(string e) objerror
|
||||
PR_AddBuiltin (&sv_pr_state, "spawn", PF_Spawn, 14); // entity() spawn
|
||||
PR_AddBuiltin (&sv_pr_state, "remove", PF_Remove, 15); // void(entity e) remove
|
||||
PR_AddBuiltin (&sv_pr_state, "traceline", PF_traceline, 16); // float(vector v1, vector v2, float tryents) traceline
|
||||
PR_AddBuiltin (&sv_pr_state, "checkclient", PF_checkclient, 17); // entity() clientlist
|
||||
PR_AddBuiltin (&sv_pr_state, "precache_sound", PF_precache_sound, 19); // void(string s) precache_sound
|
||||
PR_AddBuiltin (&sv_pr_state, "precache_model", PF_precache_model, 20); // void(string s) precache_model
|
||||
PR_AddBuiltin (&sv_pr_state, "stuffcmd", PF_stuffcmd, 21); // void(entity client, string s) stuffcmd
|
||||
PR_AddBuiltin (&sv_pr_state, "findradius", PF_findradius, 22); // entity(vector org, float rad) findradius
|
||||
PR_AddBuiltin (&sv_pr_state, "bprint", PF_bprint, 23); // void(string s) bprint
|
||||
PR_AddBuiltin (&sv_pr_state, "sprint", PF_sprint, 24); // void(entity client, string s) sprint
|
||||
PR_AddBuiltin (&sv_pr_state, "walkmove", PF_walkmove, 32); // float(float yaw, float dist) walkmove
|
||||
// 33
|
||||
PR_AddBuiltin (&sv_pr_state, "droptofloor", PF_droptofloor, 34); // float() droptofloor = #34
|
||||
PR_AddBuiltin (&sv_pr_state, "lightstyle", PF_lightstyle, 35); // void(float style, string value) lightstyle = #35
|
||||
PR_AddBuiltin (&sv_pr_state, "droptofloor", PF_droptofloor, 34); // float() droptofloor
|
||||
PR_AddBuiltin (&sv_pr_state, "lightstyle", PF_lightstyle, 35); // void(float style, string value) lightstyle
|
||||
// 39
|
||||
PR_AddBuiltin (&sv_pr_state, "checkbottom", PF_checkbottom, 40); // float(entity e) checkbottom = #40
|
||||
PR_AddBuiltin (&sv_pr_state, "pointcontents", PF_pointcontents, 41); // float(vector v) pointcontents = #41
|
||||
PR_AddBuiltin (&sv_pr_state, "checkbottom", PF_checkbottom, 40); // float(entity e) checkbottom
|
||||
PR_AddBuiltin (&sv_pr_state, "pointcontents", PF_pointcontents, 41); // float(vector v) pointcontents
|
||||
// 42
|
||||
PR_AddBuiltin (&sv_pr_state, "aim", PF_aim, 44); // vector(entity e, float speed) aim = #44
|
||||
PR_AddBuiltin (&sv_pr_state, "localcmd", PF_localcmd, 46); // void(string s) localcmd = #46
|
||||
PR_AddBuiltin (&sv_pr_state, "particle", PF_particle, 48);
|
||||
PR_AddBuiltin (&sv_pr_state, "changeyaw", PF_changeyaw, 49); // void() ChangeYaw = #49
|
||||
PR_AddBuiltin (&sv_pr_state, "aim", PF_aim, 44); // vector(entity e, float speed) aim
|
||||
PR_AddBuiltin (&sv_pr_state, "localcmd", PF_localcmd, 46); // void(string s) localcmd
|
||||
PR_AddBuiltin (&sv_pr_state, "particle", PF_particle, 48); // void(vector o, vector d, float color, float count) particle
|
||||
PR_AddBuiltin (&sv_pr_state, "changeyaw", PF_changeyaw, 49); // void() ChangeYaw
|
||||
// 50
|
||||
|
||||
PR_AddBuiltin (&sv_pr_state, "writebyte", PF_WriteByte, 52); // void(float to, float f) WriteByte = #52
|
||||
PR_AddBuiltin (&sv_pr_state, "writechar", PF_WriteChar, 53); // void(float to, float f) WriteChar = #53
|
||||
PR_AddBuiltin (&sv_pr_state, "writeshort", PF_WriteShort, 54); // void(float to, float f) WriteShort = #54
|
||||
PR_AddBuiltin (&sv_pr_state, "writelong", PF_WriteLong, 55); // void(float to, float f) WriteLong = #55
|
||||
PR_AddBuiltin (&sv_pr_state, "writecoord", PF_WriteCoord, 56); // void(float to, float f) WriteCoord = #56
|
||||
PR_AddBuiltin (&sv_pr_state, "writeangle", PF_WriteAngle, 57); // void(float to, float f) WriteAngle = #57
|
||||
PR_AddBuiltin (&sv_pr_state, "writestring", PF_WriteString, 58); // void(float to, string s) WriteString = #58
|
||||
PR_AddBuiltin (&sv_pr_state, "writeentity", PF_WriteEntity, 59); // void(float to, entity s) WriteEntity = #59
|
||||
PR_AddBuiltin (&sv_pr_state, "writebyte", PF_WriteByte, 52); // void(float to, float f) WriteByte
|
||||
PR_AddBuiltin (&sv_pr_state, "writechar", PF_WriteChar, 53); // void(float to, float f) WriteChar
|
||||
PR_AddBuiltin (&sv_pr_state, "writeshort", PF_WriteShort, 54); // void(float to, float f) WriteShort
|
||||
PR_AddBuiltin (&sv_pr_state, "writelong", PF_WriteLong, 55); // void(float to, float f) WriteLong
|
||||
PR_AddBuiltin (&sv_pr_state, "writecoord", PF_WriteCoord, 56); // void(float to, float f) WriteCoord
|
||||
PR_AddBuiltin (&sv_pr_state, "writeangle", PF_WriteAngle, 57); // void(float to, float f) WriteAngle
|
||||
PR_AddBuiltin (&sv_pr_state, "writestring", PF_WriteString, 58); // void(float to, string s) WriteString
|
||||
PR_AddBuiltin (&sv_pr_state, "writeentity", PF_WriteEntity, 59); // void(float to, entity s) WriteEntity
|
||||
|
||||
PR_AddBuiltin (&sv_pr_state, "movetogoal", SV_MoveToGoal, 67); // void(float step) movetogoal = #67
|
||||
PR_AddBuiltin (&sv_pr_state, "precache_file", PF_precache_file, 68); // string(string s) precache_file = #68
|
||||
PR_AddBuiltin (&sv_pr_state, "makestatic", PF_makestatic, 69); // void(entity e) makestatic = #69
|
||||
PR_AddBuiltin (&sv_pr_state, "movetogoal", SV_MoveToGoal, 67); // void(float step) movetogoal
|
||||
PR_AddBuiltin (&sv_pr_state, "precache_file", PF_precache_file, 68); // string(string s) precache_file
|
||||
PR_AddBuiltin (&sv_pr_state, "makestatic", PF_makestatic, 69); // void(entity e) makestatic
|
||||
|
||||
PR_AddBuiltin (&sv_pr_state, "changelevel", PF_changelevel, 70); // void(string s) changelevel = #70
|
||||
PR_AddBuiltin (&sv_pr_state, "changelevel", PF_changelevel, 70); // void(string s) changelevel
|
||||
// 71
|
||||
|
||||
PR_AddBuiltin (&sv_pr_state, "centerprint", PF_centerprint, 73); // void(...) centerprint = #73
|
||||
PR_AddBuiltin (&sv_pr_state, "centerprint", PF_centerprint, 73); // void(...) centerprint
|
||||
|
||||
PR_AddBuiltin (&sv_pr_state, "ambientsound", PF_ambientsound, 74); // void(vector pos, string samp, float vol, float atten) ambientsound = #74
|
||||
PR_AddBuiltin (&sv_pr_state, "ambientsound", PF_ambientsound, 74); // void(vector pos, string samp, float vol, float atten) ambientsound
|
||||
|
||||
PR_AddBuiltin (&sv_pr_state, "precache_model", PF_precache_model, 75); // string(string s) precache_model2 = #75
|
||||
PR_AddBuiltin (&sv_pr_state, "precache_sound", PF_precache_sound, 76); // string(string s) precache_sound2 = #76 precache_sound2 is different only for qcc
|
||||
PR_AddBuiltin (&sv_pr_state, "precache_file", PF_precache_file, 77); // string(string s) precache_file2 = #77
|
||||
PR_AddBuiltin (&sv_pr_state, "precache_model2", PF_precache_model, 75); // string(string s) precache_model2
|
||||
PR_AddBuiltin (&sv_pr_state, "precache_sound2", PF_precache_sound, 76); // string(string s) precache_sound2
|
||||
PR_AddBuiltin (&sv_pr_state, "precache_file2", PF_precache_file, 77); // string(string s) precache_file2
|
||||
|
||||
PR_AddBuiltin (&sv_pr_state, "setspawnparms", PF_setspawnparms, 78); // void(entity e) setspawnparms = #78
|
||||
PR_AddBuiltin (&sv_pr_state, "setspawnparms", PF_setspawnparms, 78); // void(entity e) setspawnparms
|
||||
|
||||
PR_AddBuiltin (&sv_pr_state, "hullpointcontents", PF_hullpointcontents, 93); // integer (entity ent, vector point) hullpointcontents = #93
|
||||
PR_AddBuiltin (&sv_pr_state, "getboxbounds", PF_getboxbounds, 94); // vector (integer hull, integer max) getboxbounds = #94
|
||||
PR_AddBuiltin (&sv_pr_state, "getboxhull", PF_getboxhull, 95); // integer () getboxhull = #95
|
||||
PR_AddBuiltin (&sv_pr_state, "freeboxhull", PF_freeboxhull, 96); // void (integer hull) freeboxhull = #96
|
||||
PR_AddBuiltin (&sv_pr_state, "rotate_bbox", PF_rotate_bbox, 97); // void (integer hull, vector right, vector forward, vector up, vector mins, vector maxs) rotate_bbox = #97
|
||||
PR_AddBuiltin (&sv_pr_state, "hullpointcontents", PF_hullpointcontents, 93); // integer (entity ent, vector point) hullpointcontents
|
||||
PR_AddBuiltin (&sv_pr_state, "getboxbounds", PF_getboxbounds, 94); // vector (integer hull, integer max) getboxbounds
|
||||
PR_AddBuiltin (&sv_pr_state, "getboxhull", PF_getboxhull, 95); // integer () getboxhull
|
||||
PR_AddBuiltin (&sv_pr_state, "freeboxhull", PF_freeboxhull, 96); // void (integer hull) freeboxhull
|
||||
PR_AddBuiltin (&sv_pr_state, "rotate_bbox", PF_rotate_bbox, 97); // void (integer hull, vector right, vector forward, vector up, vector mins, vector maxs) rotate_bbox
|
||||
|
||||
PR_AddBuiltin (&sv_pr_state, "checkextension", PF_checkextension, 99); // = #99
|
||||
PR_AddBuiltin (&sv_pr_state, "checkextension", PF_checkextension, 99); // float () checkextension
|
||||
}
|
||||
|
|
|
@ -1611,158 +1611,68 @@ SV_PR_Cmds_Init ()
|
|||
PR_Obj_Progs_Init (&sv_pr_state);
|
||||
|
||||
sv_pr_state.builtins[45] = 0; // (override standard builtin)
|
||||
PR_AddBuiltin (&sv_pr_state, "cvar", PF_sv_cvar, 45);
|
||||
// float (string s) cvar
|
||||
PR_AddBuiltin (&sv_pr_state, "cvar", PF_sv_cvar, 45); // float (string s) cvar
|
||||
|
||||
PR_AddBuiltin (&sv_pr_state, "makevectors", PF_makevectors, 1);
|
||||
// void (entity e) makevectors = #1
|
||||
PR_AddBuiltin (&sv_pr_state, "setorigin", PF_setorigin, 2);
|
||||
// void (entity e, vector o) setorigin = #2
|
||||
PR_AddBuiltin (&sv_pr_state, "setmodel", PF_setmodel, 3);
|
||||
// void(entity e, string m) setmodel = #3
|
||||
PR_AddBuiltin (&sv_pr_state, "setsize", PF_setsize, 4);
|
||||
// void (entity e, vector min, vector max) setsize = #4
|
||||
PR_AddBuiltin (&sv_pr_state, "fixme", PF_Fixme, 5);
|
||||
// void (entity e, vector min, vector max) setabssize = #5
|
||||
PR_AddBuiltin (&sv_pr_state, "sound", PF_sound, 8);
|
||||
// void (entity e, float chan, string samp) sound = #8
|
||||
PR_AddBuiltin (&sv_pr_state, "error", PF_error, 10);
|
||||
// void (string e) error = #10
|
||||
PR_AddBuiltin (&sv_pr_state, "objerror", PF_objerror, 11);
|
||||
// void (string e) objerror = #11
|
||||
PR_AddBuiltin (&sv_pr_state, "spawn", PF_Spawn, 14);
|
||||
// entity () spawn = #14
|
||||
PR_AddBuiltin (&sv_pr_state, "remove", PF_Remove, 15);
|
||||
// void (entity e) remove = #15
|
||||
PR_AddBuiltin (&sv_pr_state, "traceline", PF_traceline, 16);
|
||||
// float (vector v1, vector v2, float tryents) traceline = #16
|
||||
PR_AddBuiltin (&sv_pr_state, "checkclient", PF_checkclient, 17);
|
||||
// entity () clientlist = #17
|
||||
PR_AddBuiltin (&sv_pr_state, "precache_sound", PF_precache_sound, 19);
|
||||
// void (string s) precache_sound = #19
|
||||
PR_AddBuiltin (&sv_pr_state, "precache_model", PF_precache_model, 20);
|
||||
// void (string s) precache_model = #20
|
||||
PR_AddBuiltin (&sv_pr_state, "stuffcmd", PF_stuffcmd, 21);
|
||||
// void (entity client, string s) stuffcmd = #21
|
||||
PR_AddBuiltin (&sv_pr_state, "findradius", PF_findradius, 22);
|
||||
// entity (vector org, float rad) findradius = #22
|
||||
PR_AddBuiltin (&sv_pr_state, "bprint", PF_bprint, 23);
|
||||
// void (string s) bprint = #23
|
||||
PR_AddBuiltin (&sv_pr_state, "sprint", PF_sprint, 24);
|
||||
// void (entity client, string s) sprint = #24
|
||||
PR_AddBuiltin (&sv_pr_state, "walkmove", PF_walkmove, 32);
|
||||
// float (float yaw, float dist) walkmove = #32
|
||||
// no #33
|
||||
PR_AddBuiltin (&sv_pr_state, "droptofloor", PF_droptofloor, 34);
|
||||
// float () droptofloor = #34
|
||||
PR_AddBuiltin (&sv_pr_state, "lightstyle", PF_lightstyle, 35);
|
||||
// void (float style, string value) lightstyle = #35
|
||||
// no #39
|
||||
PR_AddBuiltin (&sv_pr_state, "checkbottom", PF_checkbottom, 40);
|
||||
// float (entity e) checkbottom = #40
|
||||
PR_AddBuiltin (&sv_pr_state, "pointcontents", PF_pointcontents, 41);
|
||||
// float (vector v) pointcontents = #41
|
||||
// no #42
|
||||
PR_AddBuiltin (&sv_pr_state, "aim", PF_aim, 44);
|
||||
// vector (entity e, float speed) aim = #44
|
||||
PR_AddBuiltin (&sv_pr_state, "localcmd", PF_localcmd, 46);
|
||||
// void (string s) localcmd = #46
|
||||
// no #48
|
||||
PR_AddBuiltin (&sv_pr_state, "changeyaw", PF_changeyaw, 49);
|
||||
// void () ChangeYaw = #49
|
||||
// no #50
|
||||
PR_AddBuiltin (&sv_pr_state, "writebyte", PF_WriteByte, 52);
|
||||
// void (float to, float f) WriteByte = #52
|
||||
PR_AddBuiltin (&sv_pr_state, "writechar", PF_WriteChar, 53);
|
||||
// void (float to, float f) WriteChar = #53
|
||||
PR_AddBuiltin (&sv_pr_state, "writeshort", PF_WriteShort, 54);
|
||||
// void (float to, float f) WriteShort = #54
|
||||
PR_AddBuiltin (&sv_pr_state, "writelong", PF_WriteLong, 55);
|
||||
// void(float to, float f) WriteLong = #55
|
||||
PR_AddBuiltin (&sv_pr_state, "writecoord", PF_WriteCoord, 56);
|
||||
// void(float to, float f) WriteCoord = #56
|
||||
PR_AddBuiltin (&sv_pr_state, "writeangle", PF_WriteAngle, 57);
|
||||
// void(float to, float f) WriteAngle = #57
|
||||
PR_AddBuiltin (&sv_pr_state, "writestring", PF_WriteString, 58);
|
||||
// void(float to, string s) WriteString = #58
|
||||
PR_AddBuiltin (&sv_pr_state, "writeentity", PF_WriteEntity, 59);
|
||||
// void(float to, entity s) WriteEntity = #59
|
||||
// 60
|
||||
// 61
|
||||
// 62
|
||||
// 63
|
||||
// 64
|
||||
// 65
|
||||
// 66
|
||||
PR_AddBuiltin (&sv_pr_state, "movetogoal", SV_MoveToGoal, 67);
|
||||
// void (float step) movetogoal = #67
|
||||
PR_AddBuiltin (&sv_pr_state, "precache_file", PF_precache_file, 68);
|
||||
// string (string s) precache_file = #68
|
||||
PR_AddBuiltin (&sv_pr_state, "makestatic", PF_makestatic, 69);
|
||||
// void (entity e) makestatic = #69
|
||||
PR_AddBuiltin (&sv_pr_state, "changelevel", PF_changelevel, 70);
|
||||
// void (string s) changelevel = #70
|
||||
// 71
|
||||
PR_AddBuiltin (&sv_pr_state, "centerprint", PF_centerprint, 73);
|
||||
// void (...) centerprint = #73
|
||||
PR_AddBuiltin (&sv_pr_state, "ambientsound", PF_ambientsound, 74);
|
||||
// void (vector pos, string samp, float vol, float atten)
|
||||
// ambientsound = #74
|
||||
PR_AddBuiltin (&sv_pr_state, "precache_model", PF_precache_model, 75);
|
||||
// string (string s) precache_model2 = #75
|
||||
PR_AddBuiltin (&sv_pr_state, "precache_sound", PF_precache_sound, 76);
|
||||
// string (string s) precache_sound2 = #76 precache_sound2 is different
|
||||
// only for qcc
|
||||
PR_AddBuiltin (&sv_pr_state, "precache_file", PF_precache_file, 77);
|
||||
// string (string s) precache_file2 = #77
|
||||
PR_AddBuiltin (&sv_pr_state, "setspawnparms", PF_setspawnparms, 78);
|
||||
// void (entity e) setspawnparms = #78
|
||||
PR_AddBuiltin (&sv_pr_state, "logfrag", PF_logfrag, 79);
|
||||
// void (entity killer, entity killee) logfrag = #79
|
||||
PR_AddBuiltin (&sv_pr_state, "infokey", PF_infokey, 80);
|
||||
// string (entity e, string key) infokey = #80
|
||||
PR_AddBuiltin (&sv_pr_state, "multicast", PF_multicast, 82);
|
||||
// void (vector where, float set) multicast = #82
|
||||
// 83
|
||||
// 84
|
||||
// 85
|
||||
// 86
|
||||
// 87
|
||||
// 88
|
||||
// 89
|
||||
// 90
|
||||
// 91
|
||||
PR_AddBuiltin (&sv_pr_state, "testentitypos", PF_testentitypos, 92);
|
||||
// entity (entity ent) testentitypos = #92
|
||||
PR_AddBuiltin (&sv_pr_state, "hullpointcontents", PF_hullpointcontents,
|
||||
93); // integer (entity ent, vector point)
|
||||
// hullpointcontents = #93
|
||||
PR_AddBuiltin (&sv_pr_state, "getboxbounds", PF_getboxbounds, 94);
|
||||
// vector (integer hull, integer max) getboxbounds = #94
|
||||
PR_AddBuiltin (&sv_pr_state, "getboxhull", PF_getboxhull, 95);
|
||||
// integer () getboxhull = #95
|
||||
PR_AddBuiltin (&sv_pr_state, "freeboxhull", PF_freeboxhull, 96);
|
||||
// void (integer hull) freeboxhull = #96
|
||||
PR_AddBuiltin (&sv_pr_state, "rotate_bbox", PF_rotate_bbox, 97);
|
||||
// void (integer hull, vector right, vector forward, vector up,
|
||||
// vector mins, vector maxs) rotate_bbox = #97
|
||||
PR_AddBuiltin (&sv_pr_state, "checkmove", PF_checkmove, 98);
|
||||
// void (vector start, vector mins, vector maxs, vector end,
|
||||
// float type, entity passent) checkmove = #98
|
||||
PR_AddBuiltin (&sv_pr_state, "checkextension", PF_Checkextension, 99);
|
||||
// = #99
|
||||
PR_AddBuiltin (&sv_pr_state, "setinfokey", PF_setinfokey, 102);
|
||||
// void (entity ent, string key, string value) setinfokey = #102
|
||||
PR_AddBuiltin (&sv_pr_state, "cfopen", PF_cfopen, 103);
|
||||
// float (string path, string mode) cfopen = #103
|
||||
PR_AddBuiltin (&sv_pr_state, "cfclose", PF_cfclose, 104);
|
||||
// void (float desc) cfclose = #104
|
||||
PR_AddBuiltin (&sv_pr_state, "cfread", PF_cfread, 105);
|
||||
// string (float desc) cfread = #105
|
||||
PR_AddBuiltin (&sv_pr_state, "cfwrite", PF_cfwrite, 106);
|
||||
// float (float desc, string buf) cfwrite = #106
|
||||
PR_AddBuiltin (&sv_pr_state, "cfeof", PF_cfeof, 107);
|
||||
// float (float desc) cfeof = #107
|
||||
PR_AddBuiltin (&sv_pr_state, "cfquota", PF_cfquota, 108);
|
||||
// float () cfquota = #108
|
||||
PR_AddBuiltin (&sv_pr_state, "makevectors", PF_makevectors, 1); // void (entity e) makevectors
|
||||
PR_AddBuiltin (&sv_pr_state, "setorigin", PF_setorigin, 2); // void (entity e, vector o) setorigin
|
||||
PR_AddBuiltin (&sv_pr_state, "setmodel", PF_setmodel, 3); // void(entity e, string m) setmodel
|
||||
PR_AddBuiltin (&sv_pr_state, "setsize", PF_setsize, 4); // void (entity e, vector min, vector max) setsize
|
||||
PR_AddBuiltin (&sv_pr_state, "fixme", PF_Fixme, 5); // void (entity e, vector min, vector max) setabssize
|
||||
PR_AddBuiltin (&sv_pr_state, "sound", PF_sound, 8); // void (entity e, float chan, string samp) sound
|
||||
PR_AddBuiltin (&sv_pr_state, "error", PF_error, 10); // void (string e) error
|
||||
PR_AddBuiltin (&sv_pr_state, "objerror", PF_objerror, 11); // void (string e) objerror
|
||||
PR_AddBuiltin (&sv_pr_state, "spawn", PF_Spawn, 14); // entity () spawn
|
||||
PR_AddBuiltin (&sv_pr_state, "remove", PF_Remove, 15); // void (entity e) remove
|
||||
PR_AddBuiltin (&sv_pr_state, "traceline", PF_traceline, 16); // float (vector v1, vector v2, float tryents) traceline
|
||||
PR_AddBuiltin (&sv_pr_state, "checkclient", PF_checkclient, 17); // entity () clientlist
|
||||
PR_AddBuiltin (&sv_pr_state, "precache_sound", PF_precache_sound, 19); // void (string s) precache_sound
|
||||
PR_AddBuiltin (&sv_pr_state, "precache_model", PF_precache_model, 20); // void (string s) precache_model
|
||||
PR_AddBuiltin (&sv_pr_state, "stuffcmd", PF_stuffcmd, 21); // void (entity client, string s) stuffcmd
|
||||
PR_AddBuiltin (&sv_pr_state, "findradius", PF_findradius, 22); // entity (vector org, float rad) findradius
|
||||
PR_AddBuiltin (&sv_pr_state, "bprint", PF_bprint, 23); // void (string s) bprint
|
||||
PR_AddBuiltin (&sv_pr_state, "sprint", PF_sprint, 24); // void (entity client, string s) sprint
|
||||
PR_AddBuiltin (&sv_pr_state, "walkmove", PF_walkmove, 32); // float (float yaw, float dist) walkmove
|
||||
PR_AddBuiltin (&sv_pr_state, "droptofloor", PF_droptofloor, 34); // float () droptofloor
|
||||
PR_AddBuiltin (&sv_pr_state, "lightstyle", PF_lightstyle, 35); // void (float style, string value) lightstyle
|
||||
PR_AddBuiltin (&sv_pr_state, "checkbottom", PF_checkbottom, 40); // float (entity e) checkbottom
|
||||
PR_AddBuiltin (&sv_pr_state, "pointcontents", PF_pointcontents, 41); // float (vector v) pointcontents
|
||||
PR_AddBuiltin (&sv_pr_state, "aim", PF_aim, 44); // vector (entity e, float speed) aim
|
||||
PR_AddBuiltin (&sv_pr_state, "localcmd", PF_localcmd, 46); // void (string s) localcmd
|
||||
PR_AddBuiltin (&sv_pr_state, "changeyaw", PF_changeyaw, 49); // void () ChangeYaw
|
||||
PR_AddBuiltin (&sv_pr_state, "writebyte", PF_WriteByte, 52); // void (float to, float f) WriteByte
|
||||
PR_AddBuiltin (&sv_pr_state, "writechar", PF_WriteChar, 53); // void (float to, float f) WriteChar
|
||||
PR_AddBuiltin (&sv_pr_state, "writeshort", PF_WriteShort, 54); // void (float to, float f) WriteShort
|
||||
PR_AddBuiltin (&sv_pr_state, "writelong", PF_WriteLong, 55); // void(float to, float f) WriteLong
|
||||
PR_AddBuiltin (&sv_pr_state, "writecoord", PF_WriteCoord, 56); // void(float to, float f) WriteCoord
|
||||
PR_AddBuiltin (&sv_pr_state, "writeangle", PF_WriteAngle, 57); // void(float to, float f) WriteAngle
|
||||
PR_AddBuiltin (&sv_pr_state, "writestring", PF_WriteString, 58); // void(float to, string s) WriteString
|
||||
PR_AddBuiltin (&sv_pr_state, "writeentity", PF_WriteEntity, 59); // void(float to, entity s) WriteEntity
|
||||
PR_AddBuiltin (&sv_pr_state, "movetogoal", SV_MoveToGoal, 67); // void (float step) movetogoal
|
||||
PR_AddBuiltin (&sv_pr_state, "precache_file", PF_precache_file, 68); // string (string s) precache_file
|
||||
PR_AddBuiltin (&sv_pr_state, "makestatic", PF_makestatic, 69); // void (entity e) makestatic
|
||||
PR_AddBuiltin (&sv_pr_state, "changelevel", PF_changelevel, 70); // void (string s) changelevel
|
||||
PR_AddBuiltin (&sv_pr_state, "centerprint", PF_centerprint, 73); // void (...) centerprint
|
||||
PR_AddBuiltin (&sv_pr_state, "ambientsound", PF_ambientsound, 74); // void (vector pos, string samp, float vol, float atten) ambientsound
|
||||
PR_AddBuiltin (&sv_pr_state, "precache_model2", PF_precache_model, 75); // string (string s) precache_model2
|
||||
PR_AddBuiltin (&sv_pr_state, "precache_sound2", PF_precache_sound, 76); // string (string s) precache_sound2
|
||||
PR_AddBuiltin (&sv_pr_state, "precache_file2", PF_precache_file, 77); // string (string s) precache_file2
|
||||
PR_AddBuiltin (&sv_pr_state, "setspawnparms", PF_setspawnparms, 78); // void (entity e) setspawnparms
|
||||
PR_AddBuiltin (&sv_pr_state, "logfrag", PF_logfrag, 79); // void (entity killer, entity killee) logfrag
|
||||
PR_AddBuiltin (&sv_pr_state, "infokey", PF_infokey, 80); // string (entity e, string key) infokey
|
||||
PR_AddBuiltin (&sv_pr_state, "multicast", PF_multicast, 82); // void (vector where, float set) multicast
|
||||
kR_AddBuiltin (&sv_pr_state, "testentitypos", PF_testentitypos, 92); // entity (entity ent) testentitypos
|
||||
PR_AddBuiltin (&sv_pr_state, "hullpointcontents", PF_hullpointcontents, 93); // integer (entity ent, vector point) hullpointcontents
|
||||
PR_AddBuiltin (&sv_pr_state, "getboxbounds", PF_getboxbounds, 94); // vector (integer hull, integer max) getboxbounds
|
||||
PR_AddBuiltin (&sv_pr_state, "getboxhull", PF_getboxhull, 95); // integer () getboxhull
|
||||
PR_AddBuiltin (&sv_pr_state, "freeboxhull", PF_freeboxhull, 96); // void (integer hull) freeboxhull
|
||||
PR_AddBuiltin (&sv_pr_state, "rotate_bbox", PF_rotate_bbox, 97); // void (integer hull, vector right, vector forward, vector up, vector mins, vector maxs) rotate_bbox
|
||||
PR_AddBuiltin (&sv_pr_state, "checkmove", PF_checkmove, 98); // void (vector start, vector mins, vector maxs, vector end, float type, entity passent) checkmove
|
||||
PR_AddBuiltin (&sv_pr_state, "checkextension", PF_Checkextension, 99); // float () checkextension
|
||||
PR_AddBuiltin (&sv_pr_state, "setinfokey", PF_setinfokey, 102); // void (entity ent, string key, string value) setinfokey
|
||||
PR_AddBuiltin (&sv_pr_state, "cfopen", PF_cfopen, 103); // float (string path, string mode) cfopen
|
||||
PR_AddBuiltin (&sv_pr_state, "cfclose", PF_cfclose, 104); // void (float desc) cfclose
|
||||
PR_AddBuiltin (&sv_pr_state, "cfread", PF_cfread, 105); // string (float desc) cfread
|
||||
PR_AddBuiltin (&sv_pr_state, "cfwrite", PF_cfwrite, 106); // float (float desc, string buf) cfwrite
|
||||
PR_AddBuiltin (&sv_pr_state, "cfeof", PF_cfeof, 107); // float (float desc) cfeof
|
||||
PR_AddBuiltin (&sv_pr_state, "cfquota", PF_cfquota, 108); // float () cfquota
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue