mirror of
https://github.com/CTR-tools/CTR-ModSDK.git
synced 2024-12-11 15:04:03 +00:00
header revisions
This commit is contained in:
parent
c36adcbe67
commit
89c8f0edd4
@ -30,14 +30,14 @@ struct CameraDC
|
||||
// 0x4
|
||||
// action,
|
||||
// 0x20000 constantly swaps L2 zoom
|
||||
int action;
|
||||
unsigned int action;
|
||||
|
||||
// 0x08
|
||||
// camera mode, zoom out and such
|
||||
int mode;
|
||||
unsigned int mode;
|
||||
|
||||
// 0xC
|
||||
int unk0xC;
|
||||
unsigned int unk0xC;
|
||||
|
||||
// 0x10
|
||||
// desired rotation
|
||||
@ -109,7 +109,7 @@ struct CameraDC
|
||||
// & 0x800 - (aku hints + save/load) stationary away from player
|
||||
// & 0x8000 - frozen camera (disables thread, for character select)
|
||||
// & 0x10000 - reverse camera
|
||||
int flags;
|
||||
unsigned int flags;
|
||||
|
||||
// 0x74 (cam->0x9a is 8 or 0xe)
|
||||
short driverOffset_CamEyePos[3];
|
||||
@ -120,7 +120,7 @@ struct CameraDC
|
||||
short unk82;
|
||||
|
||||
// 0x84
|
||||
int driver5B0_prevFrame;
|
||||
unsigned int driver5B0_prevFrame;
|
||||
|
||||
// 0x88 - used in CAM_FollowDriver_TrackPath
|
||||
void* unk88;
|
||||
|
@ -151,10 +151,10 @@ struct GamepadSystem
|
||||
// what's 0x282?
|
||||
|
||||
// 0x290, 0x294, 0x298, 0x29c,
|
||||
int anyoneHeldCurr;
|
||||
int anyoneTapped;
|
||||
int anyoneReleased;
|
||||
int anyoneHeldPrev;
|
||||
unsigned int anyoneHeldCurr;
|
||||
unsigned int anyoneTapped;
|
||||
unsigned int anyoneReleased;
|
||||
unsigned int anyoneHeldPrev;
|
||||
|
||||
// 0x2A0
|
||||
char unk22[0x22];
|
||||
|
@ -108,10 +108,10 @@ struct InstDef
|
||||
short scale[4];
|
||||
|
||||
// 0x1c (0x24 - 8)
|
||||
int colorRGBA;
|
||||
unsigned int colorRGBA;
|
||||
|
||||
// 0x20 (0x28 - 8)
|
||||
int flags;
|
||||
unsigned int flags;
|
||||
|
||||
int unk24;
|
||||
int unk28;
|
||||
@ -152,13 +152,13 @@ struct InstDrawPerPlayer
|
||||
int unkc0[2];
|
||||
|
||||
// 0xc8
|
||||
int ptrCommandList;
|
||||
unsigned int ptrCommandList;
|
||||
|
||||
// 0xcc
|
||||
int ptrTexLayout;
|
||||
unsigned int ptrTexLayout;
|
||||
|
||||
// 0xd0
|
||||
int ptrColorLayout;
|
||||
unsigned int ptrColorLayout;
|
||||
|
||||
// 0xd4 - Anim->offset0x14?
|
||||
int unkD4;
|
||||
@ -207,7 +207,7 @@ struct Instance
|
||||
short alphaScale;
|
||||
|
||||
// 0x24
|
||||
int colorRGBA;
|
||||
unsigned int colorRGBA;
|
||||
|
||||
// 0x28
|
||||
// & 0x1 = draw instance
|
||||
@ -226,7 +226,7 @@ struct Instance
|
||||
// & 0x8000000 = draw huge
|
||||
// & 0x10000000 = invisible before pause
|
||||
// & 0x20000000 = invisible only during pause
|
||||
int flags;
|
||||
unsigned int flags;
|
||||
|
||||
// 0x2c
|
||||
// comes from LEVs
|
||||
@ -253,7 +253,7 @@ struct Instance
|
||||
|
||||
// 0x58
|
||||
// on ice
|
||||
int reflectionRGBA;
|
||||
unsigned int reflectionRGBA;
|
||||
|
||||
// instance->0x5C
|
||||
// instance->0x60 (funcPtr for individual prims)
|
||||
|
@ -91,7 +91,7 @@ struct AnimTex
|
||||
u_short frameIndex;
|
||||
|
||||
// 0xC
|
||||
struct AnimTex* ptrarray[20];
|
||||
struct AnimTex* ptrarray[1];
|
||||
};
|
||||
|
||||
struct VisFromQuadBlock
|
||||
@ -223,7 +223,7 @@ struct LevVertex
|
||||
|
||||
// 0x6
|
||||
// FUN_8001ef50
|
||||
short flags;
|
||||
u_short flags;
|
||||
|
||||
// 0x8
|
||||
unsigned char color_hi[4];
|
||||
@ -413,7 +413,7 @@ struct Level
|
||||
|
||||
// 0x24
|
||||
// converts back and forth, Inst to InstDef
|
||||
void* ptrInstDefPtrArray;
|
||||
struct InstDef** ptrInstDefPtrArray;
|
||||
|
||||
// 0x28
|
||||
// related to water?
|
||||
@ -447,8 +447,8 @@ struct Level
|
||||
short pointTo;
|
||||
|
||||
// RGBA
|
||||
int colorFrom;
|
||||
int colorTo;
|
||||
u_int colorFrom;
|
||||
u_int colorTo;
|
||||
|
||||
} glowGradient[3];
|
||||
|
||||
@ -464,7 +464,7 @@ struct Level
|
||||
|
||||
// 0xD8
|
||||
// for fullscreen clears
|
||||
int clearColorRGBA;
|
||||
u_int clearColorRGBA;
|
||||
|
||||
// 0xDC
|
||||
// & 2 = mask grab when underwater
|
||||
|
@ -31,7 +31,7 @@ struct GameProgress
|
||||
|
||||
// 8008e6ec
|
||||
// characters, tracks, cups, scrapbook
|
||||
int unlocks[2];
|
||||
unsigned int unlocks[2];
|
||||
|
||||
// 8008e6f4 -- 0x1488 bytes large
|
||||
struct HighScoreTrack highScoreTracks[18];
|
||||
|
@ -97,7 +97,5 @@ struct MenuBox
|
||||
|
||||
#if BUILD == SepReview
|
||||
unsigned char theRest[8]; // extra size?
|
||||
#elif BUILD >= UsaRetail
|
||||
// Nothing
|
||||
#endif
|
||||
};
|
Loading…
Reference in New Issue
Block a user