wwww
Revision | b361c338043499d7bb66f69027edea4ebe18f052 (tree) |
---|---|
Time | 2016-08-24 21:00:10 |
Author | sparky4 <sparky4@cock...> |
Commiter | sparky4 |
wwww polished vrstest.c
@@ -52,6 +52,7 @@ void main() { | ||
52 | 52 | struct vrl1_vgax_header huge *curr_vrl; |
53 | 53 | struct vrl_container *vrl; |
54 | 54 | int success; |
55 | + byte w=1; | |
55 | 56 | |
56 | 57 | |
57 | 58 |
@@ -174,7 +175,15 @@ void main() { | ||
174 | 175 | |
175 | 176 | while(!kbhit()) |
176 | 177 | { |
177 | - modexPalUpdate0(pal); | |
178 | + switch(w) | |
179 | + { | |
180 | + case 4: | |
181 | + modexPalUpdate0(pal); | |
182 | + w=1; | |
183 | + default: | |
184 | + w++; | |
185 | + break; | |
186 | + } | |
178 | 187 | } |
179 | 188 | VGAmodeX(0, 1, &gvar); |
180 | 189 | free(spri.sprite_vrl_cont); |