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.
6 void (string str, ...) print = #1;
7 string (float val) ftos = #2;
9 void (entity ent) kill = #4;
10 string (vector vec) vtos = #5;
11 void (string str) error = #6;
12 float (vector vec) vlen = #7;
13 string (entity ent) etos = #8;
14 float (string str) stof = #9;
15 string (...) strcat = #10;
16 float (string str1, string str2) strcmp = #11;
17 vector (vector vec) normalize = #12;
18 float (float val) sqrt = #13;
19 float (float val) floor = #14;
20 float (float val1, float val2) pow = #15;