mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-08-12 11:22:03 -04:00
fix gu protos
This commit is contained in:
@@ -28,8 +28,8 @@ void fbdemo_wipe1_move(TransitionWipe* this, int rate){
|
||||
if (this->direction != 0) {
|
||||
|
||||
this->texY += (((void)0, Common_Get(transWipeSpeed)) * 3) / rate;
|
||||
if (this->texY >= (int)(153.0f * (1 << 2))) {
|
||||
this->texY = (int)(153.0f * (1 << 2));
|
||||
if (this->texY >= (int)(153 * (1 << 2))) {
|
||||
this->texY = (int)(153 * (1 << 2));
|
||||
this->finished = 1;
|
||||
}
|
||||
} else {
|
||||
@@ -80,12 +80,12 @@ void fbdemo_wipe1_startup(TransitionWipe* this) {
|
||||
this->finished = 0;
|
||||
|
||||
if (this->direction != 0) {
|
||||
this->texY = (s32)(83.25f * (1 << 2));
|
||||
this->texY = (int)(83.25f * (1 << 2));
|
||||
} else {
|
||||
this->texY = (s32)(153.0f * (1 << 2));
|
||||
this->texY = (int)(153.0f * (1 << 2));
|
||||
}
|
||||
|
||||
guPerspective(&this->projection, &this->normal, 60.0f, (4.0f / 3.0f), 10.0f, 12800.0f, 1.0f);
|
||||
guPerspective(&this->projection, &this->normal, 60.0f, 1.33333337307f, 10.0f, 12800.0f, 1.0f);
|
||||
guLookAt(&this->lookAt, 0.0f, 0.0f, 400.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f);
|
||||
}
|
||||
|
||||
@@ -107,4 +107,4 @@ void fbdemo_wipe1_setcolor_rgba8888(TransitionWipe* this, u32 color){
|
||||
|
||||
u8 fbdemo_wipe1_is_finish(TransitionWipe* this){
|
||||
return this->finished;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user