]> git.xonotic.org Git - xonotic/gmqcc.git/blob - tests/framemacro.qc
fix -fsort-operands
[xonotic/gmqcc.git] / tests / framemacro.qc
1 $frame frame1 frame2
2
3 float time;
4 entity self;
5 .float frame;
6 .float nextthink;
7 .void() think;
8
9 // Mixing syntax, = is optional.
10 void frame1_func_mixed_no_assign() [$frame1, frame2_func_mixed_no_assign] {}
11 void frame2_func_mixed_no_assign() [$frame2, frame2_func_mixed_no_assign] {}
12
13 void frame1_func_mixed() =[$frame1, frame2_func_mixed] {}
14 void frame2_func_mixed() =[$frame2, frame2_func_mixed] {}
15
16 void() frame1_func_old =[$frame1, frame2_func_old] {}
17 void() frame2_func_old =[$frame2, frame2_func_old] {}
18
19
20