mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-30 15:41:12 +00:00
20 lines
958 B
C++
20 lines
958 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 str, ...) print = #1;
|
|
string (float val) ftos = #2;
|
|
entity () spawn = #3;
|
|
void (entity ent) kill = #4;
|
|
string (vector vec) vtos = #5;
|
|
void (string str) error = #6;
|
|
float (vector vec) vlen = #7;
|
|
string (entity ent) etos = #8;
|
|
float (string str) stof = #9;
|
|
string (...) strcat = #10;
|
|
float (string str1, string str2) strcmp = #11;
|
|
vector (vector vec) normalize = #12;
|
|
float (float val) sqrt = #13;
|
|
float (float val) floor = #14;
|
|
float (float val1, float val2) pow = #15;
|