Label map objects
This commit is contained in:
parent
083b2016b6
commit
cd8bacbe86
11 changed files with 140 additions and 139 deletions
|
|
@ -3,6 +3,10 @@
|
|||
|
||||
#include "dolphin/types.h"
|
||||
|
||||
enum {
|
||||
MAPOBJ_MAX = 33
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ struct {
|
||||
u8 unk00_field0 : 1;
|
||||
|
|
@ -17,7 +21,7 @@ extern void fn_1_D740(s16 *arg0);
|
|||
extern void fn_1_DD84(void);
|
||||
extern void fn_1_DE94(void);
|
||||
|
||||
extern s16 lbl_1_bss_6C4[33];
|
||||
extern s16 lbl_1_bss_6C4[MAPOBJ_MAX];
|
||||
extern UnkBoardDataStruct *lbl_1_bss_0;
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -7,12 +7,9 @@
|
|||
|
||||
#define ARRAY_COUNT(arr) (s32)(sizeof(arr) / sizeof(arr[0]))
|
||||
|
||||
typedef struct w03StructUnk0 {
|
||||
/* 0x00 */ Vec unk_00;
|
||||
/* 0x0C */ Vec unk_0C;
|
||||
/* 0x18 */ Vec unk_18;
|
||||
/* 0x24 */ s32 datanum;
|
||||
} w03StructUnk0;
|
||||
enum {
|
||||
MAPOBJ_MAX = 12
|
||||
};
|
||||
|
||||
typedef struct w03UnkStruct2{
|
||||
u8 unk0 : 1;
|
||||
|
|
@ -29,4 +26,4 @@ typedef struct w03State {
|
|||
} w03State;
|
||||
|
||||
extern w03State* lbl_1_bss_0;
|
||||
extern s16 lbl_1_bss_C[14];
|
||||
extern s16 lbl_1_bss_C[MAPOBJ_MAX];
|
||||
|
|
|
|||
|
|
@ -4,7 +4,10 @@
|
|||
#include "game/process.h"
|
||||
#include "game/window.h"
|
||||
|
||||
#define ARRAY_COUNT(arr) (s32)(sizeof(arr) / sizeof(arr[0]))
|
||||
enum {
|
||||
MAPOBJ_MELON = 0,
|
||||
MAPOBJ_MAX,
|
||||
};
|
||||
|
||||
typedef struct w10_board_work {
|
||||
/* 0x00 */ s32 scene;
|
||||
|
|
@ -13,13 +16,6 @@ typedef struct w10_board_work {
|
|||
/* 0x08 */ s16 focus_mdl;
|
||||
} W10BoardWork;
|
||||
|
||||
typedef struct unkw10Dll {
|
||||
Vec unk0;
|
||||
Vec unk0C;
|
||||
Vec unk18;
|
||||
s32 unk24;
|
||||
} unkw10Dll; //sizeof 0x28
|
||||
|
||||
typedef void (*TutorialSceneFunc)(void);
|
||||
|
||||
typedef struct tutorial_scene {
|
||||
|
|
@ -83,11 +79,9 @@ void TutorialLotteryExec(void);
|
|||
void TutorialBooHouseExec(void);
|
||||
|
||||
extern W10BoardWork *boardWork;
|
||||
extern s16 lbl_1_bss_10[1];
|
||||
extern void* lbl_1_bss_8; //unknown type
|
||||
extern s16 boardMapObjMdl[MAPOBJ_MAX];
|
||||
extern s16 tutorialDoneF;
|
||||
extern s16 w10ExitWin;
|
||||
extern unkw10Dll lbl_1_data_0[1];
|
||||
extern s16 tutorialExitWin;
|
||||
|
||||
extern s16 boardStarHostMdl;
|
||||
extern s16 boardShopHostMdl;
|
||||
|
|
|
|||
13
include/game/board/map_object.h
Normal file
13
include/game/board/map_object.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef _BOARD_MAPOBJECT_H
|
||||
#define _BOARD_MAPOBJECT_H
|
||||
|
||||
#include "dolphin.h"
|
||||
|
||||
typedef struct board_map_object {
|
||||
Vec pos;
|
||||
Vec rot;
|
||||
Vec scale;
|
||||
s32 data_num;
|
||||
} BoardMapObject;
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue