1 void (vector ang) makevectors = #1;
2 void (entity e, string m) setmodel = #3;
6 void (entity e, float chan, string samp, float vol, float atten) sound = #8;
7 vector (vector v) normalize = #9;
8 void (string e) error = #10;
9 void (string e) objerror = #11;
10 float (vector v) vlen = #12;
11 float (vector v) vectoyaw = #13;
12 entity () spawn = #14;
13 void (entity e) remove = #15;
15 void (vector v1, vector v2, float nomonsters, entity forent) traceline = #16;
17 entity (entity start, .string fld, string match) find = #18;
18 string (string s) precache_sound = #19;
19 string (string s) precache_model = #20;
21 void (string s) dprint = #25;
22 string (float f) ftos = #26;
23 string (vector v) vtos = #27;
24 void () coredump = #28;
25 void () traceon = #29;
26 void () traceoff = #30;
27 void (entity e) eprint = #31;
29 float (float v) rint = #36;
30 float (float v) floor = #37;
31 float (float v) ceil = #38;
33 float (vector v) pointcontents = #41;
34 float (float f) fabs = #43;
36 float (string s) cvar = #45;
37 void (string s, ...) localcmd = #46;
38 entity (entity e) nextent = #47;
40 vector (vector v) vectoangles = #51;
42 void (string var, string val) cvar_set = #72;
45 float() ReadByte = #360;
46 float() ReadChar = #361;
47 float() ReadShort = #362;
48 float() ReadLong = #363;
49 float() ReadCoord = #364;
50 float() ReadAngle = #365;
51 string() ReadString = #366; //warning: this returns a temporary!
53 float(string s) stof = #81;
56 void (vector v1, vector min, vector max, vector v2, float nomonsters, entity forent) tracebox = #90;
57 float (string name, string value) registercvar = #93;
59 entity (entity start, .entity fld, entity match) findentity = #98;
60 entity (entity start, .float fld, float match) findfloat = #98;
62 float (string s) checkextension = #99;
64 float (string filename, float mode) fopen = #110;
65 void (float fhandle) fclose = #111;
66 string (float fhandle) fgets = #112;
67 void (float fhandle, string s) fputs = #113;
68 float (string s) strlen = #114;
69 string (...) strcat = #115;
70 string (string s, float start, float length) substring = #116;
71 vector (string s) stov = #117;
72 string (string s) strzone = #118;
73 void (string s) strunzone = #119;
75 void () R_ClearScene = #300;
76 void (float mask) R_AddEntities = #301;
77 void (entity e) R_AddEntity = #302;
78 float (float property, ...) R_SetView = #303;
79 void () R_RenderScene = #304;
80 void (vector org, float radius, vector rgb) R_AddDynamicLight = #305;
81 void () R_CalcRefDef = #306;
83 vector (vector v) cs_unproject = #310;
84 vector (vector v) cs_project = #311;
86 void drawline(float width, vector pos1, vector pos2, vector rgb, float alpha, float flags) = #315;
87 float iscachedpic(string name) = #316;
88 string precache_pic(string name, ...) = #317;
89 vector drawgetimagesize(string pic) = #318;
90 void freepic(string name) = #319;
91 float drawcharacter(vector position, float character, vector scale, vector rgb, float alpha, float flag) = #320;
92 float drawstring(vector position, string text, vector scale, vector rgb, float alpha, float flag) = #321;
93 float drawpic(vector position, string pic, vector size, vector rgb, float alpha, float flag) = #322;
94 float drawfill(vector position, vector size, vector rgb, float alpha, float flag) = #323;
95 void drawsetcliparea(float x, float y, float width, float height) = #324;
96 void drawresetcliparea(void) = #325;
99 float (float statnum) getstatf = #330;
100 float (float statnum) getstati = #331;
101 string (float statnum) getstats = #332;
103 void (entity e, float i) setmodelindex = #333;
104 string (float i) modelnameforindex = #334;
106 float(string efname) particleseffectforname = #335;
107 void(entity ent, float effectnum, vector start, vector end, ...) trailparticles = #336;
108 void (float efnum, vector org, vector vel, float countmultiplier) pointparticles = #337;
110 void (string s, ...) cprint = #338;
111 void (string s, ...) print = #339;
113 void (float scale) setsensitivityscale = #347;
116 void (float framenum) RetrieveMovementFrame = #345;
117 void () DefaultPlayerPhysics = #347;
119 string (float playernum, string key) getplayerkey = #348;
120 void (string cmdname) registercmd = #352;
121 vector () getmousepos = #344;
123 string (string s) uncolorstring = #170;
125 float () playernum = #354;
127 void (vector org, vector forward, vector right, vector up) setlistener = #351;
129 float (vector start, vector end, float ignore, float csqcents) selecttraceline = #355;
130 float () isdemo = #349;
131 float () isserver = #350;
133 void (float f) setwantsmousemove = #343;
134 string (float key) getkeybind = #342;
135 string (float f) chr = #78;
137 vector (vector org) getlight = #92;
139 entity (.string fld, string match) findchain = #402;
140 entity (.float fld, float match) findchainflags = #450;
141 entity (.entity fld, entity match) findchainentity = #403;
142 entity (.float fld, float match) findchainfloat = #403;
143 entity (entity start, .entity fld, float match) findflags = #449;
145 float (string pattern, float caseinsensitive, float quiet) search_begin = #444;
146 void (float handle) search_end = #445;
147 float (float handle) search_getsize = #446;
148 string (float handle, float num) search_getfilename = #447;
151 float (entity e, float s) getsurfacenumpoints = #434;
152 vector (entity e, float s, float n) getsurfacepoint = #435;
153 vector (entity e, float s) getsurfacenormal = #436;
154 string (entity e, float s) getsurfacetexture = #437;
155 float (entity e, vector p) getsurfacenearpoint = #438;
156 vector (entity e, float s, vector p) getsurfaceclippedpoint = #439;
158 float (float a, float b) min = #94;
159 float (float a, float b, float c) min3 = #94;
160 float (float a, float b, float c, float d) min4 = #94;
161 float (float a, float b, float c, float d, float e) min5 = #94;
162 float (float a, float b, float c, float d, float e, float f) min6 = #94;
163 float (float a, float b, float c, float d, float e, float f, float g) min7 = #94;
164 float (float a, float b, float c, float d, float e, float f, float g, float h) min8 = #94;
165 float (float a, float b) max = #95;
166 float (float a, float b, float c) max3 = #95;
167 float (float a, float b, float c, float d) max4 = #95;
168 float (float a, float b, float c, float d, float e) max5 = #95;
169 float (float a, float b, float c, float d, float e, float f) max6 = #95;
170 float (float a, float b, float c, float d, float e, float f, float g) max7 = #95;
171 float (float a, float b, float c, float d, float e, float f, float g, float h) max8 = #95;
172 float (float minimum, float val, float maximum) bound = #96;
174 vector () randomvec = #91;
176 float (float val) sin = #60;
177 float (float val) cos = #61;
178 float (float val) sqrt = #62;
179 float (float a, float b) pow = #97;
181 void (vector org, string modelname, float startframe, float endframe, float framerate) effect = #404;
183 void (vector org, vector velocity, float howmany) te_blood = #405;
184 void (vector mincorner, vector maxcorner, float explosionspeed, float howmany) te_bloodshower = #406;
185 void (vector org, float radius, float lifetime, vector color) te_customflash = #417;
186 void(vector org, vector color) te_explosionrgb = #407;
187 void(vector mincorner, vector maxcorner, vector vel, float howmany, float color, float gravityflag, float randomveljitter) te_particlecube = #408;
188 void(vector mincorner, vector maxcorner, vector vel, float howmany, float color) te_particlerain = #409;
189 void(vector mincorner, vector maxcorner, vector vel, float howmany, float color) te_particlesnow = #410;
190 void(vector org) te_plasmaburn = #433;
191 void(vector org) te_gunshotquad = #412;
192 void(vector org) te_spikequad = #413;
193 void(vector org) te_superspikequad = #414;
194 void(vector org) te_explosionquad = #415;
195 void(vector org) te_smallflash = #416;
196 void(vector org, vector vel, float howmany) te_spark = #411;
198 void(vector org) te_gunshot = #418;
199 void(vector org) te_spike = #419;
200 void(vector org) te_superspike = #420;
201 void(vector org) te_explosion = #421;
202 void(vector org) te_tarexplosion = #422;
203 void(vector org) te_wizspike = #423;
204 void(vector org) te_knightspike = #424;
205 void(vector org) te_lavasplash = #425;
206 void(vector org) te_teleport = #426;
207 void(vector org, float color, float colorlength) te_explosion2 = #427;
208 void(entity own, vector start, vector end) te_lightning1 = #428;
209 void(entity own, vector start, vector end) te_lightning2 = #429;
210 void(entity own, vector start, vector end) te_lightning3 = #430;
211 void(entity own, vector start, vector end) te_beam = #431;
213 float (entity ent, string tagname) gettagindex = #451;
214 vector (entity ent, float tagindex) gettaginfo = #452;
216 float (string s) tokenize = #441;
217 string (float argnum) argv = #442;
219 string (string s) cvar_string = #448;
221 float () buf_create = #460;
222 void (float bufhandle) buf_del = #461;
223 float (float bufhandle) buf_getsize = #462;
224 void (float bufhandle_from, float bufhandle_to) buf_copy = #463;
225 void (float bufhandle, float sortpower, float backward) buf_sort = #464;
226 string (float bufhandle, string glue) buf_implode = #465;
227 string (float bufhandle, float string_index) bufstr_get = #466;
228 void (float bufhandle, float string_index, string str) bufstr_set = #467;
229 float (float bufhandle, string str, float order) bufstr_add = #468;
230 void (float bufhandle, float string_index) bufstr_free = #469;
232 float () onground = #355;
234 void(string texturename, ...) R_BeginPolygon = #306;
235 void(vector org, vector texcoords, vector rgb, float alpha) R_PolygonVertex = #307;
236 void() R_EndPolygon = #308;
238 float(string s, float num) charindex = #356;