1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-07 06:40:15 +00:00

Math Sizes (#297)

* Math Sizes

Added sizes to most variable types

* Removed sizes and fixed pads

Removed sizes from base types and cleaned up pads

* PR fixes
This commit is contained in:
louist103 2020-07-30 15:50:18 -04:00 committed by GitHub
parent c3421dda0c
commit 449b2247fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 43 additions and 43 deletions

View file

@ -78,7 +78,7 @@ void EnGuest_Destroy(Actor* thisx, GlobalContext* globalCtx) {
void EnGuest_Update(Actor* thisx, GlobalContext* globalCtx) {
EnGuest* this = THIS;
u32 pad;
s32 pad;
if (Object_IsLoaded(&globalCtx->objectCtx, this->osAnimeBankIndex) != 0) {
this->actor.flags &= ~0x10;
@ -147,7 +147,7 @@ void func_80A5057C(EnGuest* this, GlobalContext* globalCtx) {
void func_80A505CC(Actor* thisx, GlobalContext* globalCtx) {
EnGuest* this = THIS;
u32 pad;
s32 pad;
Player* player;
player = PLAYER;

View file

@ -40,7 +40,7 @@ extern UNK_TYPE D_060000C0;
void EnHata_Init(Actor* thisx, GlobalContext* globalCtx) {
EnHata* this = THIS;
u32 pad;
s32 pad;
u32 temp;
f32 frameCount;

View file

@ -78,7 +78,7 @@ f32 EnInsect_XZDistanceSquared(Vec3f* v1, Vec3f* v2) {
}
s32 func_80A7BE6C(EnInsect* this, GlobalContext* globalCtx) {
u32 pad;
s32 pad;
Player* player = PLAYER;
Vec3f pos;

View file

@ -42,7 +42,7 @@ void OceffSpot_SetupAction(OceffSpot* this, OceffSpotActionFunc actionFunc) {
}
void OceffSpot_Init(Actor* thisx, GlobalContext* globalCtx) {
u32 pad;
s32 pad;
OceffSpot* this = THIS;
Actor_ProcessInitChain(&this->actor, sInitChain);
@ -65,7 +65,7 @@ void OceffSpot_Init(Actor* thisx, GlobalContext* globalCtx) {
}
void OceffSpot_Destroy(Actor* thisx, GlobalContext* globalCtx) {
u32 pad;
s32 pad;
OceffSpot* this = THIS;
Player* player = PLAYER;
@ -119,7 +119,7 @@ void OceffSpot_GrowCylinder(OceffSpot* this, GlobalContext* globalCtx) {
void OceffSpot_Update(Actor* thisx, GlobalContext* globalCtx) {
OceffSpot* this = THIS;
u32 pad;
s32 pad;
Player* player = PLAYER;
f32 temp;