blk_box_tc/main/helper.h
2024-08-11 16:46:58 -05:00

28 lines
645 B
C

#ifndef HELPER_H
#define HELPER_H
#include "drivers/game_timer.h"
#include "drivers/sseg.h"
#include "drivers/bottom_half.h"
#include "drivers/wires.h"
#include "drivers/char_lcd.h"
#include "drivers/leds.h"
#include "drivers/speaker.h"
struct StarCodeHandler {
char* code;
char* display_text;
bool should_exit;
void (*callback)(void);
};
// TODO: add something for RNG.
// TODO: add something for colors, to make everything consistant.
/// Clears most persistant bomb state
void clean_bomb(void);
void poster_child_task(void* arg);
void do_star_codes(StarCodeHandler* star_codes, int star_codes_len);
#endif /* HELPER_H */