bonus stage

This commit is contained in:
t. boddy 2026-03-20 09:33:18 -04:00
parent a8bc01bedd
commit 3263b2597b
11 changed files with 529 additions and 6 deletions

View file

@ -6,10 +6,13 @@ void sfxEnemyShotC();
void sfxExplosion();
void sfxPickup();
void sfxGraze();
void sfxPlayerHit();
void sfxCollectAllTreasures();
void loadMap();
void loadGame();
#define SKIP_START 1
#define SKIP_START 0
#define SKIP_TO_BONUS 0 // 1 = boot straight into bonus stage for testing (0 for release)
u32 clock;
#define CLOCK_LIMIT 32000
@ -69,7 +72,7 @@ u16 attractClock;
#define ATTRACT_LIMIT 900 // frames of title idle before attract triggers
#define ATTRACT_DURATION 1800 // 30 seconds of demo gameplay
#define ATTRACT_LEVEL 1 // level index for attract mode (L12: Boss 4, 3 gunners)
#define START_LEVEL 2 // offset added to starting level (0 = normal start)
#define START_LEVEL 0 // offset added to starting level (0 = normal start)
// #define START_LEVEL 0 // offset added to starting level (0 = normal start)
s16 enemyCount, bulletCount;
u8 level;
@ -84,6 +87,7 @@ bool hitMessageBullet; // TRUE = blasted, FALSE = smashed
bool levelClearing;
u32 levelClearClock;
u8 levelWaitClock;
bool bonusStage;
// controls
struct controls {