2020-10-15 00:37:23 +02:00
|
|
|
#include "code_6e40_len_500.h"
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-27 20:13:50 +02:00
|
|
|
void initialize_curtains(void) {
|
2020-10-15 01:16:44 +02:00
|
|
|
gCurtainDrawCallback = NULL;
|
|
|
|
gCurtainScale = 2.0f;
|
|
|
|
gCurtainScaleGoal = 2.0f;
|
|
|
|
gCurtainFade = 0.0f;
|
|
|
|
gCurtainFadeGoal = 0.0f;
|
2020-09-27 20:13:50 +02:00
|
|
|
}
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-24 05:16:13 +02:00
|
|
|
void update_curtains(void) {
|
2020-09-07 23:12:31 +02:00
|
|
|
}
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_6e40_len_500", render_curtains);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-10-15 01:16:44 +02:00
|
|
|
void set_curtain_scale_goal(f32 scale) {
|
|
|
|
gCurtainScaleGoal = scale;
|
2020-09-27 20:13:50 +02:00
|
|
|
}
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-10-15 01:16:44 +02:00
|
|
|
void set_curtain_scale(f32 scale) {
|
|
|
|
gCurtainScaleGoal = scale;
|
|
|
|
gCurtainScale = scale;
|
2020-09-27 20:13:50 +02:00
|
|
|
}
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-10-15 01:16:44 +02:00
|
|
|
void set_curtain_draw_callback(UNK_FUN_PTR(callback)) {
|
|
|
|
gCurtainDrawCallback = callback;
|
2020-09-27 20:13:50 +02:00
|
|
|
}
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-10-15 01:16:44 +02:00
|
|
|
void set_curtain_fade_goal(f32 fade) {
|
|
|
|
gCurtainFadeGoal = fade;
|
2020-09-27 20:13:50 +02:00
|
|
|
}
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-10-15 01:16:44 +02:00
|
|
|
void set_curtain_fade(f32 fade) {
|
|
|
|
gCurtainFadeGoal = fade;
|
|
|
|
gCurtainFade = fade;
|
2020-09-27 20:13:50 +02:00
|
|
|
}
|