48 lines
949 B
C
48 lines
949 B
C
#ifndef _GAME_OBJSUB_H
|
|
#define _GAME_OBJSUB_H
|
|
|
|
#include "dolphin.h"
|
|
#include "game/process.h"
|
|
#include "game/gamework_data.h"
|
|
|
|
typedef struct mg_info {
|
|
u16 ovl;
|
|
u8 type;
|
|
u8 flag;
|
|
u16 unk_4;
|
|
u16 unk_6;
|
|
u32 name_mess;
|
|
u32 data_dir;
|
|
u32 inst_pic;
|
|
u32 unk_14;
|
|
u32 unk_18;
|
|
u32 mg_pic;
|
|
u32 unk_20;
|
|
u32 unk_24;
|
|
u32 rules_mess;
|
|
u32 control_mess[2];
|
|
u32 advice_mess;
|
|
} MgInfo;
|
|
|
|
s16 omMgIndexGet(s16 overlay);
|
|
void omGameSysInit(Process *objman);
|
|
void omVibrate(s16 player_cfg_index, s16 duration, s16 off, s16 on);
|
|
|
|
|
|
extern s16 mgTypeCurr;
|
|
extern s16 mgBattleStar[4];
|
|
extern s16 mgBattleStarMax;
|
|
extern u8 lbl_801D3E94;
|
|
extern s32 mgRecordExtra;
|
|
extern s32 mgQuitExtraF;
|
|
extern s32 mgPracticeEnableF;
|
|
extern s32 mgInstExitEnableF;
|
|
extern u8 mgBoardHostEnableF;
|
|
|
|
extern s16 mgTicTacToeGrid[3][3];
|
|
extern u8 mgIndexList[256];
|
|
extern GameStat mgGameStatBackup;
|
|
|
|
extern MgInfo mgInfoTbl[];
|
|
|
|
#endif
|