Obj_visiblock

Object for the Lens of Truth Platforms
This commit is contained in:
Wimmer
2023-10-06 15:22:55 +02:00
parent 6ea91335c5
commit a36469cfa5
2 changed files with 7 additions and 6 deletions
+5 -4
View File
@@ -1,8 +1,9 @@
<Root>
<!-- Object for Lens of Truth Platform -->
<File Name="object_visiblock" Segment="6">
<DList Name="object_visiblock_DL_000140" Offset="0x140" />
<DList Name="object_visiblock_DL_0001E8" Offset="0x1E8" />
<Texture Name="object_visiblock_Tex_0001F0" OutName="tex_0001F0" Format="rgba16" Width="32" Height="32" Offset="0x1F0" />
<Collision Name="object_visiblock_Colheader_000AD0" Offset="0xAD0" />
<DList Name="gLensOfTruthPlatformOnDL" Offset="0x140" />
<DList Name="gLensOfTruthPlatformOffDL" Offset="0x1E8" />
<Texture Name="gLensOfTruthPlatformTex" OutName="LOTPlatform" Format="rgba16" Width="32" Height="32" Offset="0x1F0" />
<Collision Name="gLensOfTruthPlatformCol" Offset="0xAD0" />
</File>
</Root>
@@ -39,7 +39,7 @@ void ObjVisiblock_Init(Actor* thisx, PlayState* play) {
Actor_ProcessInitChain(&this->dyna.actor, sInitChain);
DynaPolyActor_Init(&this->dyna, 0);
DynaPolyActor_LoadMesh(play, &this->dyna, &object_visiblock_Colheader_000AD0);
DynaPolyActor_LoadMesh(play, &this->dyna, &gLensOfTruthPlatformCol);
}
void ObjVisiblock_Destroy(Actor* thisx, PlayState* play) {
@@ -49,5 +49,5 @@ void ObjVisiblock_Destroy(Actor* thisx, PlayState* play) {
}
void ObjVisiblock_Draw(Actor* thisx, PlayState* play) {
Gfx_DrawDListXlu(play, object_visiblock_DL_000140);
Gfx_DrawDListXlu(play, gLensOfTruthPlatformOnDL);
}