mirror of https://github.com/zeldaret/oot.git
Merge branch 'main' into doc_reevaluate_playerHitResponse_names
This commit is contained in:
commit
28547d0263
|
@ -710,16 +710,16 @@ u64 gCBtnSymbolsTex[TEX_LEN(u64, gCBtnSymbolsTex_WIDTH, gCBtnSymbolsTex_HEIGHT,
|
|||
#include "assets/textures/icon_item_static/gCBtnSymbolsTex.ia8.inc.c"
|
||||
};
|
||||
|
||||
#define gNamePanelLeftTex_WIDTH 72
|
||||
#define gNamePanelLeftTex_HEIGHT 24
|
||||
u64 gNamePanelLeftTex[TEX_LEN(u64, gNamePanelLeftTex_WIDTH, gNamePanelLeftTex_HEIGHT, 8)] = {
|
||||
#include "assets/textures/icon_item_static/gNamePanelLeftTex.ia8.inc.c"
|
||||
#define gInfoPanelBgLeftTex_WIDTH 72
|
||||
#define gInfoPanelBgLeftTex_HEIGHT 24
|
||||
u64 gInfoPanelBgLeftTex[TEX_LEN(u64, gInfoPanelBgLeftTex_WIDTH, gInfoPanelBgLeftTex_HEIGHT, 8)] = {
|
||||
#include "assets/textures/icon_item_static/gInfoPanelBgLeftTex.ia8.inc.c"
|
||||
};
|
||||
|
||||
#define gNamePanelRightTex_WIDTH 72
|
||||
#define gNamePanelRightTex_HEIGHT 24
|
||||
u64 gNamePanelRightTex[TEX_LEN(u64, gNamePanelRightTex_WIDTH, gNamePanelRightTex_HEIGHT, 8)] = {
|
||||
#include "assets/textures/icon_item_static/gNamePanelRightTex.ia8.inc.c"
|
||||
#define gInfoPanelBgRightTex_WIDTH 72
|
||||
#define gInfoPanelBgRightTex_HEIGHT 24
|
||||
u64 gInfoPanelBgRightTex[TEX_LEN(u64, gInfoPanelBgRightTex_WIDTH, gInfoPanelBgRightTex_HEIGHT, 8)] = {
|
||||
#include "assets/textures/icon_item_static/gInfoPanelBgRightTex.ia8.inc.c"
|
||||
};
|
||||
|
||||
#define gLButtonTex_WIDTH 24
|
||||
|
@ -748,8 +748,8 @@ u64 gMagicArrowEquipEffectTex[TEX_LEN(u64, gMagicArrowEquipEffectTex_WIDTH, gMag
|
|||
#include "assets/textures/icon_item_static/gMagicArrowEquipEffectTex.ia8.inc.c"
|
||||
};
|
||||
|
||||
Gfx gItemNamePanelDL[18] = {
|
||||
#include "assets/textures/icon_item_static/gItemNamePanelDL.inc.c"
|
||||
Gfx gInfoPanelBgDL[18] = {
|
||||
#include "assets/textures/icon_item_static/gInfoPanelBgDL.inc.c"
|
||||
};
|
||||
|
||||
Gfx gLButtonIconDL[10] = {
|
||||
|
|
|
@ -193,7 +193,7 @@ extern u64 gSongNoteTex[TEX_LEN(u64, gSongNoteTex_WIDTH, gSongNoteTex_HEIGHT, 8)
|
|||
#define gMagicArrowEquipEffectTex_HEIGHT gMagicArrowEquipEffectTex_SIZE
|
||||
extern u64 gMagicArrowEquipEffectTex[TEX_LEN(u64, gMagicArrowEquipEffectTex_WIDTH, gMagicArrowEquipEffectTex_HEIGHT, 8)];
|
||||
|
||||
extern Gfx gItemNamePanelDL[18];
|
||||
extern Gfx gInfoPanelBgDL[18];
|
||||
extern Gfx gLButtonIconDL[10];
|
||||
extern Gfx gRButtonIconDL[10];
|
||||
extern Gfx gCButtonIconsDL[11];
|
||||
|
|
|
@ -169,14 +169,14 @@
|
|||
<Texture Name="gABtnSymbolTex" Format="ia8" Width="24" Height="16" Offset="0x861C0"/>
|
||||
<Texture Name="gBBtnSymbolTex" Format="ia8" Width="24" Height="16" Offset="0x86340"/>
|
||||
<Texture Name="gCBtnSymbolsTex" Format="ia8" Width="48" Height="16" Offset="0x864C0"/>
|
||||
<Texture Name="gNamePanelLeftTex" Format="ia8" Width="72" Height="24" Offset="0x867C0"/>
|
||||
<Texture Name="gNamePanelRightTex" Format="ia8" Width="72" Height="24" Offset="0x86E80"/>
|
||||
<Texture Name="gInfoPanelBgLeftTex" Format="ia8" Width="72" Height="24" Offset="0x867C0"/>
|
||||
<Texture Name="gInfoPanelBgRightTex" Format="ia8" Width="72" Height="24" Offset="0x86E80"/>
|
||||
<Texture Name="gLButtonTex" Format="ia8" Width="24" Height="32" Offset="0x87540"/>
|
||||
<Texture Name="gRButtonTex" Format="ia8" Width="24" Height="32" Offset="0x87840"/>
|
||||
<Texture Name="gUnknownJPNTex" Format="ia8" Width="80" Height="16" Offset="0x87B40"/>
|
||||
<Texture Name="gSongNoteTex" Format="ia8" Width="16" Height="24" Offset="0x88040"/>
|
||||
<Texture Name="gMagicArrowEquipEffectTex" Format="ia8" Width="32" Height="32" Offset="0x881C0"/>
|
||||
<DList Name="gItemNamePanelDL" Offset="0x885C0"/>
|
||||
<DList Name="gInfoPanelBgDL" Offset="0x885C0"/>
|
||||
<DList Name="gLButtonIconDL" Offset="0x88650"/>
|
||||
<DList Name="gRButtonIconDL" Offset="0x886A0"/>
|
||||
<DList Name="gCButtonIconsDL" Offset="0x886F0"/>
|
||||
|
|
|
@ -171,14 +171,14 @@
|
|||
<Texture Name="gABtnSymbolTex" Format="ia8" Width="24" Height="16" Offset="0x875C0"/>
|
||||
<Texture Name="gBBtnSymbolTex" Format="ia8" Width="24" Height="16" Offset="0x87740"/>
|
||||
<Texture Name="gCBtnSymbolsTex" Format="ia8" Width="48" Height="16" Offset="0x878C0"/>
|
||||
<Texture Name="gNamePanelLeftTex" Format="ia8" Width="72" Height="24" Offset="0x87BC0"/>
|
||||
<Texture Name="gNamePanelRightTex" Format="ia8" Width="72" Height="24" Offset="0x88280"/>
|
||||
<Texture Name="gInfoPanelBgLeftTex" Format="ia8" Width="72" Height="24" Offset="0x87BC0"/>
|
||||
<Texture Name="gInfoPanelBgRightTex" Format="ia8" Width="72" Height="24" Offset="0x88280"/>
|
||||
<Texture Name="gLButtonTex" Format="ia8" Width="24" Height="32" Offset="0x88940"/>
|
||||
<Texture Name="gRButtonTex" Format="ia8" Width="24" Height="32" Offset="0x88C40"/>
|
||||
<Texture Name="gUnknownJPNTex" Format="ia8" Width="80" Height="16" Offset="0x88F40"/>
|
||||
<Texture Name="gSongNoteTex" Format="ia8" Width="16" Height="24" Offset="0x89440"/>
|
||||
<Texture Name="gMagicArrowEquipEffectTex" Format="ia8" Width="32" Height="32" Offset="0x895C0"/>
|
||||
<DList Name="gItemNamePanelDL" Offset="0x899C0"/>
|
||||
<DList Name="gInfoPanelBgDL" Offset="0x899C0"/>
|
||||
<DList Name="gLButtonIconDL" Offset="0x89A50"/>
|
||||
<DList Name="gRButtonIconDL" Offset="0x89AA0"/>
|
||||
<DList Name="gCButtonIconsDL" Offset="0x89AF0"/>
|
||||
|
|
|
@ -168,7 +168,7 @@ typedef struct PauseContext {
|
|||
/* 0x0148 */ Vtx* equipPageVtx;
|
||||
/* 0x014C */ Vtx* mapPageVtx;
|
||||
/* 0x0150 */ Vtx* questPageVtx;
|
||||
/* 0x0154 */ Vtx* infoPanelVtx;
|
||||
/* 0x0154 */ Vtx* uiOverlayVtx;
|
||||
/* 0x0158 */ Vtx* itemVtx;
|
||||
/* 0x015C */ Vtx* equipVtx;
|
||||
/* 0x0160 */ char unk_160[0x04];
|
||||
|
|
|
@ -86,7 +86,7 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
ACELEM_NONE,
|
||||
OCELEM_NONE,
|
||||
},
|
||||
{ 0x00BB, 0x0050, 0x0000, { 0 } },
|
||||
{ 187, 80, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static InitChainEntry sInitChain[] = {
|
||||
|
|
|
@ -28,7 +28,7 @@ void func_8086EDFC(BgBombwall* this, PlayState* play);
|
|||
void func_8086EE40(BgBombwall* this, PlayState* play);
|
||||
void func_8086EE94(BgBombwall* this, PlayState* play);
|
||||
|
||||
static ColliderTrisElementInit sTrisElementsInit[3] = {
|
||||
static ColliderTrisElementInit sTrisElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -46,7 +46,7 @@ ActorProfile Bg_Haka_Sgami_Profile = {
|
|||
/**/ NULL,
|
||||
};
|
||||
|
||||
static ColliderTrisElementInit sTrisElementsInit[4] = {
|
||||
static ColliderTrisElementInit sTrisElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK2,
|
||||
|
|
|
@ -72,7 +72,7 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
{ 30, 90, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static ColliderTrisElementInit sTrisElementsInit[2] = {
|
||||
static ColliderTrisElementInit sTrisElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -39,7 +39,7 @@ ActorProfile Bg_Hidan_Dalm_Profile = {
|
|||
/**/ BgHidanDalm_Draw,
|
||||
};
|
||||
|
||||
static ColliderTrisElementInit sTrisElementInit[4] = {
|
||||
static ColliderTrisElementInit sTrisElementInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -60,7 +60,7 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
ACELEM_NONE,
|
||||
OCELEM_ON,
|
||||
},
|
||||
{ 30, 83, 0, { 0 } },
|
||||
{ 30, 83, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static CollisionCheckInfoInit sColChkInfoInit = { 1, 80, 100, MASS_IMMOVABLE };
|
||||
|
|
|
@ -41,7 +41,7 @@ static f32 sYPosOffsets[] = {
|
|||
-20.0f, -120.0f, -220.0f, -320.0f, -420.0f,
|
||||
};
|
||||
|
||||
static ColliderTrisElementInit sTrisElementsInit[2] = {
|
||||
static ColliderTrisElementInit sTrisElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -37,7 +37,7 @@ ActorProfile Bg_Hidan_Hrock_Profile = {
|
|||
/**/ BgHidanHrock_Draw,
|
||||
};
|
||||
|
||||
static ColliderTrisElementInit sTrisElementsInit[2] = {
|
||||
static ColliderTrisElementInit sTrisElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -53,7 +53,7 @@ static Gfx* sBreakableWallDLists[] = {
|
|||
gFireTempleLargeBombableWallDL,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -37,7 +37,7 @@ ActorProfile Bg_Hidan_Rsekizou_Profile = {
|
|||
/**/ BgHidanRsekizou_Draw,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[6] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -41,7 +41,7 @@ ActorProfile Bg_Hidan_Sekizou_Profile = {
|
|||
/**/ BgHidanSekizou_Draw,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[6] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -46,7 +46,7 @@ ActorProfile Bg_Hidan_Sima_Profile = {
|
|||
/**/ BgHidanSima_Draw,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[2] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -40,7 +40,7 @@ ActorProfile Bg_Jya_Bombchuiwa_Profile = {
|
|||
/**/ BgJyaBombchuiwa_Draw,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -43,7 +43,7 @@ ActorProfile Bg_Jya_Haheniron_Profile = {
|
|||
/**/ BgJyaHaheniron_Draw,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -37,7 +37,7 @@ ActorProfile Bg_Menkuri_Eye_Profile = {
|
|||
|
||||
static s32 sNumEyesShot;
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK4,
|
||||
|
|
|
@ -44,7 +44,7 @@ ActorProfile Bg_Mizu_Bwall_Profile = {
|
|||
/**/ BgMizuBwall_Draw,
|
||||
};
|
||||
|
||||
static ColliderTrisElementInit sTrisElementsInitFloor[2] = {
|
||||
static ColliderTrisElementInit sTrisElementsInitFloor[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
@ -82,7 +82,7 @@ static ColliderTrisInit sTrisInitFloor = {
|
|||
sTrisElementsInitFloor,
|
||||
};
|
||||
|
||||
static ColliderTrisElementInit sTrisElementsInitRutoWall[1] = {
|
||||
static ColliderTrisElementInit sTrisElementsInitRutoWall[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
@ -109,7 +109,7 @@ static ColliderTrisInit sTrisInitRutoWall = {
|
|||
sTrisElementsInitRutoWall,
|
||||
};
|
||||
|
||||
static ColliderTrisElementInit sTrisElementsInitWall[2] = {
|
||||
static ColliderTrisElementInit sTrisElementsInitWall[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -47,7 +47,7 @@ ActorProfile Bg_Mori_Hashigo_Profile = {
|
|||
/**/ NULL,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK4,
|
||||
|
|
|
@ -55,7 +55,7 @@ ActorProfile Bg_Po_Event_Profile = {
|
|||
/**/ BgPoEvent_Draw,
|
||||
};
|
||||
|
||||
static ColliderTrisElementInit sTrisElementsInit[2] = {
|
||||
static ColliderTrisElementInit sTrisElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK4,
|
||||
|
|
|
@ -70,7 +70,7 @@ ActorProfile Bg_Spot06_Objects_Profile = {
|
|||
/**/ BgSpot06Objects_Draw,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -49,7 +49,7 @@ ActorProfile Bg_Spot18_Basket_Profile = {
|
|||
/**/ BgSpot18Basket_Draw,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[2] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -64,7 +64,7 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
ACELEM_NONE,
|
||||
OCELEM_ON,
|
||||
},
|
||||
{ 10, 70, 0, { 0 } },
|
||||
{ 10, 70, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static CollisionCheckInfoInit sColChkInfoInit = { 10, 35, 100, MASS_IMMOVABLE };
|
||||
|
|
|
@ -39,7 +39,7 @@ ActorProfile Bg_Ydan_Maruta_Profile = {
|
|||
/**/ BgYdanMaruta_Draw,
|
||||
};
|
||||
|
||||
static ColliderTrisElementInit sTrisElementsInit[2] = {
|
||||
static ColliderTrisElementInit sTrisElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -51,7 +51,7 @@ ActorProfile Bg_Ydan_Sp_Profile = {
|
|||
/**/ BgYdanSp_Draw,
|
||||
};
|
||||
|
||||
static ColliderTrisElementInit sTrisElementsInit[2] = {
|
||||
static ColliderTrisElementInit sTrisElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -10,7 +10,7 @@ static u8 D_808C7000[] = {
|
|||
1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[19] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK3,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "collision_check.h"
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[19] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK3,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "collision_check.h"
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[9] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK3,
|
||||
|
|
|
@ -92,7 +92,7 @@ ActorProfile Boss_Goma_Profile = {
|
|||
/**/ BossGoma_Draw,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sColliderJntSphElementsInit[13] = {
|
||||
static ColliderJntSphElementInit sColliderJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK3,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "collision_check.h"
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[19] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK4,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "collision_check.h"
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInitHand[11] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInitHand[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK1,
|
||||
|
@ -137,7 +137,7 @@ static ColliderJntSphInit sJntSphInitHand = {
|
|||
sJntSphElementsInitHand,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInitHead[11] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInitHead[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK1,
|
||||
|
|
|
@ -245,7 +245,7 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
{ 85, 120, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInitSupport[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInitSupport[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
@ -272,7 +272,7 @@ static ColliderJntSphInit sJntSphInitSupport = {
|
|||
sJntSphElementsInitSupport,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInitBari[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInitBari[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -84,7 +84,14 @@ static ColliderCylinderInitType1 sCylinderInit = {
|
|||
OC1_ON | OC1_TYPE_PLAYER,
|
||||
COLSHAPE_CYLINDER,
|
||||
},
|
||||
{ 0x00, { 0x00000000, 0x00, 0x00 }, { 0x00000000, 0x00, 0x00 }, 0x00, 0x00, 0x01 },
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
{ 0x00000000, 0x00, 0x00 },
|
||||
{ 0x00000000, 0x00, 0x00 },
|
||||
ATELEM_NONE,
|
||||
ACELEM_NONE,
|
||||
OCELEM_ON,
|
||||
},
|
||||
{ 25, 80, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
ACELEM_ON,
|
||||
OCELEM_NONE,
|
||||
},
|
||||
{ 50, 10, 0, { 0 } },
|
||||
{ 50, 10, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static s16 sGrottoEntrances[] = {
|
||||
|
|
|
@ -73,7 +73,7 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
{ 20, 100, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -67,7 +67,7 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
ACELEM_ON,
|
||||
OCELEM_ON,
|
||||
},
|
||||
{ 30, 40, 0, { 0 } },
|
||||
{ 30, 40, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
void EnAni_SetupAction(EnAni* this, EnAniActionFunc actionFunc) {
|
||||
|
|
|
@ -51,7 +51,7 @@ ActorProfile En_Ba_Profile = {
|
|||
|
||||
static Vec3f D_809B8080 = { 0.0f, 0.0f, 32.0f };
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[2] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -225,7 +225,7 @@ ActorProfile En_Bb_Profile = {
|
|||
/**/ EnBb_Draw,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -62,7 +62,7 @@ ActorProfile En_Bigokuta_Profile = {
|
|||
/**/ EnBigokuta_Draw,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK1,
|
||||
|
|
|
@ -62,7 +62,7 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
{ 6, 11, 14, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -66,7 +66,7 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
{ 9, 18, 10, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -36,7 +36,7 @@ ActorProfile En_Bubble_Profile = {
|
|||
/**/ EnBubble_Draw,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[2] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -41,15 +41,17 @@ void EnButte_SetupWaitToDie(EnButte* this);
|
|||
void EnButte_WaitToDie(EnButte* this, PlayState* play);
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{ {
|
||||
ELEM_MATERIAL_UNK0,
|
||||
{ 0x00000000, 0x00, 0x00 },
|
||||
{ 0xFFCFFFFF, 0x000, 0x00 },
|
||||
ATELEM_NONE,
|
||||
ACELEM_NONE,
|
||||
OCELEM_ON,
|
||||
},
|
||||
{ 0, { { 0, 0, 0 }, 5 }, 100 } },
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
{ 0x00000000, 0x00, 0x00 },
|
||||
{ 0xFFCFFFFF, 0x00, 0x00 },
|
||||
ATELEM_NONE,
|
||||
ACELEM_NONE,
|
||||
OCELEM_ON,
|
||||
},
|
||||
{ 0, { { 0, 0, 0 }, 5 }, 100 },
|
||||
},
|
||||
};
|
||||
static ColliderJntSphInit sColliderJntSphInit = {
|
||||
{
|
||||
|
|
|
@ -43,7 +43,7 @@ ActorProfile En_Crow_Profile = {
|
|||
/**/ EnCrow_Draw,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -55,7 +55,7 @@ ActorProfile En_Dekubaba_Profile = {
|
|||
/**/ EnDekubaba_Draw,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[7] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -90,7 +90,7 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
{ 35, 70, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -80,7 +80,7 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
ELEM_MATERIAL_UNK0,
|
||||
{ 0x00000000, 0x00, 0x00 },
|
||||
{ 0x00000000, 0x00, 0x00 },
|
||||
ATELEM_NONE | ATELEM_SFX_NORMAL,
|
||||
ATELEM_NONE,
|
||||
ACELEM_NONE,
|
||||
OCELEM_ON,
|
||||
},
|
||||
|
|
|
@ -63,7 +63,7 @@ ActorProfile En_Dodongo_Profile = {
|
|||
/**/ EnDodongo_Draw,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sBodyElementsInit[6] = {
|
||||
static ColliderJntSphElementInit sBodyElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
@ -145,7 +145,7 @@ static ColliderJntSphInit sBodyJntSphInit = {
|
|||
sBodyElementsInit,
|
||||
};
|
||||
|
||||
static ColliderTrisElementInit sHardElementsInit[3] = {
|
||||
static ColliderTrisElementInit sHardElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK2,
|
||||
|
|
|
@ -58,7 +58,7 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
ACELEM_ON,
|
||||
OCELEM_ON,
|
||||
},
|
||||
{ 16, 20, 0, { 0 } },
|
||||
{ 16, 20, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static CollisionCheckInfoInit2 sColChkInfoInit = { 0, 0, 0, 0, 50 };
|
||||
|
|
|
@ -62,7 +62,7 @@ ActorProfile En_Fd_Profile = {
|
|||
#define FLARE_DANCER_BODY_DMG 0x04
|
||||
#endif
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[12] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -87,7 +87,7 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
ELEM_MATERIAL_UNK6,
|
||||
{ 0x00100700, 0x03, 0x20 },
|
||||
{ 0x0D900700, 0x00, 0x00 },
|
||||
ATELEM_ON,
|
||||
ATELEM_ON | ATELEM_SFX_NORMAL,
|
||||
ACELEM_ON,
|
||||
OCELEM_ON,
|
||||
},
|
||||
|
|
|
@ -62,7 +62,7 @@ ActorProfile En_Firefly_Profile = {
|
|||
/**/ EnFirefly_Draw,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -50,7 +50,7 @@ static Actor* D_80A17010 = NULL;
|
|||
static f32 D_80A17014 = 0.0f;
|
||||
static f32 D_80A17018 = 0.0f;
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -51,7 +51,7 @@ ActorProfile En_Fw_Profile = {
|
|||
/**/ EnFw_Draw,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -119,7 +119,7 @@ static ColliderCylinderInit sBodyCylinderInit = {
|
|||
{ 20, 50, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static ColliderTrisElementInit sBlockTrisElementsInit[2] = {
|
||||
static ColliderTrisElementInit sBlockTrisElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK2,
|
||||
|
|
|
@ -54,7 +54,14 @@ static ColliderCylinderInitType1 sCylinderInit = {
|
|||
OC1_ON | OC1_TYPE_ALL,
|
||||
COLSHAPE_CYLINDER,
|
||||
},
|
||||
{ 0x00, { 0x00000000, 0x00, 0x00 }, { 0x00000000, 0x00, 0x00 }, 0x00, 0x00, 0x01 },
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
{ 0x00000000, 0x00, 0x00 },
|
||||
{ 0x00000000, 0x00, 0x00 },
|
||||
ATELEM_NONE,
|
||||
ACELEM_NONE,
|
||||
OCELEM_ON,
|
||||
},
|
||||
{ 10, 60, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
ELEM_MATERIAL_UNK0,
|
||||
{ 0x00000000, 0x00, 0x00 },
|
||||
{ 0x00000080, 0x00, 0x00 },
|
||||
ATELEM_NONE | ATELEM_SFX_NORMAL,
|
||||
ATELEM_NONE,
|
||||
ACELEM_ON | ACELEM_HOOKABLE,
|
||||
OCELEM_ON,
|
||||
},
|
||||
|
|
|
@ -76,7 +76,7 @@ ActorProfile En_Honotrap_Profile = {
|
|||
/**/ EnHonotrap_Draw,
|
||||
};
|
||||
|
||||
static ColliderTrisElementInit sTrisElementsInit[2] = {
|
||||
static ColliderTrisElementInit sTrisElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK4,
|
||||
|
|
|
@ -143,7 +143,7 @@ static ColliderCylinderInit sCylinderInit2 = {
|
|||
{ 20, 70, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -73,7 +73,7 @@ static ColliderCylinderInitType1 sCylinderInit = {
|
|||
{ 20, 100, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -65,7 +65,7 @@ static ColliderCylinderInitType1 sCylinderInit = {
|
|||
{ 40, 100, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -107,7 +107,7 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
{ 25, 80, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static ColliderTrisElementInit sTrisElementsInit[2] = {
|
||||
static ColliderTrisElementInit sTrisElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK2,
|
||||
|
|
|
@ -70,7 +70,7 @@ ActorProfile En_Insect_Profile = {
|
|||
/**/ EnInsect_Draw,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sColliderElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sColliderElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -31,7 +31,7 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
ACELEM_NONE,
|
||||
OCELEM_ON,
|
||||
},
|
||||
{ 40, 10, 0, { 0 } },
|
||||
{ 40, 10, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static CollisionCheckInfoInit2 sColChkInfoInit = { 0, 0, 0, 0, MASS_IMMOVABLE };
|
||||
|
|
|
@ -44,7 +44,7 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
ACELEM_NONE,
|
||||
OCELEM_NONE,
|
||||
},
|
||||
{ 200, 200, 0, { 0 } },
|
||||
{ 200, 200, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
void EnMFire1_Init(Actor* thisx, PlayState* play) {
|
||||
|
|
|
@ -126,7 +126,7 @@ static ColliderCylinderInit sBodyColliderInit = {
|
|||
{ 20, 70, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static ColliderTrisElementInit sFrontShieldingTrisElementsInit[2] = {
|
||||
static ColliderTrisElementInit sFrontShieldingTrisElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK2,
|
||||
|
|
|
@ -49,8 +49,15 @@ static ColliderCylinderInitType1 sCylinderInit = {
|
|||
OC1_ON | OC1_TYPE_ALL,
|
||||
COLSHAPE_CYLINDER,
|
||||
},
|
||||
{ 0x00, { 0x00000000, 0x00, 0x00 }, { 0xFFCFFFFF, 0x00, 0x00 }, 0x00, 0x01, 0x01 },
|
||||
{ 22, 37, 0, { 0 } },
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
{ 0x00000000, 0x00, 0x00 },
|
||||
{ 0xFFCFFFFF, 0x00, 0x00 },
|
||||
ATELEM_NONE,
|
||||
ACELEM_ON,
|
||||
OCELEM_ON,
|
||||
},
|
||||
{ 22, 37, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static s16 sPrices[] = {
|
||||
|
|
|
@ -61,7 +61,7 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
ACELEM_ON,
|
||||
OCELEM_ON,
|
||||
},
|
||||
{ 13, 13, 0, { 0 } },
|
||||
{ 13, 13, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static s16 sObjectIds[] = {
|
||||
|
|
|
@ -51,7 +51,7 @@ ActorProfile En_Ny_Profile = {
|
|||
/**/ EnNy_Draw,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -155,7 +155,7 @@ static ColliderCylinderInitType1 sCylinderInit = {
|
|||
ELEM_MATERIAL_UNK0,
|
||||
{ 0x00000000, 0x00, 0x00 },
|
||||
{ 0x00000000, 0x00, 0x00 },
|
||||
ATELEM_NONE | ATELEM_SFX_NORMAL,
|
||||
ATELEM_NONE,
|
||||
ACELEM_NONE,
|
||||
OCELEM_ON,
|
||||
},
|
||||
|
|
|
@ -90,7 +90,7 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
{ 50, 160, -70, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -90,7 +90,7 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
{ 20, 40, 20, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -98,8 +98,15 @@ static ColliderCylinderInitType1 sStandingCylinderInit = {
|
|||
OC1_ON | OC1_TYPE_PLAYER,
|
||||
COLSHAPE_CYLINDER,
|
||||
},
|
||||
{ 0x00, { 0x00000000, 0x00, 0x00 }, { 0x00000000, 0x00, 0x00 }, 0x00, 0x00, 0x01 },
|
||||
{ 25, 80, 0, { 0 } },
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
{ 0x00000000, 0x00, 0x00 },
|
||||
{ 0x00000000, 0x00, 0x00 },
|
||||
ATELEM_NONE,
|
||||
ACELEM_NONE,
|
||||
OCELEM_ON,
|
||||
},
|
||||
{ 25, 80, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static ColliderCylinderInitType1 sSittingCylinderInit = {
|
||||
|
@ -110,8 +117,15 @@ static ColliderCylinderInitType1 sSittingCylinderInit = {
|
|||
OC1_ON | OC1_TYPE_PLAYER,
|
||||
COLSHAPE_CYLINDER,
|
||||
},
|
||||
{ 0x00, { 0x00000101, 0x00, 0x00 }, { 0x00000000, 0x00, 0x00 }, 0x01, 0x00, 0x01 },
|
||||
{ 20, 30, 0, { 0 } },
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
{ 0x00000101, 0x00, 0x00 },
|
||||
{ 0x00000000, 0x00, 0x00 },
|
||||
ATELEM_ON | ATELEM_SFX_NORMAL,
|
||||
ACELEM_NONE,
|
||||
OCELEM_ON,
|
||||
},
|
||||
{ 20, 30, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static void* sEyeTextures[] = {
|
||||
|
|
|
@ -97,8 +97,15 @@ static ColliderCylinderInitType1 sCylinderInit = {
|
|||
OC1_NONE,
|
||||
COLSHAPE_CYLINDER,
|
||||
},
|
||||
{ 0x00, { 0x00000000, 0x00, 0x00 }, { 0x00000080, 0x00, 0x00 }, 0x00, 0x01, 0x00 },
|
||||
{ 30, 100, 0, { 0 } },
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
{ 0x00000000, 0x00, 0x00 },
|
||||
{ 0x00000080, 0x00, 0x00 },
|
||||
ATELEM_NONE,
|
||||
ACELEM_ON,
|
||||
OCELEM_NONE,
|
||||
},
|
||||
{ 30, 100, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static void* sEyeTextures[] = {
|
||||
|
|
|
@ -57,7 +57,14 @@ static ColliderCylinderInitType1 sCylinderInit = {
|
|||
OC1_ON | OC1_TYPE_ALL,
|
||||
COLSHAPE_CYLINDER,
|
||||
},
|
||||
{ 0x00, { 0xFFCFFFFF, 0x04, 0x08 }, { 0xFFCFFFFF, 0x00, 0x00 }, 0x01, 0x01, 0x01 },
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
{ 0xFFCFFFFF, 0x04, 0x08 },
|
||||
{ 0xFFCFFFFF, 0x00, 0x00 },
|
||||
ATELEM_ON | ATELEM_SFX_NORMAL,
|
||||
ACELEM_ON,
|
||||
OCELEM_ON,
|
||||
},
|
||||
{ 30, 40, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ void EnSkb_TakeDamage(EnSkb* this, PlayState* play);
|
|||
void EnSkb_SetupDeath(EnSkb* this, PlayState* play);
|
||||
void EnSkb_Death(EnSkb* this, PlayState* play);
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[2] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -204,8 +204,8 @@ static ColliderCylinderInitType1 D_80B01678 = {
|
|||
},
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
{ 0xFFCFFFFF, 0x0, 0x08 },
|
||||
{ 0xFFCFFFFF, 0x0, 0x0 },
|
||||
{ 0xFFCFFFFF, 0x00, 0x08 },
|
||||
{ 0xFFCFFFFF, 0x00, 0x00 },
|
||||
ATELEM_ON | ATELEM_SFX_NORMAL,
|
||||
ACELEM_ON,
|
||||
OCELEM_ON,
|
||||
|
|
|
@ -99,7 +99,7 @@ static ColliderCylinderInit sCylinderInit2 = {
|
|||
{ 20, 60, -30, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -98,7 +98,7 @@ static ColliderCylinderInit sCylinderInit2 = {
|
|||
{ 20, 60, -30, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -48,15 +48,29 @@ ActorProfile En_Sw_Profile = {
|
|||
/**/ EnSw_Draw,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{ ELEM_MATERIAL_UNK0, { 0xFFCFFFFF, 0x00, 0x08 }, { 0xFFC3FFFE, 0x00, 0x00 }, 0x01, 0x05, 0x01 },
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
{ 0xFFCFFFFF, 0x00, 0x08 },
|
||||
{ 0xFFC3FFFE, 0x00, 0x00 },
|
||||
ATELEM_ON | ATELEM_SFX_NORMAL,
|
||||
ACELEM_ON | ACELEM_HOOKABLE,
|
||||
OCELEM_ON,
|
||||
},
|
||||
{ 2, { { 0, -300, 0 }, 21 }, 100 },
|
||||
},
|
||||
};
|
||||
|
||||
static ColliderJntSphInit sJntSphInit = {
|
||||
{ COL_MATERIAL_HIT6, 0x11, 0x09, 0x39, 0x10, COLSHAPE_JNTSPH },
|
||||
{
|
||||
COL_MATERIAL_HIT6,
|
||||
AT_ON | AT_TYPE_ENEMY,
|
||||
AC_ON | AC_TYPE_PLAYER,
|
||||
OC1_ON | OC1_TYPE_ALL,
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
|
|
@ -102,7 +102,7 @@ ActorProfile En_Tite_Profile = {
|
|||
/**/ EnTite_Draw,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -68,7 +68,7 @@ ActorProfile En_Tp_Profile = {
|
|||
/**/ EnTp_Draw,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -61,7 +61,14 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
OC2_TYPE_1,
|
||||
COLSHAPE_CYLINDER,
|
||||
},
|
||||
{ ELEM_MATERIAL_UNK0, { 0x00000000, 0x00, 0x00 }, { 0x00001000, 0x00, 0x00 }, ATELEM_NONE, ACELEM_ON, OCELEM_ON },
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
{ 0x00000000, 0x00, 0x00 },
|
||||
{ 0x00001000, 0x00, 0x00 },
|
||||
ATELEM_NONE,
|
||||
ACELEM_ON,
|
||||
OCELEM_ON,
|
||||
},
|
||||
{ 30, 20, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
ACELEM_ON,
|
||||
OCELEM_NONE,
|
||||
},
|
||||
{ 9, 23, 0, { 0 } },
|
||||
{ 9, 23, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
ActorProfile En_Tubo_Trap_Profile = {
|
||||
|
|
|
@ -77,7 +77,7 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
ACELEM_ON,
|
||||
OCELEM_ON,
|
||||
},
|
||||
{ 30, 40, 0, { 0 } },
|
||||
{ 30, 40, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static CollisionCheckInfoInit sColChkInfoInit = { 4, 30, 40, 150 };
|
||||
|
|
|
@ -63,7 +63,7 @@ void EnWf_SetupDie(EnWf* this);
|
|||
void EnWf_Die(EnWf* this, PlayState* play);
|
||||
s32 EnWf_DodgeRanged(PlayState* play, EnWf* this);
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[4] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -39,7 +39,7 @@ static ColliderQuadInit sQuadInit = {
|
|||
ELEM_MATERIAL_UNK0,
|
||||
{ 0x00000000, 0x00, 0x00 },
|
||||
{ 0x0001F824, 0x00, 0x00 },
|
||||
ATELEM_NONE | ATELEM_SFX_NORMAL,
|
||||
ATELEM_NONE,
|
||||
ACELEM_ON,
|
||||
OCELEM_NONE,
|
||||
},
|
||||
|
|
|
@ -224,7 +224,7 @@ static u8 sFishingPlayerCinematicState = 0;
|
|||
static u8 sFishingCinematicTimer = 0;
|
||||
static u8 sSinkingLureFound = false;
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[12] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
@ -363,7 +363,7 @@ static ColliderJntSphInit sJntSphInit = {
|
|||
{
|
||||
COL_MATERIAL_NONE,
|
||||
AT_TYPE_ENEMY,
|
||||
AC_TYPE_PLAYER,
|
||||
AC_NONE | AC_TYPE_PLAYER,
|
||||
OC1_ON | OC1_TYPE_PLAYER,
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
|
|
|
@ -79,7 +79,7 @@ static ColliderQuadInit sQuadInit = {
|
|||
{ { { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f } } },
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -57,7 +57,7 @@ static ColliderCylinderInit sCylinderInit = {
|
|||
ACELEM_ON,
|
||||
OCELEM_ON,
|
||||
},
|
||||
{ 55, 70, 0, { 0 } },
|
||||
{ 55, 70, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
static CollisionCheckInfoInit sColChkInfoInit = { 0, 12, 60, MASS_IMMOVABLE };
|
||||
|
|
|
@ -43,7 +43,7 @@ ActorProfile Obj_Comb_Profile = {
|
|||
/**/ ObjComb_Draw,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -39,12 +39,19 @@ ActorProfile Obj_Dekujr_Profile = {
|
|||
static ColliderCylinderInitToActor sCylinderInit = {
|
||||
{
|
||||
NULL,
|
||||
0x00,
|
||||
0x00,
|
||||
0x39,
|
||||
AT_NONE,
|
||||
AC_NONE,
|
||||
OC1_ON | OC1_TYPE_ALL,
|
||||
COLSHAPE_CYLINDER,
|
||||
},
|
||||
{ 0x02, { 0x00000000, 0x00, 0x00 }, { 0xFFCFFFFF, 0x00, 0x00 }, 0x00, 0x00, 0x01 },
|
||||
{
|
||||
ELEM_MATERIAL_UNK2,
|
||||
{ 0x00000000, 0x00, 0x00 },
|
||||
{ 0xFFCFFFFF, 0x00, 0x00 },
|
||||
ATELEM_NONE,
|
||||
ACELEM_NONE,
|
||||
OCELEM_ON,
|
||||
},
|
||||
{ 60, 80, 0, { 0, 0, 0 } },
|
||||
};
|
||||
|
||||
|
|
|
@ -87,7 +87,7 @@ static f32 sFocusHeights[] = {
|
|||
30, // OBJSWITCH_TYPE_CRYSTAL_TARGETABLE
|
||||
};
|
||||
|
||||
static ColliderTrisElementInit sRustyFloorTrisElementsInit[2] = {
|
||||
static ColliderTrisElementInit sRustyFloorTrisElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
@ -125,7 +125,7 @@ static ColliderTrisInit sRustyFloorTrisInit = {
|
|||
sRustyFloorTrisElementsInit,
|
||||
};
|
||||
|
||||
static ColliderTrisElementInit sEyeTrisElementsInit[2] = {
|
||||
static ColliderTrisElementInit sEyeTrisElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK4,
|
||||
|
@ -163,7 +163,7 @@ static ColliderTrisInit sEyeTrisInit = {
|
|||
sEyeTrisElementsInit,
|
||||
};
|
||||
|
||||
static ColliderJntSphElementInit sCrystalJntSphElementsInit[1] = {
|
||||
static ColliderJntSphElementInit sCrystalJntSphElementsInit[] = {
|
||||
{
|
||||
{
|
||||
ELEM_MATERIAL_UNK0,
|
||||
|
|
|
@ -1649,7 +1649,10 @@ void KaleidoScope_DrawPages(PlayState* play, GraphicsContext* gfxCtx) {
|
|||
CLOSE_DISPS(gfxCtx, "../z_kaleido_scope_PAL.c", 1577);
|
||||
}
|
||||
|
||||
void KaleidoScope_DrawInfoPanel(PlayState* play) {
|
||||
/**
|
||||
* Draws the buttons for scrolling left/right, and the info plate.
|
||||
*/
|
||||
void KaleidoScope_DrawUIOverlay(PlayState* play) {
|
||||
static void* sToEquipTextTextures[] =
|
||||
LANGUAGE_ARRAY(gPauseToEquipJPNTex, gPauseToEquipENGTex, gPauseToEquipGERTex, gPauseToEquipFRATex);
|
||||
static void* sToDecideTextTextures[] =
|
||||
|
@ -1744,90 +1747,94 @@ void KaleidoScope_DrawInfoPanel(PlayState* play) {
|
|||
}
|
||||
|
||||
temp = pauseCtx->infoPanelOffsetY - 76;
|
||||
for (j = 0, i = 0; i < 7; i++, j += 4) {
|
||||
pauseCtx->infoPanelVtx[j + 0].v.ob[0] = pauseCtx->infoPanelVtx[j + 2].v.ob[0] = -72;
|
||||
for (j = 0, i = 0; i < UI_OVERLAY_QUAD_MAX; i++, j += 4) {
|
||||
pauseCtx->uiOverlayVtx[j + 0].v.ob[0] = pauseCtx->uiOverlayVtx[j + 2].v.ob[0] = -72;
|
||||
|
||||
pauseCtx->infoPanelVtx[j + 1].v.ob[0] = pauseCtx->infoPanelVtx[j + 3].v.ob[0] = 0;
|
||||
pauseCtx->uiOverlayVtx[j + 1].v.ob[0] = pauseCtx->uiOverlayVtx[j + 3].v.ob[0] = 0;
|
||||
|
||||
pauseCtx->infoPanelVtx[j + 0].v.ob[1] = pauseCtx->infoPanelVtx[j + 1].v.ob[1] = temp;
|
||||
pauseCtx->uiOverlayVtx[j + 0].v.ob[1] = pauseCtx->uiOverlayVtx[j + 1].v.ob[1] = temp;
|
||||
|
||||
pauseCtx->infoPanelVtx[j + 2].v.ob[1] = pauseCtx->infoPanelVtx[j + 3].v.ob[1] = temp - 24;
|
||||
pauseCtx->uiOverlayVtx[j + 2].v.ob[1] = pauseCtx->uiOverlayVtx[j + 3].v.ob[1] = temp - 24;
|
||||
|
||||
pauseCtx->infoPanelVtx[j + 0].v.ob[2] = pauseCtx->infoPanelVtx[j + 1].v.ob[2] =
|
||||
pauseCtx->infoPanelVtx[j + 2].v.ob[2] = pauseCtx->infoPanelVtx[j + 3].v.ob[2] = 0;
|
||||
pauseCtx->uiOverlayVtx[j + 0].v.ob[2] = pauseCtx->uiOverlayVtx[j + 1].v.ob[2] =
|
||||
pauseCtx->uiOverlayVtx[j + 2].v.ob[2] = pauseCtx->uiOverlayVtx[j + 3].v.ob[2] = 0;
|
||||
|
||||
pauseCtx->infoPanelVtx[j + 0].v.flag = pauseCtx->infoPanelVtx[j + 1].v.flag =
|
||||
pauseCtx->infoPanelVtx[j + 2].v.flag = pauseCtx->infoPanelVtx[j + 3].v.flag = 0;
|
||||
pauseCtx->uiOverlayVtx[j + 0].v.flag = pauseCtx->uiOverlayVtx[j + 1].v.flag =
|
||||
pauseCtx->uiOverlayVtx[j + 2].v.flag = pauseCtx->uiOverlayVtx[j + 3].v.flag = 0;
|
||||
|
||||
pauseCtx->infoPanelVtx[j + 0].v.tc[0] = pauseCtx->infoPanelVtx[j + 0].v.tc[1] =
|
||||
pauseCtx->infoPanelVtx[j + 1].v.tc[1] = pauseCtx->infoPanelVtx[j + 2].v.tc[0] = 0;
|
||||
pauseCtx->uiOverlayVtx[j + 0].v.tc[0] = pauseCtx->uiOverlayVtx[j + 0].v.tc[1] =
|
||||
pauseCtx->uiOverlayVtx[j + 1].v.tc[1] = pauseCtx->uiOverlayVtx[j + 2].v.tc[0] = 0;
|
||||
|
||||
pauseCtx->infoPanelVtx[j + 1].v.tc[0] = pauseCtx->infoPanelVtx[j + 3].v.tc[0] = 0x900;
|
||||
pauseCtx->uiOverlayVtx[j + 1].v.tc[0] = pauseCtx->uiOverlayVtx[j + 3].v.tc[0] = 0x900;
|
||||
|
||||
pauseCtx->infoPanelVtx[j + 2].v.tc[1] = pauseCtx->infoPanelVtx[j + 3].v.tc[1] = 0x300;
|
||||
pauseCtx->uiOverlayVtx[j + 2].v.tc[1] = pauseCtx->uiOverlayVtx[j + 3].v.tc[1] = 0x300;
|
||||
|
||||
pauseCtx->infoPanelVtx[j + 0].v.cn[0] = pauseCtx->infoPanelVtx[j + 2].v.cn[0] =
|
||||
pauseCtx->infoPanelVtx[j + 0].v.cn[1] = pauseCtx->infoPanelVtx[j + 2].v.cn[1] =
|
||||
pauseCtx->infoPanelVtx[j + 0].v.cn[2] = pauseCtx->infoPanelVtx[j + 2].v.cn[2] =
|
||||
pauseCtx->infoPanelVtx[j + 1].v.cn[0] = pauseCtx->infoPanelVtx[j + 3].v.cn[0] =
|
||||
pauseCtx->infoPanelVtx[j + 1].v.cn[1] = pauseCtx->infoPanelVtx[j + 3].v.cn[1] =
|
||||
pauseCtx->infoPanelVtx[j + 1].v.cn[2] = pauseCtx->infoPanelVtx[j + 3].v.cn[2] = 200;
|
||||
pauseCtx->uiOverlayVtx[j + 0].v.cn[0] = pauseCtx->uiOverlayVtx[j + 2].v.cn[0] =
|
||||
pauseCtx->uiOverlayVtx[j + 0].v.cn[1] = pauseCtx->uiOverlayVtx[j + 2].v.cn[1] =
|
||||
pauseCtx->uiOverlayVtx[j + 0].v.cn[2] = pauseCtx->uiOverlayVtx[j + 2].v.cn[2] =
|
||||
pauseCtx->uiOverlayVtx[j + 1].v.cn[0] = pauseCtx->uiOverlayVtx[j + 3].v.cn[0] =
|
||||
pauseCtx->uiOverlayVtx[j + 1].v.cn[1] = pauseCtx->uiOverlayVtx[j + 3].v.cn[1] =
|
||||
pauseCtx->uiOverlayVtx[j + 1].v.cn[2] = pauseCtx->uiOverlayVtx[j + 3].v.cn[2] = 200;
|
||||
|
||||
pauseCtx->infoPanelVtx[j + 0].v.cn[3] = pauseCtx->infoPanelVtx[j + 2].v.cn[3] =
|
||||
pauseCtx->infoPanelVtx[j + 1].v.cn[3] = pauseCtx->infoPanelVtx[j + 3].v.cn[3] = pauseCtx->alpha;
|
||||
pauseCtx->uiOverlayVtx[j + 0].v.cn[3] = pauseCtx->uiOverlayVtx[j + 2].v.cn[3] =
|
||||
pauseCtx->uiOverlayVtx[j + 1].v.cn[3] = pauseCtx->uiOverlayVtx[j + 3].v.cn[3] = pauseCtx->alpha;
|
||||
}
|
||||
|
||||
pauseCtx->infoPanelVtx[4].v.ob[0] = pauseCtx->infoPanelVtx[6].v.ob[0] = pauseCtx->infoPanelVtx[0].v.ob[0] + 72;
|
||||
// UI_OVERLAY_QUAD_INFO_BG_RIGHT
|
||||
pauseCtx->uiOverlayVtx[4].v.ob[0] = pauseCtx->uiOverlayVtx[6].v.ob[0] = pauseCtx->uiOverlayVtx[0].v.ob[0] + 72;
|
||||
|
||||
pauseCtx->infoPanelVtx[5].v.ob[0] = pauseCtx->infoPanelVtx[7].v.ob[0] = pauseCtx->infoPanelVtx[4].v.ob[0] + 72;
|
||||
pauseCtx->uiOverlayVtx[5].v.ob[0] = pauseCtx->uiOverlayVtx[7].v.ob[0] = pauseCtx->uiOverlayVtx[4].v.ob[0] + 72;
|
||||
|
||||
// UI_OVERLAY_QUAD_BUTTON_LEFT
|
||||
if ((pauseCtx->cursorSpecialPos == PAUSE_CURSOR_PAGE_LEFT) && (pauseCtx->mainState == PAUSE_MAIN_STATE_IDLE)) {
|
||||
pauseCtx->infoPanelVtx[8].v.ob[0] = pauseCtx->infoPanelVtx[10].v.ob[0] = WREG(16);
|
||||
pauseCtx->uiOverlayVtx[8].v.ob[0] = pauseCtx->uiOverlayVtx[10].v.ob[0] = WREG(16);
|
||||
|
||||
pauseCtx->infoPanelVtx[9].v.ob[0] = pauseCtx->infoPanelVtx[11].v.ob[0] = pauseCtx->infoPanelVtx[8].v.ob[0] + 24;
|
||||
pauseCtx->uiOverlayVtx[9].v.ob[0] = pauseCtx->uiOverlayVtx[11].v.ob[0] = pauseCtx->uiOverlayVtx[8].v.ob[0] + 24;
|
||||
|
||||
pauseCtx->infoPanelVtx[8].v.ob[1] = pauseCtx->infoPanelVtx[9].v.ob[1] = WREG(18);
|
||||
pauseCtx->uiOverlayVtx[8].v.ob[1] = pauseCtx->uiOverlayVtx[9].v.ob[1] = WREG(18);
|
||||
|
||||
pauseCtx->infoPanelVtx[10].v.ob[1] = pauseCtx->infoPanelVtx[11].v.ob[1] =
|
||||
pauseCtx->infoPanelVtx[8].v.ob[1] - 32;
|
||||
pauseCtx->uiOverlayVtx[10].v.ob[1] = pauseCtx->uiOverlayVtx[11].v.ob[1] =
|
||||
pauseCtx->uiOverlayVtx[8].v.ob[1] - 32;
|
||||
} else {
|
||||
pauseCtx->infoPanelVtx[8].v.ob[0] = pauseCtx->infoPanelVtx[10].v.ob[0] = WREG(16) + 3;
|
||||
pauseCtx->uiOverlayVtx[8].v.ob[0] = pauseCtx->uiOverlayVtx[10].v.ob[0] = WREG(16) + 3;
|
||||
|
||||
pauseCtx->infoPanelVtx[9].v.ob[0] = pauseCtx->infoPanelVtx[11].v.ob[0] = pauseCtx->infoPanelVtx[8].v.ob[0] + 18;
|
||||
pauseCtx->uiOverlayVtx[9].v.ob[0] = pauseCtx->uiOverlayVtx[11].v.ob[0] = pauseCtx->uiOverlayVtx[8].v.ob[0] + 18;
|
||||
|
||||
pauseCtx->infoPanelVtx[8].v.ob[1] = pauseCtx->infoPanelVtx[9].v.ob[1] = WREG(18) - 3;
|
||||
pauseCtx->uiOverlayVtx[8].v.ob[1] = pauseCtx->uiOverlayVtx[9].v.ob[1] = WREG(18) - 3;
|
||||
|
||||
pauseCtx->infoPanelVtx[10].v.ob[1] = pauseCtx->infoPanelVtx[11].v.ob[1] =
|
||||
pauseCtx->infoPanelVtx[8].v.ob[1] - 26;
|
||||
pauseCtx->uiOverlayVtx[10].v.ob[1] = pauseCtx->uiOverlayVtx[11].v.ob[1] =
|
||||
pauseCtx->uiOverlayVtx[8].v.ob[1] - 26;
|
||||
}
|
||||
|
||||
// UI_OVERLAY_QUAD_BUTTON_RIGHT
|
||||
if ((pauseCtx->cursorSpecialPos == PAUSE_CURSOR_PAGE_RIGHT) && (pauseCtx->mainState == PAUSE_MAIN_STATE_IDLE)) {
|
||||
pauseCtx->infoPanelVtx[12].v.ob[0] = pauseCtx->infoPanelVtx[14].v.ob[0] = WREG(17);
|
||||
pauseCtx->uiOverlayVtx[12].v.ob[0] = pauseCtx->uiOverlayVtx[14].v.ob[0] = WREG(17);
|
||||
|
||||
pauseCtx->infoPanelVtx[13].v.ob[0] = pauseCtx->infoPanelVtx[15].v.ob[0] =
|
||||
pauseCtx->infoPanelVtx[12].v.ob[0] + 24;
|
||||
pauseCtx->uiOverlayVtx[13].v.ob[0] = pauseCtx->uiOverlayVtx[15].v.ob[0] =
|
||||
pauseCtx->uiOverlayVtx[12].v.ob[0] + 24;
|
||||
|
||||
pauseCtx->infoPanelVtx[12].v.ob[1] = pauseCtx->infoPanelVtx[13].v.ob[1] = WREG(18);
|
||||
pauseCtx->uiOverlayVtx[12].v.ob[1] = pauseCtx->uiOverlayVtx[13].v.ob[1] = WREG(18);
|
||||
|
||||
pauseCtx->infoPanelVtx[14].v.ob[1] = pauseCtx->infoPanelVtx[15].v.ob[1] =
|
||||
pauseCtx->infoPanelVtx[12].v.ob[1] - 32;
|
||||
pauseCtx->uiOverlayVtx[14].v.ob[1] = pauseCtx->uiOverlayVtx[15].v.ob[1] =
|
||||
pauseCtx->uiOverlayVtx[12].v.ob[1] - 32;
|
||||
} else {
|
||||
pauseCtx->infoPanelVtx[12].v.ob[0] = pauseCtx->infoPanelVtx[14].v.ob[0] = WREG(17) + 3;
|
||||
pauseCtx->uiOverlayVtx[12].v.ob[0] = pauseCtx->uiOverlayVtx[14].v.ob[0] = WREG(17) + 3;
|
||||
|
||||
pauseCtx->infoPanelVtx[13].v.ob[0] = pauseCtx->infoPanelVtx[15].v.ob[0] =
|
||||
pauseCtx->infoPanelVtx[12].v.ob[0] + 18;
|
||||
pauseCtx->uiOverlayVtx[13].v.ob[0] = pauseCtx->uiOverlayVtx[15].v.ob[0] =
|
||||
pauseCtx->uiOverlayVtx[12].v.ob[0] + 18;
|
||||
|
||||
pauseCtx->infoPanelVtx[12].v.ob[1] = pauseCtx->infoPanelVtx[13].v.ob[1] = WREG(18) - 3;
|
||||
pauseCtx->uiOverlayVtx[12].v.ob[1] = pauseCtx->uiOverlayVtx[13].v.ob[1] = WREG(18) - 3;
|
||||
|
||||
pauseCtx->infoPanelVtx[14].v.ob[1] = pauseCtx->infoPanelVtx[15].v.ob[1] =
|
||||
pauseCtx->infoPanelVtx[12].v.ob[1] - 26;
|
||||
pauseCtx->uiOverlayVtx[14].v.ob[1] = pauseCtx->uiOverlayVtx[15].v.ob[1] =
|
||||
pauseCtx->uiOverlayVtx[12].v.ob[1] - 26;
|
||||
}
|
||||
|
||||
pauseCtx->infoPanelVtx[9].v.tc[0] = pauseCtx->infoPanelVtx[11].v.tc[0] = pauseCtx->infoPanelVtx[13].v.tc[0] =
|
||||
pauseCtx->infoPanelVtx[15].v.tc[0] = 0x300;
|
||||
// UI_OVERLAY_QUAD_BUTTON_LEFT, UI_OVERLAY_QUAD_BUTTON_RIGHT
|
||||
pauseCtx->uiOverlayVtx[9].v.tc[0] = pauseCtx->uiOverlayVtx[11].v.tc[0] = pauseCtx->uiOverlayVtx[13].v.tc[0] =
|
||||
pauseCtx->uiOverlayVtx[15].v.tc[0] = 0x300;
|
||||
|
||||
pauseCtx->infoPanelVtx[10].v.tc[1] = pauseCtx->infoPanelVtx[11].v.tc[1] = pauseCtx->infoPanelVtx[14].v.tc[1] =
|
||||
pauseCtx->infoPanelVtx[15].v.tc[1] = 0x400;
|
||||
pauseCtx->uiOverlayVtx[10].v.tc[1] = pauseCtx->uiOverlayVtx[11].v.tc[1] = pauseCtx->uiOverlayVtx[14].v.tc[1] =
|
||||
pauseCtx->uiOverlayVtx[15].v.tc[1] = 0x400;
|
||||
|
||||
gDPSetCombineMode(POLY_OPA_DISP++, G_CC_MODULATEIA_PRIM, G_CC_MODULATEIA_PRIM);
|
||||
|
||||
|
@ -1837,14 +1844,16 @@ void KaleidoScope_DrawInfoPanel(PlayState* play) {
|
|||
MATRIX_FINALIZE_AND_LOAD(POLY_OPA_DISP++, play->state.gfxCtx, "../z_kaleido_scope_PAL.c", 1755);
|
||||
|
||||
gDPSetPrimColor(POLY_OPA_DISP++, 0, 0, 90, 100, 130, 255);
|
||||
gSPVertex(POLY_OPA_DISP++, &pauseCtx->infoPanelVtx[0], 16, 0);
|
||||
gSPVertex(POLY_OPA_DISP++, &pauseCtx->uiOverlayVtx[0], 16, 0);
|
||||
|
||||
gSPDisplayList(POLY_OPA_DISP++, gItemNamePanelDL);
|
||||
// Draw UI_OVERLAY_QUAD_INFO_BG_LEFT, UI_OVERLAY_QUAD_INFO_BG_RIGHT
|
||||
gSPDisplayList(POLY_OPA_DISP++, gInfoPanelBgDL);
|
||||
|
||||
if ((pauseCtx->cursorSpecialPos == PAUSE_CURSOR_PAGE_LEFT) && (pauseCtx->mainState == PAUSE_MAIN_STATE_IDLE)) {
|
||||
gDPSetPrimColor(POLY_OPA_DISP++, 0, 0, D_808321A0, D_808321A2, D_808321A4, D_808321A6);
|
||||
}
|
||||
|
||||
// Draw UI_OVERLAY_QUAD_BUTTON_LEFT
|
||||
gSPDisplayList(POLY_OPA_DISP++, gLButtonIconDL);
|
||||
|
||||
gDPSetPrimColor(POLY_OPA_DISP++, 0, 0, 180, 210, 255, 220);
|
||||
|
@ -1853,21 +1862,23 @@ void KaleidoScope_DrawInfoPanel(PlayState* play) {
|
|||
gDPSetPrimColor(POLY_OPA_DISP++, 0, 0, D_808321A0, D_808321A2, D_808321A4, D_808321A6);
|
||||
}
|
||||
|
||||
// Draw UI_OVERLAY_QUAD_BUTTON_RIGHT
|
||||
gSPDisplayList(POLY_OPA_DISP++, gRButtonIconDL);
|
||||
|
||||
if (pauseCtx->cursorSpecialPos != 0) {
|
||||
j = (pauseCtx->cursorSpecialPos - 8) * 4;
|
||||
pauseCtx->cursorVtx[0].v.ob[0] = pauseCtx->infoPanelVtx[j].v.ob[0];
|
||||
pauseCtx->cursorVtx[0].v.ob[1] = pauseCtx->infoPanelVtx[j].v.ob[1];
|
||||
pauseCtx->cursorVtx[0].v.ob[0] = pauseCtx->uiOverlayVtx[j].v.ob[0];
|
||||
pauseCtx->cursorVtx[0].v.ob[1] = pauseCtx->uiOverlayVtx[j].v.ob[1];
|
||||
KaleidoScope_DrawCursor(play, pauseCtx->pageIndex);
|
||||
}
|
||||
|
||||
// UI_OVERLAY_QUAD_INFO_ICON
|
||||
temp = pauseCtx->infoPanelOffsetY - 80;
|
||||
pauseCtx->infoPanelVtx[16].v.ob[1] = pauseCtx->infoPanelVtx[17].v.ob[1] = temp;
|
||||
pauseCtx->uiOverlayVtx[16].v.ob[1] = pauseCtx->uiOverlayVtx[17].v.ob[1] = temp;
|
||||
|
||||
pauseCtx->infoPanelVtx[18].v.ob[1] = pauseCtx->infoPanelVtx[19].v.ob[1] = pauseCtx->infoPanelVtx[16].v.ob[1] - 16;
|
||||
pauseCtx->uiOverlayVtx[18].v.ob[1] = pauseCtx->uiOverlayVtx[19].v.ob[1] = pauseCtx->uiOverlayVtx[16].v.ob[1] - 16;
|
||||
|
||||
pauseCtx->infoPanelVtx[18].v.tc[1] = pauseCtx->infoPanelVtx[19].v.tc[1] = 0x200;
|
||||
pauseCtx->uiOverlayVtx[18].v.tc[1] = pauseCtx->uiOverlayVtx[19].v.tc[1] = 0x200;
|
||||
|
||||
gDPPipeSync(POLY_OPA_DISP++);
|
||||
gDPSetCombineLERP(POLY_OPA_DISP++, PRIMITIVE, ENVIRONMENT, TEXEL0, ENVIRONMENT, TEXEL0, 0, PRIMITIVE, 0, PRIMITIVE,
|
||||
|
@ -1887,14 +1898,16 @@ void KaleidoScope_DrawInfoPanel(PlayState* play) {
|
|||
((pauseCtx->mainState >= PAUSE_MAIN_STATE_SONG_PROMPT_INIT) &&
|
||||
(pauseCtx->mainState <= PAUSE_MAIN_STATE_EQUIP_CHANGED)) ||
|
||||
(pauseCtx->mainState == PAUSE_MAIN_STATE_IDLE_CURSOR_ON_SONG)) {
|
||||
pauseCtx->infoPanelVtx[16].v.ob[0] = pauseCtx->infoPanelVtx[18].v.ob[0] = -63;
|
||||
|
||||
pauseCtx->infoPanelVtx[17].v.ob[0] = pauseCtx->infoPanelVtx[19].v.ob[0] =
|
||||
pauseCtx->infoPanelVtx[16].v.ob[0] + 128;
|
||||
// UI_OVERLAY_QUAD_INFO_ICON
|
||||
pauseCtx->uiOverlayVtx[16].v.ob[0] = pauseCtx->uiOverlayVtx[18].v.ob[0] = -63;
|
||||
|
||||
pauseCtx->infoPanelVtx[17].v.tc[0] = pauseCtx->infoPanelVtx[19].v.tc[0] = 0x1000;
|
||||
pauseCtx->uiOverlayVtx[17].v.ob[0] = pauseCtx->uiOverlayVtx[19].v.ob[0] =
|
||||
pauseCtx->uiOverlayVtx[16].v.ob[0] + 128;
|
||||
|
||||
gSPVertex(POLY_OPA_DISP++, &pauseCtx->infoPanelVtx[16], 4, 0);
|
||||
pauseCtx->uiOverlayVtx[17].v.tc[0] = pauseCtx->uiOverlayVtx[19].v.tc[0] = 0x1000;
|
||||
|
||||
gSPVertex(POLY_OPA_DISP++, &pauseCtx->uiOverlayVtx[16], 4, 0);
|
||||
|
||||
if (pauseCtx->nameColorSet == 1) {
|
||||
gDPSetPrimColor(POLY_OPA_DISP++, 0, 0, 70, 70, 70, 255);
|
||||
|
@ -1928,21 +1941,22 @@ void KaleidoScope_DrawInfoPanel(PlayState* play) {
|
|||
if (GET_GS_FLAGS(D_8082AE30[pauseCtx->cursorPoint[PAUSE_WORLD_MAP]]) ==
|
||||
gAreaGsFlags[D_8082AE30[pauseCtx->cursorPoint[PAUSE_WORLD_MAP]]]) {
|
||||
|
||||
pauseCtx->infoPanelVtx[24].v.ob[0] = pauseCtx->infoPanelVtx[26].v.ob[0] = -74;
|
||||
// UI_OVERLAY_QUAD_HAVE_ALL_GS
|
||||
pauseCtx->uiOverlayVtx[24].v.ob[0] = pauseCtx->uiOverlayVtx[26].v.ob[0] = -74;
|
||||
|
||||
pauseCtx->infoPanelVtx[25].v.ob[0] = pauseCtx->infoPanelVtx[27].v.ob[0] =
|
||||
pauseCtx->infoPanelVtx[24].v.ob[0] + 19;
|
||||
pauseCtx->uiOverlayVtx[25].v.ob[0] = pauseCtx->uiOverlayVtx[27].v.ob[0] =
|
||||
pauseCtx->uiOverlayVtx[24].v.ob[0] + 19;
|
||||
|
||||
pauseCtx->infoPanelVtx[24].v.ob[1] = pauseCtx->infoPanelVtx[25].v.ob[1] =
|
||||
pauseCtx->infoPanelVtx[24].v.ob[1] - 2;
|
||||
pauseCtx->uiOverlayVtx[24].v.ob[1] = pauseCtx->uiOverlayVtx[25].v.ob[1] =
|
||||
pauseCtx->uiOverlayVtx[24].v.ob[1] - 2;
|
||||
|
||||
pauseCtx->infoPanelVtx[26].v.ob[1] = pauseCtx->infoPanelVtx[27].v.ob[1] =
|
||||
pauseCtx->infoPanelVtx[24].v.ob[1] - 19;
|
||||
pauseCtx->uiOverlayVtx[26].v.ob[1] = pauseCtx->uiOverlayVtx[27].v.ob[1] =
|
||||
pauseCtx->uiOverlayVtx[24].v.ob[1] - 19;
|
||||
|
||||
pauseCtx->infoPanelVtx[25].v.tc[0] = pauseCtx->infoPanelVtx[27].v.tc[0] = 0x300;
|
||||
pauseCtx->uiOverlayVtx[25].v.tc[0] = pauseCtx->uiOverlayVtx[27].v.tc[0] = 0x300;
|
||||
|
||||
gDPPipeSync(POLY_OPA_DISP++);
|
||||
gSPVertex(POLY_OPA_DISP++, &pauseCtx->infoPanelVtx[24], 4, 0);
|
||||
gSPVertex(POLY_OPA_DISP++, &pauseCtx->uiOverlayVtx[24], 4, 0);
|
||||
|
||||
gDPSetCombineLERP(POLY_OPA_DISP++, PRIMITIVE, ENVIRONMENT, TEXEL0, ENVIRONMENT, TEXEL0, 0, PRIMITIVE, 0,
|
||||
PRIMITIVE, ENVIRONMENT, TEXEL0, ENVIRONMENT, TEXEL0, 0, PRIMITIVE, 0);
|
||||
|
@ -1955,31 +1969,36 @@ void KaleidoScope_DrawInfoPanel(PlayState* play) {
|
|||
}
|
||||
} else if ((pauseCtx->mainState < PAUSE_MAIN_STATE_3) || (pauseCtx->mainState == PAUSE_MAIN_STATE_EQUIP_CHANGED) ||
|
||||
(pauseCtx->mainState == PAUSE_MAIN_STATE_IDLE_CURSOR_ON_SONG)) {
|
||||
pauseCtx->infoPanelVtx[20].v.ob[1] = pauseCtx->infoPanelVtx[21].v.ob[1] = temp;
|
||||
// UI_OVERLAY_QUAD_INFO_TEXT
|
||||
pauseCtx->uiOverlayVtx[20].v.ob[1] = pauseCtx->uiOverlayVtx[21].v.ob[1] = temp;
|
||||
|
||||
pauseCtx->infoPanelVtx[22].v.ob[1] = pauseCtx->infoPanelVtx[23].v.ob[1] =
|
||||
pauseCtx->infoPanelVtx[20].v.ob[1] - 16;
|
||||
pauseCtx->uiOverlayVtx[22].v.ob[1] = pauseCtx->uiOverlayVtx[23].v.ob[1] =
|
||||
pauseCtx->uiOverlayVtx[20].v.ob[1] - 16;
|
||||
|
||||
pauseCtx->infoPanelVtx[22].v.tc[1] = pauseCtx->infoPanelVtx[23].v.tc[1] = 0x200;
|
||||
pauseCtx->uiOverlayVtx[22].v.tc[1] = pauseCtx->uiOverlayVtx[23].v.tc[1] = 0x200;
|
||||
|
||||
gSPVertex(POLY_OPA_DISP++, &pauseCtx->infoPanelVtx[16], 8, 0);
|
||||
gSPVertex(POLY_OPA_DISP++, &pauseCtx->uiOverlayVtx[16], 8, 0);
|
||||
|
||||
if (pauseCtx->state == PAUSE_STATE_SAVE_PROMPT) {
|
||||
pauseCtx->infoPanelVtx[16].v.ob[0] = pauseCtx->infoPanelVtx[18].v.ob[0] =
|
||||
// UI_OVERLAY_QUAD_INFO_ICON
|
||||
pauseCtx->uiOverlayVtx[16].v.ob[0] = pauseCtx->uiOverlayVtx[18].v.ob[0] =
|
||||
R_KALEIDO_UNK5(gSaveContext.language);
|
||||
|
||||
pauseCtx->infoPanelVtx[17].v.ob[0] = pauseCtx->infoPanelVtx[19].v.ob[0] =
|
||||
pauseCtx->infoPanelVtx[16].v.ob[0] + 24;
|
||||
pauseCtx->uiOverlayVtx[17].v.ob[0] = pauseCtx->uiOverlayVtx[19].v.ob[0] =
|
||||
pauseCtx->uiOverlayVtx[16].v.ob[0] + 24;
|
||||
|
||||
pauseCtx->infoPanelVtx[20].v.ob[0] = pauseCtx->infoPanelVtx[22].v.ob[0] =
|
||||
pauseCtx->infoPanelVtx[16].v.ob[0] + R_KALEIDO_UNK2(gSaveContext.language);
|
||||
// UI_OVERLAY_QUAD_INFO_TEXT
|
||||
pauseCtx->uiOverlayVtx[20].v.ob[0] = pauseCtx->uiOverlayVtx[22].v.ob[0] =
|
||||
pauseCtx->uiOverlayVtx[16].v.ob[0] + R_KALEIDO_UNK2(gSaveContext.language);
|
||||
|
||||
pauseCtx->infoPanelVtx[21].v.ob[0] = pauseCtx->infoPanelVtx[23].v.ob[0] =
|
||||
pauseCtx->infoPanelVtx[20].v.ob[0] + sToDecideTextWidths[gSaveContext.language];
|
||||
pauseCtx->uiOverlayVtx[21].v.ob[0] = pauseCtx->uiOverlayVtx[23].v.ob[0] =
|
||||
pauseCtx->uiOverlayVtx[20].v.ob[0] + sToDecideTextWidths[gSaveContext.language];
|
||||
|
||||
pauseCtx->infoPanelVtx[17].v.tc[0] = pauseCtx->infoPanelVtx[19].v.tc[0] = 0x300;
|
||||
// UI_OVERLAY_QUAD_INFO_ICON
|
||||
pauseCtx->uiOverlayVtx[17].v.tc[0] = pauseCtx->uiOverlayVtx[19].v.tc[0] = 0x300;
|
||||
|
||||
pauseCtx->infoPanelVtx[21].v.tc[0] = pauseCtx->infoPanelVtx[23].v.tc[0] =
|
||||
// UI_OVERLAY_QUAD_INFO_TEXT
|
||||
pauseCtx->uiOverlayVtx[21].v.tc[0] = pauseCtx->uiOverlayVtx[23].v.tc[0] =
|
||||
sToDecideTextWidths[gSaveContext.language] << 5;
|
||||
|
||||
gSPDisplayList(POLY_OPA_DISP++, gAButtonIconDL);
|
||||
|
@ -1991,12 +2010,13 @@ void KaleidoScope_DrawInfoPanel(PlayState* play) {
|
|||
sToDecideTextWidths[gSaveContext.language], 16, 4);
|
||||
} else if (pauseCtx->cursorSpecialPos != 0) {
|
||||
if ((pauseCtx->state == PAUSE_STATE_MAIN) && (pauseCtx->mainState == PAUSE_MAIN_STATE_IDLE)) {
|
||||
pauseCtx->infoPanelVtx[16].v.ob[0] = pauseCtx->infoPanelVtx[18].v.ob[0] = -63;
|
||||
// UI_OVERLAY_QUAD_INFO_ICON
|
||||
pauseCtx->uiOverlayVtx[16].v.ob[0] = pauseCtx->uiOverlayVtx[18].v.ob[0] = -63;
|
||||
|
||||
pauseCtx->infoPanelVtx[17].v.ob[0] = pauseCtx->infoPanelVtx[19].v.ob[0] =
|
||||
pauseCtx->infoPanelVtx[16].v.ob[0] + 128;
|
||||
pauseCtx->uiOverlayVtx[17].v.ob[0] = pauseCtx->uiOverlayVtx[19].v.ob[0] =
|
||||
pauseCtx->uiOverlayVtx[16].v.ob[0] + 128;
|
||||
|
||||
pauseCtx->infoPanelVtx[17].v.tc[0] = pauseCtx->infoPanelVtx[19].v.tc[0] = 0x1000;
|
||||
pauseCtx->uiOverlayVtx[17].v.tc[0] = pauseCtx->uiOverlayVtx[19].v.tc[0] = 0x1000;
|
||||
|
||||
gDPPipeSync(POLY_OPA_DISP++);
|
||||
gDPSetPrimColor(POLY_OPA_DISP++, 0, 0, 255, 200, 0, 255);
|
||||
|
@ -2013,21 +2033,25 @@ void KaleidoScope_DrawInfoPanel(PlayState* play) {
|
|||
}
|
||||
} else {
|
||||
if ((u32)pauseCtx->pageIndex == PAUSE_ITEM) {
|
||||
pauseCtx->infoPanelVtx[16].v.ob[0] = pauseCtx->infoPanelVtx[18].v.ob[0] =
|
||||
// UI_OVERLAY_QUAD_INFO_ICON
|
||||
pauseCtx->uiOverlayVtx[16].v.ob[0] = pauseCtx->uiOverlayVtx[18].v.ob[0] =
|
||||
R_KALEIDO_UNK1(gSaveContext.language);
|
||||
|
||||
pauseCtx->infoPanelVtx[17].v.ob[0] = pauseCtx->infoPanelVtx[19].v.ob[0] =
|
||||
pauseCtx->infoPanelVtx[16].v.ob[0] + 48;
|
||||
pauseCtx->uiOverlayVtx[17].v.ob[0] = pauseCtx->uiOverlayVtx[19].v.ob[0] =
|
||||
pauseCtx->uiOverlayVtx[16].v.ob[0] + 48;
|
||||
|
||||
pauseCtx->infoPanelVtx[20].v.ob[0] = pauseCtx->infoPanelVtx[22].v.ob[0] =
|
||||
pauseCtx->infoPanelVtx[16].v.ob[0] + R_KALEIDO_UNK4(gSaveContext.language);
|
||||
// UI_OVERLAY_QUAD_INFO_TEXT
|
||||
pauseCtx->uiOverlayVtx[20].v.ob[0] = pauseCtx->uiOverlayVtx[22].v.ob[0] =
|
||||
pauseCtx->uiOverlayVtx[16].v.ob[0] + R_KALEIDO_UNK4(gSaveContext.language);
|
||||
|
||||
pauseCtx->infoPanelVtx[21].v.ob[0] = pauseCtx->infoPanelVtx[23].v.ob[0] =
|
||||
pauseCtx->infoPanelVtx[20].v.ob[0] + sToEquipTextWidths[gSaveContext.language];
|
||||
pauseCtx->uiOverlayVtx[21].v.ob[0] = pauseCtx->uiOverlayVtx[23].v.ob[0] =
|
||||
pauseCtx->uiOverlayVtx[20].v.ob[0] + sToEquipTextWidths[gSaveContext.language];
|
||||
|
||||
pauseCtx->infoPanelVtx[17].v.tc[0] = pauseCtx->infoPanelVtx[19].v.tc[0] = 0x600;
|
||||
// UI_OVERLAY_QUAD_INFO_ICON
|
||||
pauseCtx->uiOverlayVtx[17].v.tc[0] = pauseCtx->uiOverlayVtx[19].v.tc[0] = 0x600;
|
||||
|
||||
pauseCtx->infoPanelVtx[21].v.tc[0] = pauseCtx->infoPanelVtx[23].v.tc[0] =
|
||||
// UI_OVERLAY_QUAD_INFO_TEXT
|
||||
pauseCtx->uiOverlayVtx[21].v.tc[0] = pauseCtx->uiOverlayVtx[23].v.tc[0] =
|
||||
sToEquipTextWidths[gSaveContext.language] << 5;
|
||||
|
||||
gSPDisplayList(POLY_OPA_DISP++, gCButtonIconsDL);
|
||||
|
@ -2042,28 +2066,32 @@ void KaleidoScope_DrawInfoPanel(PlayState* play) {
|
|||
} else if ((pauseCtx->pageIndex == PAUSE_QUEST) &&
|
||||
((pauseCtx->cursorSlot[PAUSE_QUEST] >= 6) && (pauseCtx->cursorSlot[PAUSE_QUEST] <= 0x11))) {
|
||||
if (pauseCtx->namedItem != PAUSE_ITEM_NONE) {
|
||||
pauseCtx->infoPanelVtx[16].v.ob[0] = pauseCtx->infoPanelVtx[18].v.ob[0] =
|
||||
// UI_OVERLAY_QUAD_INFO_ICON
|
||||
pauseCtx->uiOverlayVtx[16].v.ob[0] = pauseCtx->uiOverlayVtx[18].v.ob[0] =
|
||||
R_KALEIDO_UNK3(gSaveContext.language);
|
||||
|
||||
pauseCtx->infoPanelVtx[17].v.ob[0] = pauseCtx->infoPanelVtx[19].v.ob[0] =
|
||||
pauseCtx->infoPanelVtx[16].v.ob[0] + 24;
|
||||
pauseCtx->uiOverlayVtx[17].v.ob[0] = pauseCtx->uiOverlayVtx[19].v.ob[0] =
|
||||
pauseCtx->uiOverlayVtx[16].v.ob[0] + 24;
|
||||
|
||||
pauseCtx->infoPanelVtx[20].v.ob[0] = pauseCtx->infoPanelVtx[22].v.ob[0] =
|
||||
pauseCtx->infoPanelVtx[16].v.ob[0] + R_KALEIDO_UNK2(gSaveContext.language);
|
||||
// UI_OVERLAY_QUAD_INFO_TEXT
|
||||
pauseCtx->uiOverlayVtx[20].v.ob[0] = pauseCtx->uiOverlayVtx[22].v.ob[0] =
|
||||
pauseCtx->uiOverlayVtx[16].v.ob[0] + R_KALEIDO_UNK2(gSaveContext.language);
|
||||
|
||||
#if OOT_PAL
|
||||
if (gSaveContext.language == LANGUAGE_GER) {
|
||||
pauseCtx->infoPanelVtx[20].v.ob[0] = pauseCtx->infoPanelVtx[22].v.ob[0] =
|
||||
pauseCtx->infoPanelVtx[16].v.ob[0] - 99;
|
||||
pauseCtx->uiOverlayVtx[20].v.ob[0] = pauseCtx->uiOverlayVtx[22].v.ob[0] =
|
||||
pauseCtx->uiOverlayVtx[16].v.ob[0] - 99;
|
||||
}
|
||||
#endif
|
||||
|
||||
pauseCtx->infoPanelVtx[21].v.ob[0] = pauseCtx->infoPanelVtx[23].v.ob[0] =
|
||||
pauseCtx->infoPanelVtx[20].v.ob[0] + sToPlayMelodyTextWidths[gSaveContext.language];
|
||||
pauseCtx->uiOverlayVtx[21].v.ob[0] = pauseCtx->uiOverlayVtx[23].v.ob[0] =
|
||||
pauseCtx->uiOverlayVtx[20].v.ob[0] + sToPlayMelodyTextWidths[gSaveContext.language];
|
||||
|
||||
pauseCtx->infoPanelVtx[17].v.tc[0] = pauseCtx->infoPanelVtx[19].v.tc[0] = 0x300;
|
||||
// UI_OVERLAY_QUAD_INFO_ICON
|
||||
pauseCtx->uiOverlayVtx[17].v.tc[0] = pauseCtx->uiOverlayVtx[19].v.tc[0] = 0x300;
|
||||
|
||||
pauseCtx->infoPanelVtx[21].v.tc[0] = pauseCtx->infoPanelVtx[23].v.tc[0] =
|
||||
// UI_OVERLAY_QUAD_INFO_TEXT
|
||||
pauseCtx->uiOverlayVtx[21].v.tc[0] = pauseCtx->uiOverlayVtx[23].v.tc[0] =
|
||||
sToPlayMelodyTextWidths[gSaveContext.language] << 5;
|
||||
|
||||
gSPDisplayList(POLY_OPA_DISP++, gAButtonIconDL);
|
||||
|
@ -2076,21 +2104,25 @@ void KaleidoScope_DrawInfoPanel(PlayState* play) {
|
|||
sToPlayMelodyTextWidths[gSaveContext.language], 16, 4);
|
||||
}
|
||||
} else if (pauseCtx->pageIndex == PAUSE_EQUIP) {
|
||||
pauseCtx->infoPanelVtx[16].v.ob[0] = pauseCtx->infoPanelVtx[18].v.ob[0] =
|
||||
// UI_OVERLAY_QUAD_INFO_ICON
|
||||
pauseCtx->uiOverlayVtx[16].v.ob[0] = pauseCtx->uiOverlayVtx[18].v.ob[0] =
|
||||
R_KALEIDO_UNK6(gSaveContext.language);
|
||||
|
||||
pauseCtx->infoPanelVtx[17].v.ob[0] = pauseCtx->infoPanelVtx[19].v.ob[0] =
|
||||
pauseCtx->infoPanelVtx[16].v.ob[0] + 24;
|
||||
pauseCtx->uiOverlayVtx[17].v.ob[0] = pauseCtx->uiOverlayVtx[19].v.ob[0] =
|
||||
pauseCtx->uiOverlayVtx[16].v.ob[0] + 24;
|
||||
|
||||
pauseCtx->infoPanelVtx[20].v.ob[0] = pauseCtx->infoPanelVtx[22].v.ob[0] =
|
||||
pauseCtx->infoPanelVtx[16].v.ob[0] + R_KALEIDO_UNK2(gSaveContext.language);
|
||||
// UI_OVERLAY_QUAD_INFO_TEXT
|
||||
pauseCtx->uiOverlayVtx[20].v.ob[0] = pauseCtx->uiOverlayVtx[22].v.ob[0] =
|
||||
pauseCtx->uiOverlayVtx[16].v.ob[0] + R_KALEIDO_UNK2(gSaveContext.language);
|
||||
|
||||
pauseCtx->infoPanelVtx[21].v.ob[0] = pauseCtx->infoPanelVtx[23].v.ob[0] =
|
||||
pauseCtx->infoPanelVtx[20].v.ob[0] + sToEquipTextWidths[gSaveContext.language];
|
||||
pauseCtx->uiOverlayVtx[21].v.ob[0] = pauseCtx->uiOverlayVtx[23].v.ob[0] =
|
||||
pauseCtx->uiOverlayVtx[20].v.ob[0] + sToEquipTextWidths[gSaveContext.language];
|
||||
|
||||
pauseCtx->infoPanelVtx[17].v.tc[0] = pauseCtx->infoPanelVtx[19].v.tc[0] = 0x300;
|
||||
// UI_OVERLAY_QUAD_INFO_ICON
|
||||
pauseCtx->uiOverlayVtx[17].v.tc[0] = pauseCtx->uiOverlayVtx[19].v.tc[0] = 0x300;
|
||||
|
||||
pauseCtx->infoPanelVtx[21].v.tc[0] = pauseCtx->infoPanelVtx[23].v.tc[0] =
|
||||
// UI_OVERLAY_QUAD_INFO_TEXT
|
||||
pauseCtx->uiOverlayVtx[21].v.tc[0] = pauseCtx->uiOverlayVtx[23].v.tc[0] =
|
||||
sToEquipTextWidths[gSaveContext.language] << 5;
|
||||
|
||||
gSPDisplayList(POLY_OPA_DISP++, gAButtonIconDL);
|
||||
|
@ -3328,7 +3360,7 @@ void KaleidoScope_SetVertices(PlayState* play, GraphicsContext* gfxCtx) {
|
|||
pauseCtx->questVtx[k + 3].v.cn[3] = pauseCtx->alpha;
|
||||
}
|
||||
|
||||
pauseCtx->infoPanelVtx = GRAPH_ALLOC(gfxCtx, 28 * sizeof(Vtx));
|
||||
pauseCtx->uiOverlayVtx = GRAPH_ALLOC(gfxCtx, (UI_OVERLAY_QUAD_MAX * 4) * sizeof(Vtx));
|
||||
|
||||
pauseCtx->promptPageVtx = GRAPH_ALLOC(gfxCtx, ((PAGE_BG_QUADS + VTX_PAGE_PROMPT_QUADS) * 4) * sizeof(Vtx));
|
||||
KaleidoScope_SetPageVertices(play, pauseCtx->promptPageVtx, VTX_PAGE_PROMPT, VTX_PAGE_PROMPT_QUADS);
|
||||
|
@ -3411,7 +3443,7 @@ void KaleidoScope_Draw(PlayState* play) {
|
|||
KaleidoScope_SetView(pauseCtx, 0.0f, 0.0f, 64.0f);
|
||||
|
||||
if (!IS_PAUSE_STATE_GAMEOVER(pauseCtx)) {
|
||||
KaleidoScope_DrawInfoPanel(play);
|
||||
KaleidoScope_DrawUIOverlay(play);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -221,6 +221,17 @@ typedef enum ItemQuad {
|
|||
#define TO_PAGE_LABEL_TEX_WIDTH 128
|
||||
#define TO_PAGE_LABEL_TEX_HEIGHT 16
|
||||
|
||||
typedef enum UIOverlayQuad {
|
||||
/* 0 */ UI_OVERLAY_QUAD_INFO_BG_LEFT, // The left half of the info plate background
|
||||
/* 1 */ UI_OVERLAY_QUAD_INFO_BG_RIGHT, // The right half of the info plate background
|
||||
/* 2 */ UI_OVERLAY_QUAD_BUTTON_LEFT, // The button for scrolling to the left page
|
||||
/* 3 */ UI_OVERLAY_QUAD_BUTTON_RIGHT, // The button for scrolling to the right page
|
||||
/* 4 */ UI_OVERLAY_QUAD_INFO_ICON, // The icon in the info plate
|
||||
/* 5 */ UI_OVERLAY_QUAD_INFO_TEXT, // The text in the info plate
|
||||
/* 6 */ UI_OVERLAY_QUAD_HAVE_ALL_GS, // On the overworld map page, the indicator that the selected area has been cleared of gold skulltulas
|
||||
/* 7 */ UI_OVERLAY_QUAD_MAX
|
||||
} UIOverlayQuad;
|
||||
|
||||
void KaleidoScope_DrawQuestStatus(struct PlayState* play, GraphicsContext* gfxCtx);
|
||||
s32 KaleidoScope_UpdateQuestStatusPoint(PauseContext* pauseCtx, s32 point);
|
||||
void KaleidoScope_DrawInventoryEditor(struct PlayState* play);
|
||||
|
|
Loading…
Reference in New Issue