]> git.xonotic.org Git - xonotic/gmqcc.git/blob - tests/defs.qh
error about too many elements in initializer; added test for initialized arrays:...
[xonotic/gmqcc.git] / tests / defs.qh
1 // builtins for the standalone qcvm included with gmqcc
2 // in exec.c  These should be updated to reflect the new
3 // builtins.  I no event shall you even consider adding
4 // these individually per test.
5
6 void   (string, ...)    print     = #1;
7 string (float)          ftos      = #2;
8 entity ()               spawn     = #3;
9 void   (entity)         kill      = #4;
10 string (vector)         vtos      = #5;
11 void   (string)         error     = #6;
12 float  (vector)         vlen      = #7;
13 string (entity)         etos      = #8;
14 float  (string)         stof      = #9;
15 string (...)            strcat    = #10;
16 float  (string, string) strcmp    = #11;
17 vector (vector)         normalize = #12;
18 float  (float)          sqrt      = #13;
19 float  (float)          floor     = #14;