document object_hana (graveyard flower) (#1355)

* initial commit object_hana documentation

* explain how object is organized

* change whole flower set name

* a litle space

Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>

---------

Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
This commit is contained in:
MegaIDK 2023-08-14 21:44:53 -03:00 committed by GitHub
parent 17b7f3f90e
commit 09100194b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 10 deletions

View File

@ -1,13 +1,19 @@
<Root>
<!-- Assets for the orange graveyard flowers -->
<File Name="object_hana" Segment="6">
<DList Name="object_hana_DL_000000" Offset="0x0" />
<DList Name="object_hana_DL_0000A0" Offset="0xA0" />
<DList Name="object_hana_DL_000140" Offset="0x140" />
<DList Name="object_hana_DL_0001E0" Offset="0x1E0" />
<DList Name="object_hana_DL_000280" Offset="0x280" />
<DList Name="object_hana_DL_000320" Offset="0x320" />
<DList Name="object_hana_DL_0003C0" Offset="0x3C0" />
<DList Name="object_hana_DL_000460" Offset="0x460" />
<DList Name="object_hana_DL_000500" Offset="0x500" /> <!-- Original name is "flower1_model" -->
<!-- Each of these is a single flower out of the 3 -->
<DList Name="gGraveyardFlower1DL" Offset="0x0" />
<DList Name="gGraveyardFlower2DL" Offset="0xA0" />
<DList Name="gGraveyardFlower3DL" Offset="0x140" />
<!-- Each of these is a single leaf out of the 5 -->
<DList Name="gGraveyardFlowerLeaf1DL" Offset="0x1E0" />
<DList Name="gGraveyardFlowerLeaf2DL" Offset="0x280" />
<DList Name="gGraveyardFlowerLeaf3DL" Offset="0x320" />
<DList Name="gGraveyardFlowerLeaf4DL" Offset="0x3C0" />
<DList Name="gGraveyardFlowerLeaf5DL" Offset="0x460" />
<!-- This DL combines all the other DLs to make the whole object -->
<DList Name="gGraveyardFlowersDL" Offset="0x500" /> <!-- Original name is "flower1_model" -->
</File>
</Root>

View File

@ -48,5 +48,5 @@ void ObjHana_Update(Actor* thisx, PlayState* play) {
}
void ObjHana_Draw(Actor* thisx, PlayState* play) {
Gfx_DrawDListOpa(play, object_hana_DL_000500);
Gfx_DrawDListOpa(play, gGraveyardFlowersDL);
}