mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-05-23 14:41:38 -04:00
37 lines
776 B
C
37 lines
776 B
C
#ifndef M_SELECT_H
|
|
#define M_SELECT_H
|
|
|
|
#include "types.h"
|
|
#include "game.h"
|
|
#include "m_view.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* sizeof(struct game_select_s) == 0x0238 */
|
|
typedef struct game_select_s {
|
|
/* 0x0000 */ GAME game;
|
|
/* 0x00E0 */ View view;
|
|
/* 0x0200 */ int status;
|
|
/* 0x0204 */ int cursor_x;
|
|
/* 0x0208 */ int cursor_y;
|
|
/* 0x020C */ int step;
|
|
/* 0x0210 */ int step_add;
|
|
/* 0x0214 */ int selected_course;
|
|
/* 0x0218 */ int top_course; /* course at top of screen it seems */
|
|
/* 0x021C */ u32 unk_21C;
|
|
/* 0x0220 */ int button_step;
|
|
/* 0x0224 */ u8 name[8];
|
|
/* 0x0228 */ int unk_228[3];
|
|
} GAME_SELECT;
|
|
|
|
extern void select_init(GAME_SELECT* select);
|
|
extern void select_cleanup(GAME_SELECT* select);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|