]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - misc/source/gmqcc-src/tests/defs.qh
By fteqcc, hello gmqcc
[voretournament/voretournament.git] / misc / source / gmqcc-src / tests / defs.qh
diff --git a/misc/source/gmqcc-src/tests/defs.qh b/misc/source/gmqcc-src/tests/defs.qh
new file mode 100644 (file)
index 0000000..772797a
--- /dev/null
@@ -0,0 +1,19 @@
+// 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;