papermario/src/code_6e40_len_500.c
2020-10-15 00:16:44 +01:00

37 lines
729 B
C

#include "code_6e40_len_500.h"
void initialize_curtains(void) {
gCurtainDrawCallback = NULL;
gCurtainScale = 2.0f;
gCurtainScaleGoal = 2.0f;
gCurtainFade = 0.0f;
gCurtainFadeGoal = 0.0f;
}
void update_curtains(void) {
}
INCLUDE_ASM(s32, "code_6e40_len_500", render_curtains);
void set_curtain_scale_goal(f32 scale) {
gCurtainScaleGoal = scale;
}
void set_curtain_scale(f32 scale) {
gCurtainScaleGoal = scale;
gCurtainScale = scale;
}
void set_curtain_draw_callback(UNK_FUN_PTR(callback)) {
gCurtainDrawCallback = callback;
}
void set_curtain_fade_goal(f32 fade) {
gCurtainFadeGoal = fade;
}
void set_curtain_fade(f32 fade) {
gCurtainFadeGoal = fade;
gCurtainFade = fade;
}