mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-07 14:50:15 +00:00
Global Context And General Cleanup (#863)
* door context * renames * done * fix unintended change * all nb gone * more nb gone * merge fishing * fix size commentX * door changes suggested by dragorn * fix accidental semicolon * another * change all texture pointers to void* * error fix and format * Update src/overlays/actors/ovl_En_Bom_Bowl_Man/z_en_bom_bowl_man.c Co-authored-by: Anghelo Carvajal <anghelo.carvajal.14@sansano.usm.cl> * fix ostime * correct mistake in SkyboxContext * probably fix nonmatching * Update include/z64.h Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com> * roman's suggestions, fix incorrect type definition in z64scene.h * typo in struct * make typedef use u8 array * forgot one * pull in master and format.sh Co-authored-by: Anghelo Carvajal <anghelo.carvajal.14@sansano.usm.cl> Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>
This commit is contained in:
parent
1890e751b9
commit
7551dc2b71
105 changed files with 496 additions and 508 deletions
|
@ -61,11 +61,11 @@ typedef enum {
|
|||
/* 4 */ SARIA_MOUTH_FROWNING
|
||||
} SariaMouthState;
|
||||
|
||||
static u64* sEyeTextures[] = {
|
||||
static void* sEyeTextures[] = {
|
||||
gSariaEyeOpenTex, gSariaEyeHalfTex, gSariaEyeClosedTex, gSariaEyeSuprisedTex, gSariaEyeSadTex,
|
||||
};
|
||||
|
||||
static u64* sMouthTextures[] = {
|
||||
static void* sMouthTextures[] = {
|
||||
gSariaMouthClosed2Tex, gSariaMouthSuprisedTex, gSariaMouthClosedTex,
|
||||
gSariaMouthSmilingOpenTex, gSariaMouthFrowningTex,
|
||||
};
|
||||
|
@ -457,10 +457,10 @@ void func_8098F16C(DemoSa* this, GlobalContext* globalCtx) {
|
|||
void DemoSa_DrawXlu(DemoSa* this, GlobalContext* globalCtx) {
|
||||
s32 pad[2];
|
||||
s16 eyeIndex = this->eyeIndex;
|
||||
UNK_PTR sp78 = sEyeTextures[eyeIndex];
|
||||
void* sp78 = sEyeTextures[eyeIndex];
|
||||
s16 mouthIndex = this->mouthIndex;
|
||||
s32 pad2;
|
||||
UNK_PTR sp6C = sMouthTextures[mouthIndex];
|
||||
void* sp6C = sMouthTextures[mouthIndex];
|
||||
SkelAnime* skelAnime = &this->skelAnime;
|
||||
|
||||
OPEN_DISPS(globalCtx->state.gfxCtx, "../z_demo_sa_inKenjyanomaDemo02.c", 296);
|
||||
|
@ -795,10 +795,10 @@ void DemoSa_DrawNothing(DemoSa* this, GlobalContext* globalCtx) {
|
|||
void DemoSa_DrawOpa(DemoSa* this, GlobalContext* globalCtx) {
|
||||
s32 pad[2];
|
||||
s16 eyeIndex = this->eyeIndex;
|
||||
UNK_PTR eyeTex = sEyeTextures[eyeIndex];
|
||||
void* eyeTex = sEyeTextures[eyeIndex];
|
||||
s32 pad2;
|
||||
s16 mouthIndex = this->mouthIndex;
|
||||
UNK_PTR mouthTex = sMouthTextures[mouthIndex];
|
||||
void* mouthTex = sMouthTextures[mouthIndex];
|
||||
SkelAnime* skelAnime = &this->skelAnime;
|
||||
|
||||
OPEN_DISPS(globalCtx->state.gfxCtx, "../z_demo_sa.c", 602);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue