feat: add temporary hazardous barriers in hard mode
This commit is contained in:
1 parent
08a4b41280
commit
9a3a0bd9fd
8 files changed
+466
-17
No files matched your search
@@ -17,4 +17,14 @@ uint8_t calculate_intensity_31(const GameState &state);
|
||||
uint16_t calculate_timer_freq_mhz(const GameState &state);
|
||||
uint16_t calculate_timer_reload(const GameState &state);
|
||||
|
||||
// Hard-mode temporary barriers
|
||||
void reset_barriers(GameState &state); // Main thread (init_game)
|
||||
void tick_barriers_frame(GameState &state); // VBlank IRQ: advances lifetimes
|
||||
void spawn_barriers(GameState &state); // Timer IRQ: spawns when cooldown expired
|
||||
bool check_collision_barriers(GameState &state); // Timer IRQ: head vs. active barrier
|
||||
bool is_barrier_cell(const GameState &state, int x, int y, bool include_warning);
|
||||
uint16_t calculate_barrier_interval_frames(const GameState &state);
|
||||
uint8_t calculate_barrier_max_length(const GameState &state);
|
||||
uint8_t calculate_barrier_max_batch(const GameState &state);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user