mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-07 14:50:15 +00:00
En_Attack_Niw, En_Insect, z_skin_matrix, and z_skelanime matched (#493)
* Darkmeiro decompilation Bg_Gnd_Darkmeiro decompiled, matched, and documented. * give this a shot * fix conflict * one more try * could be useful * whoops * ZAP2 stuff * ZAP why * ZAP again * marginal improvement * matched functions. Also fixed a serious lack of static * format * more static * fixing a function prototype * skelanime OK * forgot .s * skin matrix matched * format
This commit is contained in:
parent
89f89ac5ea
commit
3aa76152c5
61 changed files with 209 additions and 1264 deletions
|
@ -35,17 +35,17 @@ const ActorInit Magic_Wind_InitVars = {
|
|||
|
||||
#include "z_magic_wind_gfx.c"
|
||||
|
||||
u8 sTransformRefIdx[] = {
|
||||
static u8 sTransformRefIdx[] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
};
|
||||
|
||||
s16 sCopyValues[] = {
|
||||
static s16 sCopyValues[] = {
|
||||
0x0400, 0x0400, 0x0400, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0200, 0x0200, 0x0000, 0x0000,
|
||||
0x0000, 0x0000, 0x0000, 0x0000, 0x02CD, 0x02CD, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
|
||||
};
|
||||
|
||||
TransformData sTransformData[] = {
|
||||
static TransformData sTransformData[] = {
|
||||
{
|
||||
0x000C,
|
||||
0x0001,
|
||||
|
@ -76,11 +76,11 @@ TransformData sTransformData[] = {
|
|||
},
|
||||
};
|
||||
|
||||
TransformUpdateIndex sTransformUpdIdx = {
|
||||
static TransformUpdateIndex sTransformUpdIdx = {
|
||||
sTransformRefIdx, sTransformData, sCopyValues, 0x0001, 0x0003C,
|
||||
};
|
||||
|
||||
SkelCurveLimb sRootLimb = {
|
||||
static SkelCurveLimb sRootLimb = {
|
||||
0x01,
|
||||
0xFF,
|
||||
{
|
||||
|
@ -89,7 +89,7 @@ SkelCurveLimb sRootLimb = {
|
|||
},
|
||||
};
|
||||
|
||||
SkelCurveLimb sInnerCylinder = {
|
||||
static SkelCurveLimb sInnerCylinder = {
|
||||
0xFF,
|
||||
0x02,
|
||||
{
|
||||
|
@ -98,7 +98,7 @@ SkelCurveLimb sInnerCylinder = {
|
|||
},
|
||||
};
|
||||
|
||||
SkelCurveLimb sOuterCylinder = {
|
||||
static SkelCurveLimb sOuterCylinder = {
|
||||
0xFF,
|
||||
0xFF,
|
||||
{
|
||||
|
@ -107,18 +107,18 @@ SkelCurveLimb sOuterCylinder = {
|
|||
},
|
||||
};
|
||||
|
||||
SkelCurveLimb* sLimbs[] = {
|
||||
static SkelCurveLimb* sLimbs[] = {
|
||||
&sRootLimb,
|
||||
&sInnerCylinder,
|
||||
&sOuterCylinder,
|
||||
};
|
||||
|
||||
SkelCurveLimbList sLimbList = {
|
||||
static SkelCurveLimbList sLimbList = {
|
||||
sLimbs,
|
||||
0x03,
|
||||
};
|
||||
|
||||
u8 sAlphaUpdVals[] = {
|
||||
static u8 sAlphaUpdVals[] = {
|
||||
0x00, 0x03, 0x04, 0x07, 0x09, 0x0A, 0x0D, 0x0F, 0x11, 0x12, 0x15, 0x16, 0x19, 0x1B, 0x1C, 0x1F, 0x21, 0x23,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue