38 lines
626 B
C
38 lines
626 B
C
|
#pragma once
|
||
|
|
||
|
/**
|
||
|
* @file input.h
|
||
|
* @author C. Hölzl
|
||
|
* @brief input header file
|
||
|
*/
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
#include <nds.h>
|
||
|
#include <maxmod9.h>
|
||
|
#include "soundbank.h"
|
||
|
#include "soundbank_bin.h"
|
||
|
#include "engine.h"
|
||
|
|
||
|
|
||
|
void init_load_timer();
|
||
|
void init_game_timer();
|
||
|
void disable_game_timer();
|
||
|
|
||
|
void init_audio();
|
||
|
|
||
|
void handle_keys_solo(game_t* game, gs_t* status);
|
||
|
void handle_keys_multi(gs_t* status);
|
||
|
void handle_keys_menu(gs_t* gs, gt_t* gt);
|
||
|
void handle_keys_submenu(gs_t* gs, gt_t* gt);
|
||
|
|
||
|
void handle_keys_start(gs_t* status);
|
||
|
|
||
|
u32 get_game_time();
|
||
|
void reset_game_time();
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|