]> de.git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - data/test.qs
More function parsing for assembler
[xonotic/gmqcc.git] / data / test.qs
index b087e4f8449734e7bd637ac690de6206e4138333..b714ba1f3949bce03542663fc47532fe0871b0ee 100644 (file)
@@ -82,7 +82,21 @@ FUNCTION: pow,            $97
 FUNCTION: findfloat,      $98
 FUNCTION: checkextension, $99
 
-; constants test
-VECTOR: -1,  +2, 38865.444
-FLOAT:  1
-STRING: "hello world"
+
+;code_chars_put("m_init",        0x6);
+;code_chars_put("m_keydown",     0x9);
+;code_chars_put("m_draw",        0x6);
+;code_chars_put("m_toggle",      0x8);
+;code_chars_put("m_shutdown",    0xA);
+
+FUNCTION: m_init     #1
+       DONE
+FUNCTION: m_keydown  #1
+       DONE
+FUNCTION: m_draw     #1
+       DONE
+FUNCTION: m_toggle   #1
+       DONE
+FUNCTION: m_shutdown #1
+       DONE
+