mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-06-25 16:04:29 -04:00
link m_pause.c
This commit is contained in:
@@ -26,6 +26,8 @@ extern "C" {
|
||||
#define BUTTON_B 0x4000
|
||||
#define BUTTON_A 0x8000
|
||||
|
||||
#define CHECK_BTN_ALL(state, combo) (~((state) | ~(combo)) == 0)
|
||||
|
||||
/* sizeof(struct controller_s) == 0x38 */
|
||||
typedef struct controller_s {
|
||||
/* 0x00 */ f32 move_pX;
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
#ifndef M_PAUSE_H
|
||||
#define M_PAUSE_H
|
||||
|
||||
#include "types.h"
|
||||
#include "libu64/pad.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
typedef struct pause_t{
|
||||
int enabled;
|
||||
int timer;
|
||||
}pause_t; // size = 0x8
|
||||
|
||||
|
||||
void Pause_ct(pause_t* pause);
|
||||
int Pause_proc(pause_t* pause, pad_t* pad);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user