X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=data%2Ftest.qs;h=6ebdf2a32a24360f98c68b7b82130e93e285570e;hb=01bfdd2ae5d368937690d4b8eb79f6c82d29c488;hp=0852b5015f50711b8e22afd711de27cf5784432c;hpb=1ae035c714298752e74faf1a7f4bfa870333c9d2;p=xonotic%2Fgmqcc.git diff --git a/data/test.qs b/data/test.qs index 0852b50..6ebdf2a 100644 --- a/data/test.qs +++ b/data/test.qs @@ -82,20 +82,22 @@ FUNCTION: pow, $97 FUNCTION: findfloat, $98 FUNCTION: checkextension, $99 +FUNCTION: test #0 + FLOAT: x, 100 + FLOAT: y, 200 -;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 #3VVV - DONE -FUNCTION: m_keydown #1S - DONE -FUNCTION: m_draw #1S - DONE -FUNCTION: m_toggle #1S - DONE -FUNCTION: m_shutdown #1S + FLOAT: r_mul + FLOAT: r_div + FLOAT: r_add + FLOAT: r_sub + MUL_V x,y,r_mul + DIV_V x,y,r_div + ADD_V x,y,r_add + SUV_V x,y,r_sub + + STORE_V r_mul + CALL0 dprint + + STORE_V +END