mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-06 22:30:15 +00:00
Change Colors To Decimal (#260)
* fix colliderinit typo * convert as many colors i can find to decimal * fix GPACK_RGBA5551, merge fhgFire * fix remaining colors * remove unwanted file * alpha as 1
This commit is contained in:
parent
bc14f6d93e
commit
24ab14f748
71 changed files with 771 additions and 743 deletions
|
@ -576,7 +576,7 @@ void func_80AAB5A4(EnMd* this, GlobalContext* globalCtx) {
|
|||
this->alpha = func_80034DD4(this, globalCtx, this->alpha, temp);
|
||||
this->actor.shape.unk_14 = this->alpha;
|
||||
} else {
|
||||
this->alpha = 0xFF;
|
||||
this->alpha = 255;
|
||||
this->actor.shape.unk_14 = this->alpha;
|
||||
}
|
||||
}
|
||||
|
@ -600,7 +600,7 @@ void EnMd_Init(Actor* thisx, GlobalContext* globalCtx) {
|
|||
func_80034EC0(&this->skelAnime, sAnimations, 0);
|
||||
Actor_SetScale(&this->actor, 0.01f);
|
||||
this->actor.unk_1F = 6;
|
||||
this->alpha = 0xFF;
|
||||
this->alpha = 255;
|
||||
Actor_SpawnAttached(&globalCtx->actorCtx, &this->actor, globalCtx, ACTOR_EN_ELF, this->actor.posRot.pos.x,
|
||||
this->actor.posRot.pos.y, this->actor.posRot.pos.z, 0, 0, 0, 3);
|
||||
|
||||
|
@ -812,7 +812,7 @@ void EnMd_Draw(Actor* thisx, GlobalContext* globalCtx) {
|
|||
|
||||
gfxCtx = globalCtx->state.gfxCtx;
|
||||
Graph_OpenDisps(dispRefs, globalCtx->state.gfxCtx, "../z_en_md.c", 1280);
|
||||
if (this->alpha == 0xFF) {
|
||||
if (this->alpha == 255) {
|
||||
gSPSegment(gfxCtx->polyOpa.p++, 0x08, SEGMENTED_TO_VIRTUAL(sEyesSegments[this->eyeIdx]));
|
||||
func_80034BA0(globalCtx, &this->skelAnime, EnMd_OverrideLimbDraw, EnMd_PostLimbDraw, &this->actor, this->alpha);
|
||||
} else if (this->alpha != 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue