2013-01-30 08:04:56 +00:00
|
|
|
// builtins for the standalone qcvm included with gmqcc
|
|
|
|
// in exec.c These should be updated to reflect the new
|
|
|
|
// builtins. I no event shall you even consider adding
|
|
|
|
// these individually per test.
|
|
|
|
|
|
|
|
void (string, ...) print = #1;
|
|
|
|
string (float) ftos = #2;
|
|
|
|
entity () spawn = #3;
|
|
|
|
void (entity) kill = #4;
|
|
|
|
string (vector) vtos = #5;
|
|
|
|
void (string) error = #6;
|
|
|
|
float (vector) vlen = #7;
|
|
|
|
string (entity) etos = #8;
|
|
|
|
float (string) stof = #9;
|
|
|
|
string (...) strcat = #10;
|
|
|
|
float (string, string) strcmp = #11;
|
|
|
|
vector (vector) normalize = #12;
|
|
|
|
float (float) sqrt = #13;
|
2013-03-09 05:46:08 +00:00
|
|
|
float (float) floor = #14;
|