aboutsummaryrefslogtreecommitdiff
path: root/src/game_loop/high_score.h
blob: 1af350a0e16548dd22e7ec6badb9017b2e105474 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#pragma once

#include "input.h"
#include "engine/draw_screen.h"
#include "engine/maths.h"
#include "ppu/ppu.h"

#include "game_loop/ui.h"

#include <stdint.h>
#include <stdbool.h>

typedef enum {
	hh_e_score_show,
	hh_e_score_main,
	hh_e_score_end,
} hh_e_score_states;

typedef struct {
	hh_s_gamepad pressed, rising, falling;
} hh_s_controller_exp;

void hh_high_score(hh_e_game_state* hh_game_state);

bool hh_controller_exp_pressed(hh_s_controller_exp con1);

void hh_update_controller_exp(hh_s_controller_exp* in);

void hh_kb_display(uint8_t sel);