mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-23 20:33:05 +00:00
20 lines
808 B
C++
20 lines
808 B
C++
// 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;
|
|
float (float) floor = #14;
|
|
float (float, float) pow = #15;
|