]> git.xonotic.org Git - xonotic/gmqcc.git/blob - data/consts.qc
-_- file->filename
[xonotic/gmqcc.git] / data / consts.qc
1 /* this is the WIP test for the parser...
2  * constantly adding stuff here to see if things break
3  */
4 void(string)        print  = #1;
5 void(string,string) print2 = #1;
6 void(string,string,string) print3 = #1;
7 string(float)       ftos   = #2;
8
9 float CONST_1 = 1;
10 float CONST_2 = CONST_1 + 1;
11
12 void() main = {
13     print3("CONST_1 = ", ftos(CONST_1), "\n");
14     print3("CONST_2 = ", ftos(CONST_2), "\n");
15 };