mirror of
https://github.com/zeldaret/mm.git
synced 2026-07-02 19:45:57 -04:00
Obj_visiblock
Object for the Lens of Truth Platforms
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user