mirror of https://github.com/zeldaret/mm.git
parent
f17e85d1fd
commit
2c182bf7e3
|
|
@ -1,7 +1,8 @@
|
|||
<Root>
|
||||
<!-- Object for Icicles -->
|
||||
<File Name="object_icicle" Segment="6">
|
||||
<DList Name="object_icicle_DL_0000D0" Offset="0xD0" /> <!-- Original name is "ice_turara_model" -->
|
||||
<Collision Name="object_icicle_Colheader_000294" Offset="0x294" /> <!-- Original name is "ice_turara_bgdatainfo" -->
|
||||
<Texture Name="object_icicle_Tex_0002C0" OutName="tex_0002C0" Format="i8" Width="64" Height="64" Offset="0x2C0" />
|
||||
<DList Name="gIcicleDL" Offset="0xD0" /> <!-- Original name is "ice_turara_model" -->
|
||||
<Collision Name="gIcicleCol" Offset="0x294" /> <!-- Original name is "ice_turara_bgdatainfo" -->
|
||||
<Texture Name="gIcicleTex" OutName="icicle" Format="i8" Width="64" Height="64" Offset="0x2C0" />
|
||||
</File>
|
||||
</Root>
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ void BgIcicle_Init(Actor* thisx, PlayState* play) {
|
|||
|
||||
Actor_ProcessInitChain(thisx, sInitChain);
|
||||
DynaPolyActor_Init(&this->dyna, 0);
|
||||
DynaPolyActor_LoadMesh(play, &this->dyna, &object_icicle_Colheader_000294);
|
||||
DynaPolyActor_LoadMesh(play, &this->dyna, &gIcicleCol);
|
||||
|
||||
Collider_InitAndSetCylinder(play, &this->collider, thisx, &sCylinderInit);
|
||||
Collider_UpdateCylinder(thisx, &this->collider);
|
||||
|
|
@ -242,5 +242,5 @@ void BgIcicle_Update(Actor* thisx, PlayState* play) {
|
|||
}
|
||||
|
||||
void BgIcicle_Draw(Actor* thisx, PlayState* play) {
|
||||
Gfx_DrawDListOpa(play, object_icicle_DL_0000D0);
|
||||
Gfx_DrawDListOpa(play, gIcicleDL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue