Browse Source

add sprite marker test

Thomas B 1 month ago
parent
commit
15854ca485
1 changed files with 15 additions and 0 deletions
  1. 15
    0
      src/main.c

+ 15
- 0
src/main.c View File

@@ -255,6 +255,21 @@ static void splash(void) NONBANKED {
255 255
         uint8_t hiwater = SPR_NUM_START;
256 256
 
257 257
         if (!(debug_flags & DBG_MENU)) {
258
+            if (debug_flags & DBG_MARKER) {
259
+                spr_draw(SPR_DEBUG, FLIP_NONE, 0, -10, 0, &hiwater);
260
+                spr_draw(SPR_SHOT_LIGHT, FLIP_NONE, 0, -10, 0, &hiwater);
261
+
262
+                spr_draw(SPR_DEBUG, FLIP_NONE, 0, 0, 0, &hiwater);
263
+                spr_draw(SPR_SHOT, FLIP_NONE, 0, 0, 0, &hiwater);
264
+
265
+                spr_draw(SPR_DEBUG, FLIP_NONE, 0, 10, 0, &hiwater);
266
+                spr_draw(SPR_SHOT_DARK, FLIP_NONE, 0, 10, 0, &hiwater);
267
+
268
+                spr_draw(SPR_DEBUG, FLIP_NONE, 42, -42, 0, &hiwater);
269
+                spr_draw(SPR_DEBUG, FLIP_NONE, 0, -42, 0, &hiwater);
270
+                spr_draw(SPR_DEBUG, FLIP_NONE, -42, -42, 0, &hiwater);
271
+            }
272
+
258 273
             splash_anim(&hiwater);
259 274
         }
260 275
 

Loading…
Cancel
Save