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) {
|
|
|
|
D_8009BAA0 = 0;
|
|
|
|
D_8009BA90 = 2.0f;
|
|
|
|
D_8009BA94 = 2.0f;
|
|
|
|
D_8009BA98 = 0;
|
|
|
|
D_8009BA9C = 0;
|
|
|
|
}
|
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-09-27 20:13:50 +02:00
|
|
|
void set_curtain_scale_goal(f32 arg0) {
|
|
|
|
D_8009BA94 = arg0;
|
|
|
|
}
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-27 20:13:50 +02:00
|
|
|
void set_curtain_scale(f32 arg0) {
|
|
|
|
D_8009BA94 = arg0;
|
|
|
|
D_8009BA90 = arg0;
|
|
|
|
}
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-27 20:13:50 +02:00
|
|
|
void set_curtain_draw_callback(s32 arg0) {
|
|
|
|
D_8009BAA0 = arg0;
|
|
|
|
}
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-27 20:13:50 +02:00
|
|
|
void set_curtain_fade_goal(f32 arg0) {
|
|
|
|
D_8009BA9C = arg0;
|
|
|
|
}
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-27 20:13:50 +02:00
|
|
|
void set_curtain_fade(f32 arg0) {
|
|
|
|
D_8009BA9C = arg0;
|
|
|
|
D_8009BA98 = arg0;
|
|
|
|
}
|