]> de.git.xonotic.org Git - xonotic/xonotic.wiki.git/blobdiff - NewQC.textile
(Commit created by redmine exporter script from page "Halogene's_Newbie_Corner" versi...
[xonotic/xonotic.wiki.git] / NewQC.textile
index a5a33d4e0218844830317a1c6083151b5dc665f2..915a2750cd673cefbf2bc6b36eb5d7f583347b5e 100644 (file)
@@ -1,7 +1,11 @@
 h1. New QC Syntax
 
+{{>toc}}
+
 It is possible that at some point we decide to switch QC-compiler which requires some changes to the code.
 
+*For more information see* http://dev.xonotic.org/projects/bocc
+
 h2. Clean syntax:
 
 In fteqcc there are some ambiguities regarding fieldpointers, function pointers, and field-return-types etc.
@@ -60,7 +64,9 @@ float myfunc() final
 }
 </pre>
 
-h2. Variadic parameters
+h2. Variadic parameters (do not use yet)
+
+(This might get changed to be more flexible so do not rely on this syntax...)
 
 Another "enhancement" is the possibility to have functions with variadic parameter lists. However, the only way to sanely access them (until pointers are allowed) is via a recursive way.
 Here's an example that assumes float parameters and prints them one after the other: