]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/dpdefs/menudefs.qh
Merge branch 'master' into sev/weapon_panel_retry
[xonotic/xonotic-data.pk3dir.git] / qcsrc / dpdefs / menudefs.qh
1 #ifndef MENUDEFS_H
2 #define MENUDEFS_H
3
4 #pragma noref 1
5
6 //////////////////////////////////////////////////////////
7 // sys globals
8
9 entity self;
10
11 /////////////////////////////////////////////////////////
12 void            end_sys_globals;
13 /////////////////////////////////////////////////////////
14 // sys fields
15
16 /////////////////////////////////////////////////////////
17 void            end_sys_fields;
18 /////////////////////////////////////////////////////////
19 // sys functions
20
21 void() m_init;
22 void(float keynr, float ascii) m_keydown;
23 void(float width, float height) m_draw;
24 void(float mode) m_toggle;
25 void() m_shutdown;
26 // optional: float(float) m_gethostcachecategory;
27
28 /////////////////////////////////////////////////////////
29 // sys constants
30 ///////////////////////////
31 // key dest constants
32
33 float KEY_UNKNOWN       =       -1;
34 float KEY_GAME          =       0;
35 float KEY_MENU          =       2;
36 float KEY_MENU_GRABBED  =       3;
37
38 ///////////////////////////
39 // file constants
40
41 float FILE_READ = 0;
42 float FILE_APPEND = 1;
43 float FILE_WRITE = 2;
44
45 ///////////////////////////
46 // msg constants
47
48 float MSG_BROADCAST             = 0;            // unreliable to all
49 float MSG_ONE                   = 1;            // reliable to one (msg_entity)
50 float MSG_ALL                   = 2;            // reliable to all
51 float MSG_INIT                  = 3;            // write to the init string
52
53 /////////////////////////////
54 // mouse target constants
55
56 float MT_MENU = 1;
57 float MT_CLIENT = 2;
58
59 /////////////////////////
60 // client state constants
61
62 float CS_DEDICATED              = 0;
63 float CS_DISCONNECTED   = 1;
64 float CS_CONNECTED              = 2;
65
66 ///////////////////////////
67 // blend flags
68
69 float DRAWFLAG_NORMAL           = 0;
70 float DRAWFLAG_ADDITIVE         = 1;
71 float DRAWFLAG_MODULATE         = 2;
72 float DRAWFLAG_2XMODULATE   = 3;
73
74 ///////////////////////////
75 // null entity (actually it is the same like the world entity)
76
77 entity null_entity;
78
79 ///////////////////////////
80 // error constants
81
82 // file handling
83 float ERR_CANNOTOPEN                    = -1; // fopen
84 float ERR_NOTENOUGHFILEHANDLES  = -2; // fopen
85 float ERR_INVALIDMODE                   = -3; // fopen
86 float ERR_BADFILENAME                   = -4; // fopen
87
88 // drawing functions
89
90 float ERR_NULLSTRING                    = -1;
91 float ERR_BADDRAWFLAG                   = -2;
92 float ERR_BADSCALE                              = -3;
93 float ERR_BADSIZE                               = -3; // same as ERR_BADSCALE
94 float ERR_NOTCACHED                             = -4;
95
96 // server list stuff
97 float SLIST_HOSTCACHEVIEWCOUNT  = 0;
98 float SLIST_HOSTCACHETOTALCOUNT = 1;
99 float SLIST_MASTERQUERYCOUNT    = 2;
100 float SLIST_MASTERREPLYCOUNT    = 3;
101 float SLIST_SERVERQUERYCOUNT    = 4;
102 float SLIST_SERVERREPLYCOUNT    = 5;
103 float SLIST_SORTFIELD           = 6;
104 float SLIST_SORTDESCENDING      = 7;
105 float SLIST_LEGACY_LINE1        = 1024;
106 float SLIST_LEGACY_LINE2        = 1025;
107 float SLIST_TEST_CONTAINS       = 0;
108 float SLIST_TEST_NOTCONTAIN     = 1;
109 float SLIST_TEST_LESSEQUAL      = 2;
110 float SLIST_TEST_LESS           = 3;
111 float SLIST_TEST_EQUAL          = 4;
112 float SLIST_TEST_GREATER        = 5;
113 float SLIST_TEST_GREATEREQUAL   = 6;
114 float SLIST_TEST_NOTEQUAL       = 7;
115 float SLIST_TEST_STARTSWITH     = 8;
116 float SLIST_TEST_NOTSTARTSWITH  = 9;
117 float SLIST_MASK_AND = 0;
118 float SLIST_MASK_OR  = 512;
119
120 // font stuff
121 float FONT_DEFAULT     = 0;
122 float FONT_CONSOLE     = 1;
123 float FONT_SBAR        = 2;
124 float FONT_NOTIFY      = 3;
125 float FONT_CHAT        = 4;
126 float FONT_CENTERPRINT = 5;
127 float FONT_INFOBAR     = 6;
128 float FONT_MENU        = 7;
129 float FONT_USER        = 8; // add to this the index, like FONT_USER+3 = user3. At least 8 of them are supported.
130 float drawfont;
131
132 /* not supported at the moment
133 ///////////////////////////
134 // os constants
135
136 float OS_WINDOWS        = 0;
137 float OS_LINUX          = 1;
138 float OS_MAC            = 2;
139 */
140
141
142
143
144
145
146
147
148
149
150 //////////////////////////////////////////////////
151 // common cmd
152 //////////////////////////////////////////////////
153 // AK FIXME: Create perhaps a special builtin file for the common cmds
154
155 void    checkextension(string ext)      = #1;
156
157 // error cmds
158 void    error(string err,...)           = #2;
159 void    objerror(string err,...)        = #3;
160
161 // print
162
163 void    print(string text,...)                   = #4;
164 void    bprint(string text,...)                  = #5;
165 void    sprint(float clientnum, string text,...) = #6;
166 void    centerprint(string text,...)             = #7;
167
168 // vector stuff
169
170 vector  normalize(vector v)             = #8;
171 float   vlen(vector v)                  = #9;
172 float   vectoyaw(vector v)              = #10;
173 vector  vectoangles(vector v)           = #11;
174
175 float   random(void)  = #12;
176
177 void    cmd(string command, ...) = #13;
178
179 // cvar cmds
180
181 float   cvar(string name)                       = #14;
182 const string str_cvar(string name)              = #71;
183 void    cvar_set(string name, string value)     = #15;
184
185 void    dprint(string text,...) = #16;
186
187 // conversion functions
188
189 string  ftos(float f)   = #17;
190 float   fabs(float f)   = #18;
191 string  vtos(vector v)  = #19;
192 string  etos(entity e)  = #20;
193
194 float   stof(string val,...)  = #21;
195
196 entity  spawn(void)             = #22;
197 void    remove(entity e)        = #23;
198
199 entity  find(entity start, .string field, string match)         = #24;
200 entity  findfloat(entity start, .float field, float match)      = #25;
201 entity  findentity(entity start, .entity field, entity match)   = #25;
202
203 entity  findchainstring(.string field, string match)    = #26;
204 entity  findchainfloat(.float field, float match)       = #27;
205 entity  findchainentity(.entity field, entity match)    = #27;
206
207 string  precache_file(string file)      = #28;
208 string  precache_sound(string sample)   = #29;
209
210 void    crash(void)     = #72;
211 void    coredump(void)  = #30;
212 void    stackdump(void) = #73;
213 void    traceon(void)   = #31;
214 void    traceoff(void)  = #32;
215
216 void    eprint(entity e)        = #33;
217 float   rint(float f)           = #34;
218 float   floor(float f)          = #35;
219 float   ceil(float f)           = #36;
220 entity  nextent(entity e)       = #37;
221 float   sin(float f)            = #38;
222 float   cos(float f)            = #39;
223 float   sqrt(float f)           = #40;
224 vector  randomvec(void)         = #41;
225
226 float   registercvar(string name, string value, float flags)  = #42; // returns 1 if success
227
228 float   min(float f,...)  = #43;
229 float   max(float f,...)  = #44;
230
231 float   bound(float min,float value, float max)  = #45;
232 float   pow(float a, float b)  = #46;
233
234 void    copyentity(entity src, entity dst)  = #47;
235
236 float   fopen(string filename, float mode)  = #48;
237 void    fclose(float fhandle)  = #49;
238 string  fgets(float fhandle)  = #50;
239 void    fputs(float fhandle, string s)  = #51;
240
241 float   strlen(string s)  = #52;
242 string  strcat(string s1,string s2,...)  = #53;
243 string  substring(string s, float start, float length)  = #54;
244
245 vector  stov(string s)  = #55;
246
247 string  strzone(string s)  = #56;
248 void    strunzone(string s) = #57;
249
250 float   tokenize(string s)  = #58;
251 string  argv(float n)  = #59;
252
253 float   isserver(void)  = #60;
254 float   clientcount(void)  = #61;
255 float   clientstate(void)  = #62;
256 void    clientcommand(float client, string s)  = #63;
257 void    changelevel(string map)  = #64;
258 void    localsound(string sample)  = #65;
259 vector  getmousepos(void)       = #66;
260 float   gettime(void)           = #67;
261 void    loadfromdata(string data) = #68;
262 void    loadfromfile(string file) = #69;
263
264 float   mod(float val, float m) = #70;
265
266 float   search_begin(string pattern, float caseinsensitive, float quiet) = #74;
267 void    search_end(float handle) = #75;
268 float   search_getsize(float handle) = #76;
269 string  search_getfilename(float handle, float num) = #77;
270
271 string  chr(float ascii) = #78;
272
273 /////////////////////////////////////////////////
274 // Write* Functions
275 /////////////////////////////////////////////////
276 void    WriteByte(float data, float dest, float desto)  = #401;
277 void    WriteChar(float data, float dest, float desto)  = #402;
278 void    WriteShort(float data, float dest, float desto) = #403;
279 void    WriteLong(float data, float dest, float desto)  = #404;
280 void    WriteAngle(float data, float dest, float desto) = #405;
281 void    WriteCoord(float data, float dest, float desto) = #406;
282 void    WriteString(string data, float dest, float desto)= #407;
283 void    WriteEntity(entity data, float dest, float desto) = #408;
284
285 //////////////////////////////////////////////////
286 // Draw funtions
287 //////////////////////////////////////////////////
288
289 float   iscachedpic(string name)        = #451;
290 string  precache_pic(string name, ...)  = #452;
291 void    freepic(string name)            = #453;
292
293 float   drawcharacter(vector position, float character, vector scale, vector rgb, float alpha, float flag) = #454;
294
295 float   drawstring(vector position, string text, vector scale, vector rgb, float alpha, float flag) = #455;
296
297 float   drawcolorcodedstring(vector position, string text, vector scale, float alpha, float flag) = #467;
298
299 vector  drawcolorcodedstring2(vector position, string text, vector scale, vector rgb, float alpha, float flag) = #467;
300  
301 float   drawpic(vector position, string pic, vector size, vector rgb, float alpha, float flag) = #456;
302
303 float   drawfill(vector position, vector size, vector rgb, float alpha, float flag) = #457;
304
305 void    drawsetcliparea(float x, float y, float width, float height) = #458;
306
307 void    drawresetcliparea(void) = #459;
308
309 vector  drawgetimagesize(string pic) = #460;
310
311 ////////////////////////////////////////////////
312 // Menu functions
313 ////////////////////////////////////////////////
314
315 void    setkeydest(float dest)  = #601;
316 float   getkeydest(void)        = #602;
317
318 void    setmousetarget(float trg) = #603;
319 float   getmousetarget(void)      = #604;
320
321 float   isfunction(string function_name) = #607;
322 void    callfunction(...) = #605;
323 void    writetofile(float fhandle, entity ent) = #606;
324 vector  getresolution(float number) = #608;
325 string  keynumtostring(float keynum) = #609;
326
327 float   gethostcachevalue(float type) = #611;
328 string  gethostcachestring(float type, float hostnr) = #612;
329
330 //DP_CSQC_BINDMAPS
331 //idea: daemon, motorsep
332 //darkplaces implementation: divVerent
333 //builtin definitions:
334 string(float key, float bindmap) getkeybind_bindmap = #342;
335 float(float key, string bind, float bindmap) setkeybind_bindmap = #630;
336 vector(void) getbindmaps = #631;
337 float(vector bm) setbindmaps = #632;
338 string(string command, float bindmap) findkeysforcommand = #610;
339 float(string key) stringtokeynum = #341;
340 //<also allowed builtin number to match EXT_CSQC> string(float keynum) keynumtostring = #340;
341 //description: key bind setting/getting including support for switchable
342 //bindmaps.
343
344 //DP_CRYPTO
345 //idea: divVerent
346 //darkplaces implementation: divVerent
347 //field definitions: (MENUQC)
348 string(string serveraddress) crypto_getkeyfp = #633; // retrieves the cached host key's CA fingerprint of a server given by IP address
349 string(string serveraddress) crypto_getidfp = #634; // retrieves the cached host key fingerprint of a server given by IP address
350 float(string serveraddress) crypto_getidstatus = #643; // retrieves the cached host key's key status. See below for CRYPTO_IDSTATUS_ defines.
351 string(string serveraddress) crypto_getencryptlevel = #635; // 0 if never encrypting, 1 supported, 2 requested, 3 required, appended by list of allowed methods in order of preference ("AES128"), preceded by a space each
352 string(float i) crypto_getmykeyfp = #636; // retrieves the CA key fingerprint of a given CA slot, or "" if slot is unused but more to come, or string_null if end of list
353 string(float i) crypto_getmyidfp = #637; // retrieves the ID fingerprint of a given CA slot, or "" if slot is unused but more to come, or string_null if end of list
354 float CRYPTO_IDSTATUS_OUTOFRANGE = -1;
355 float CRYPTO_IDSTATUS_EMPTY = 0;
356 float CRYPTO_IDSTATUS_UNSIGNED = 1;
357 float CRYPTO_IDSTATUS_SIGNED = 2;
358 float(float i) crypto_getmyidstatus = #641; // retrieves the ID's status of a given CA slot, or 0 if slot is unused but more to come, or -1 if end of list
359 float(string url, float id, string content_type, string delim, float buf, float keyid) crypto_uri_postbuf = #513;
360 //description:
361 //use -1 as buffer handle to justs end delim as postdata
362
363 //DP_GECKO_SUPPORT
364 //idea: Res2k, BlackHC
365 //darkplaces implementation: Res2k, BlackHC
366 //constant definitions:
367 float GECKO_BUTTON_DOWN         = 0;
368 float GECKO_BUTTON_UP           = 1;
369 // either use down and up or just press but not all of them!
370 float GECKO_BUTTON_PRESS        = 2;
371 // use this for mouse events if needed?
372 float GECKO_BUTTON_DOUBLECLICK  = 3;
373 //builtin definitions:
374 float gecko_create( string name ) = #487;
375 void gecko_destroy( string name ) = #488;
376 void gecko_navigate( string name, string URI ) = #489;
377 float gecko_keyevent( string name, float key, float eventtype ) = #490;
378 void gecko_mousemove( string name, float x, float y ) = #491;
379 void gecko_resize( string name, float w, float h ) = #492;
380 vector gecko_get_texture_extent( string name ) = #493;
381 //engine-called QC prototypes:
382 //string(string name, string query) Qecko_Query;
383 //description:
384 //provides an interface to the offscreengecko library and allows for internet browsing in games
385
386 //FTE_STRINGS
387 //idea: many
388 //darkplaces implementation: KrimZon
389 //description:
390 //various string manipulation functions
391 int(string str, string sub, float startpos) strstrofs = #221;
392 int(string str, float ofs) str2chr = #222;
393 string(int c, ...) chr2str = #223;
394 string(float ccase, float calpha, float cnum, string s, ...) strconv = #224;
395 string(float chars, string s, ...) strpad = #225;
396 string(string info, string key, string value, ...) infoadd = #226;
397 string(string info, string key) infoget = #227;
398 int(string s1, string s2) strcmp = #228;
399 int(string s1, string s2, float len) strncmp = #228;
400 int(string s1, string s2) strcasecmp = #229;
401 int(string s1, string s2, float len) strncasecmp = #230;
402
403 //DP_PRECACHE_PIC_FLAGS
404 //idea: divVerent
405 //darkplaces implementation: divVerent
406 //constant definitions:
407 float PRECACHE_PIC_FROMWAD = 1; // this one actually is part of EXT_CSQC
408 float PRECACHE_PIC_NOTPERSISTENT = 2; // picture may get deallocated when unused
409 float PRECACHE_PIC_MIPMAP = 8; // mipmap the texture for possibly better downscaling at memory expense
410 //notes: these constants are given as optional second argument to precache_pic()
411
412 //DP_QC_CRC16
413 //idea: div0
414 //darkplaces implementation: div0
415 //Some hash function to build hash tables with. This has to be be the CRC-16-CCITT that is also required for the QuakeWorld download protocol.
416 //When caseinsensitive is set, the CRC is calculated of the lower cased string.
417 float(float caseinsensitive, string s, ...) crc16 = #494;
418
419 //DP_QC_CVAR_TYPE
420 float(string name) cvar_type = #495;
421 float CVAR_TYPEFLAG_EXISTS = 1;
422 float CVAR_TYPEFLAG_SAVED = 2;
423 float CVAR_TYPEFLAG_PRIVATE = 4;
424 float CVAR_TYPEFLAG_ENGINE = 8;
425 float CVAR_TYPEFLAG_HASDESCRIPTION = 16;
426 float CVAR_TYPEFLAG_READONLY = 32;
427
428 //DP_QC_STRINGBUFFERS
429 //idea: ??
430 //darkplaces implementation: LordHavoc
431 //functions to manage string buffer objects - that is, arbitrary length string arrays that are handled by the engine
432 int() buf_create = #440;
433 void(float bufhandle) buf_del = #441;
434 float(float bufhandle) buf_getsize = #442;
435 void(float bufhandle_from, float bufhandle_to) buf_copy = #443;
436 void(float bufhandle, float sortpower, float backward) buf_sort = #444;
437 string(float bufhandle, string glue) buf_implode = #445;
438 string(float bufhandle, float string_index) bufstr_get = #446;
439 void(float bufhandle, float string_index, string str) bufstr_set = #447;
440 float(float bufhandle, string str, float order) bufstr_add = #448;
441 void(float bufhandle, float string_index) bufstr_free = #449;
442 void(float bufhandle, string pattern, string antipattern) buf_cvarlist = #517;
443
444 //DP_QC_STRING_CASE_FUNCTIONS
445 //idea: Dresk
446 //darkplaces implementation: LordHavoc / Dresk
447 //builtin definitions:
448 string(string s) strtolower = #480; // returns the passed in string in pure lowercase form
449 string(string s) strtoupper = #481; // returns the passed in string in pure uppercase form
450 //description:
451 //provides simple string uppercase and lowercase functions
452
453 //DP_QC_CVAR_DESCRIPTION
454 //idea: divVerent
455 //DarkPlaces implementation: divVerent
456 //builtin definitions:
457 string(string name) cvar_description = #518;
458 //description:
459 //returns the description of a cvar
460
461 //DP_QC_DIGEST
462 //idea: motorsep, Spike
463 //DarkPlaces implementation: divVerent
464 //builtin definitions:
465 string(string digest, string data, ...) digest_hex = #639;
466 //description:
467 //returns a given hex digest of given data
468 //the returned digest is always encoded in hexadecimal
469 //only the "MD4" digest is always supported!
470 //if the given digest is not supported, string_null is returned
471 //the digest string is matched case sensitively, use "MD4", not "md4"!
472
473 //DP_QC_URI_ESCAPE
474 //idea: div0
475 //darkplaces implementation: div0
476 //URI::Escape's functionality
477 string(string in) uri_escape = #510;
478 string(string in) uri_unescape = #511;
479
480 //DP_QC_URI_GET
481 //idea: divVerent
482 //darkplaces implementation: divVerent
483 //loads text from an URL into a string
484 //returns 1 on success of initiation, 0 if there are too many concurrent
485 //connections already or if the URL is invalid
486 //the following callback will receive the data and MUST exist!
487 //  void(float id, float status, string data) URI_Get_Callback;
488 //status is either
489 //  negative for an internal error,
490 //  0 for success, or
491 //  the HTTP response code on server error (e.g. 404)
492 //if 1 is returned by uri_get, the callback will be called in the future
493 float(string url, float id) uri_get = #513;
494 //DP_QC_URI_POST
495 //idea: divVerent
496 //darkplaces implementation: divVerent
497 //loads text from an URL into a string after POSTing via HTTP
498 //works like uri_get, but uri_post sends data with Content-Type: content_type to the server
499 //and uri_post sends the string buffer buf, joined using the delimiter delim
500 float(string url, float id, string content_type, string data) uri_post = #513;
501 float(string url, float id, string content_type, string delim, float buf) uri_postbuf = #513;
502
503 //DP_QC_ENTITYDATA
504 //idea: KrimZon
505 //darkplaces implementation: KrimZon
506 //builtin definitions:
507 float() numentityfields = #496;
508 string(float fieldnum) entityfieldname = #497;
509 float(float fieldnum) entityfieldtype = #498;
510 string(float fieldnum, entity ent) getentityfieldstring = #499;
511 float(float fieldnum, entity ent, string s) putentityfieldstring = #500;
512 //constants:
513 //Returned by entityfieldtype
514 float FIELD_STRING   = 1;
515 float FIELD_FLOAT    = 2;
516 float FIELD_VECTOR   = 3;
517 float FIELD_ENTITY   = 4;
518 float FIELD_FUNCTION = 6;
519 //description:
520 //Versatile functions intended for storing data from specific entities between level changes, but can be customized for some kind of partial savegame.
521 //WARNING: .entity fields cannot be saved and restored between map loads as they will leave dangling pointers.
522 //numentityfields returns the number of entity fields. NOT offsets. Vectors comprise 4 fields: v, v_x, v_y and v_z.
523 //entityfieldname returns the name as a string, eg. "origin" or "classname" or whatever.
524 //entityfieldtype returns a value that the constants represent, but the field may be of another type in more exotic progs.dat formats or compilers.
525 //getentityfieldstring returns data as would be written to a savegame, eg... "0.05" (float), "0 0 1" (vector), or "Hello World!" (string). Function names can also be returned.
526 //putentityfieldstring puts the data returned by getentityfieldstring back into the entity.
527
528 //DP_COVERAGE
529 //idea: divVerent
530 //darkplaces implementation: divVerent
531 //function definitions:
532 void coverage() = #642;  // Reports a coverage event. The engine counts for each of the calls to this builtin whether it has been called.
533
534 // assorted undocumented extensions
535 string(string, float) netaddress_resolve = #625;
536 string(string search, string replace, string subject) strreplace = #484;
537 string(float uselocaltime, string format, ...) strftime = #478;
538 float(string s) tokenize_console = #514;
539 float(float i) argv_start_index = #515;
540 float(float i) argv_end_index = #516;
541 string(float, float) getgamedirinfo = #626;
542 const float GETGAMEDIRINFO_NAME = 0;
543 const float GETGAMEDIRINFO_DESCRIPTION = 1;
544 float log(float f) = #532;
545 string(string format, ...) sprintf = #627;
546 string(string s) strdecolorize = #477;
547 entity  findflags(entity start, .float field, float match) = #87;
548 entity  findchainflags(.float field, float match) = #88;
549 float(string s, string separator1, ...) tokenizebyseparator = #479;
550 float   etof(entity ent) = #79;
551 entity  ftoe(float num)  = #80;
552 float   validstring(string str) = #81;
553 float   altstr_count(string str) = #82;
554 string  altstr_prepare(string str) = #83;
555 string  altstr_get(string str, float num) = #84;
556 string  altstr_set(string str, float num, string set) = #85;
557 string  altstr_ins(string str, float num, string set) = #86;
558 float   isdemo() = #349;
559 float   drawsubpic(vector position, vector size, string pic, vector srcPosition, vector srcSize, vector rgb, float alpha, float flag) = #469;
560 //vector        getresolution(float number, ...) = #608; // optional argument "isfullscreen"
561 void    parseentitydata(entity ent, string data) = #613;
562 void    resethostcachemasks(void) = #615;
563 void    sethostcachemaskstring(float mask, float fld, string str, float op) = #616;
564 void    sethostcachemasknumber(float mask, float fld, float num, float op) = #617;
565 void    resorthostcache(void) = #618;
566 float SLSF_DESCENDING = 1;
567 float SLSF_FAVORITES = 2;
568 float SLSF_CATEGORIES = 4;
569 void    sethostcachesort(float fld, float slsf) = #619;
570 void    refreshhostcache(...) = #620;  // optional boolean argument "clear_list"
571 float   gethostcachenumber(float fld, float hostnr) = #621;
572 float   gethostcacheindexforkey(string key) = #622;
573 void    addwantedhostcachekey(string key) = #623;
574 string  getextresponse(void) = #624;
575 const string cvar_string(string name) = #71;
576 const string cvar_defstring(string name) = #89;
577 float   stringwidth(string text, float handleColors, vector size) = #468;
578
579 #pragma noref 0
580
581 #endif