name some symbols, decompile most of w10Dll
This commit is contained in:
parent
96db71280b
commit
ecf02cfdec
8 changed files with 848 additions and 5 deletions
|
|
@ -6,5 +6,6 @@
|
|||
#include "common_enums.h"
|
||||
#include "functions.h"
|
||||
#include "variables.h"
|
||||
#include "dolphin/mtx/GeoTypes.h"
|
||||
|
||||
#endif
|
||||
|
|
@ -75,4 +75,58 @@ typedef struct data_read_stat {
|
|||
DVDFileInfo file_info;
|
||||
} DataReadStat;
|
||||
|
||||
typedef struct BoardStateSubStruct {
|
||||
/* 0x00 */ s32 unk0;
|
||||
/* 0x04 */ s16 unk4;
|
||||
/* 0x06 */ s16 unk6;
|
||||
/* 0x08 */ s16 unk8;
|
||||
} BoardStateSubStruct;
|
||||
|
||||
typedef struct BoardState {
|
||||
/* 0x00 */ char unk00[0x04];
|
||||
/* 0x04 */ s8 curTurnCount;
|
||||
/* 0x05 */ s8 maxTurnCount;
|
||||
/* 0x06 */ char unk06[0x02];
|
||||
/* 0x08 */ u8 unk08;
|
||||
/* 0x09 */ s8 doubleCoinsOnSpaceBool;
|
||||
/* 0x0A */ s8 curPlayerIndex;
|
||||
/* 0x0C */ char unk0C[4];
|
||||
/* 0x10 */ BoardStateSubStruct unk10;
|
||||
/* 0x1A */ char unk1A[0xC6];
|
||||
} BoardState; //8018fcf8, sizeof 0xE0
|
||||
|
||||
typedef struct {
|
||||
u8 unk0 : 2;
|
||||
} PlayerFlags;
|
||||
|
||||
typedef struct Player {
|
||||
/* 0x00 */ s8 characterID;
|
||||
/* 0x01 */ s8 unk01;
|
||||
/* 0x02 */ s8 unk02;
|
||||
/* 0x03 */ s8 unk03;
|
||||
/* 0x04 */ s8 controllerPort;
|
||||
/* 0x05 */ s8 items[3];
|
||||
/* 0x08 */ PlayerFlags flags; //0x02 mini mushroom, 0x04 mega mushroom
|
||||
/* 0x09 */ s8 placement; //0x80 1st, 0x20 2nd, 0x40 3rd, 0x60 4th
|
||||
/* 0x0A */ u8 spacesLeftToMove;
|
||||
/* 0x0B */ char unk_0B[5];
|
||||
/* 0x10 */ s16 nextABSSpaceIndex;
|
||||
/* 0x12 */ char unk_12[2];
|
||||
/* 0x14 */ s8 blueSpacesLanded;
|
||||
/* 0x15 */ s8 redSpacesLanded;
|
||||
/* 0x16 */ s8 happeningSpacesLanded;
|
||||
/* 0x17 */ s8 chanceSpacesLanded;
|
||||
/* 0x18 */ char unk_18;
|
||||
/* 0x19 */ s8 battleSpacesLanded;
|
||||
/* 0x1A */ s8 itemSpacesLanded;
|
||||
/* 0x1B */ s8 springSpacesLanded;
|
||||
/* 0x1C */ s16 coins;
|
||||
/* 0x1E */ char unk_1E[2];
|
||||
/* 0x20 */ s16 totalCoinsCollected;
|
||||
/* 0x22 */ s16 coinPeak;
|
||||
/* 0x24 */ char unk_24[6];
|
||||
/* 0x2A */ s16 stars;
|
||||
/* 0x2C */ char unk_2C[4];
|
||||
} Player; //size of 0x30
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ s32 HuMemMemoryAllocSizeGet(s32 size);
|
|||
void HuMemHeapDump(void *heap_ptr, s16 status);
|
||||
|
||||
void HuPrcInit(void);
|
||||
void HuPrcEnd(void);
|
||||
Process *HuPrcCreate(void (*func)(void), u16 prio, u32 stack_size, s32 extra_size);
|
||||
void HuPrcChildLink(Process *parent, Process *child);
|
||||
void HuPrcChildUnlink(Process *process);
|
||||
|
|
@ -114,4 +115,8 @@ void HuAR_ARAMtoMRAM(void *dst);
|
|||
void HuAR_ARAMtoMRAMNum(void *dst, s32 num);
|
||||
BOOL HuARDMACheck();
|
||||
|
||||
void BoardMessCreate(s16, s32, s32);
|
||||
void BoardMessKill(void);
|
||||
void BoardMessWait(void);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue