mirror of https://github.com/zeldaret/mm.git
Document object_lotus (lily pad) (#1067)
This commit is contained in:
parent
62502ac22f
commit
4088aea3f7
|
|
@ -1,8 +1,9 @@
|
|||
<Root>
|
||||
<!-- Assets for Lily Pads -->
|
||||
<File Name="object_lotus" Segment="6">
|
||||
<DList Name="object_lotus_DL_000040" Offset="0x40" />
|
||||
<Texture Name="object_lotus_TLUT_000100" OutName="tlut_000100" Format="rgba16" Width="4" Height="4" Offset="0x100" />
|
||||
<Texture Name="object_lotus_Tex_000120" OutName="tex_000120" Format="ci4" Width="64" Height="64" Offset="0x120" />
|
||||
<Collision Name="object_lotus_Colheader_000A20" Offset="0xA20" />
|
||||
<DList Name="gLilyPadDL" Offset="0x40" /> <!-- Original name is "z2_hasu_model" ("lotus") -->
|
||||
<Texture Name="gLilyPadTLUT" OutName="lily_pad_tlut" Format="rgba16" Width="4" Height="4" Offset="0x100" />
|
||||
<Texture Name="gLilyPadTex" OutName="lily_pad" Format="ci4" Width="64" Height="64" Offset="0x120" />
|
||||
<Collision Name="gLilyPadCol" Offset="0xA20" />
|
||||
</File>
|
||||
</Root>
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ void BgLotus_Init(Actor* thisx, PlayState* play) {
|
|||
|
||||
Actor_ProcessInitChain(&this->dyna.actor, sInitChain);
|
||||
DynaPolyActor_Init(&this->dyna, 1);
|
||||
DynaPolyActor_LoadMesh(play, &this->dyna, &object_lotus_Colheader_000A20);
|
||||
DynaPolyActor_LoadMesh(play, &this->dyna, &gLilyPadCol);
|
||||
this->dyna.actor.floorHeight = BgCheck_EntityRaycastFloor5(&play->colCtx, &thisx->floorPoly, &bgId,
|
||||
&this->dyna.actor, &this->dyna.actor.world.pos);
|
||||
this->timer2 = 96;
|
||||
|
|
@ -171,5 +171,5 @@ void BgLotus_Update(Actor* thisx, PlayState* play) {
|
|||
}
|
||||
|
||||
void BgLotus_Draw(Actor* thisx, PlayState* play) {
|
||||
Gfx_DrawDListOpa(play, object_lotus_DL_000040);
|
||||
Gfx_DrawDListOpa(play, gLilyPadDL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue