mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-05-29 08:12:54 -04:00
fix something i did (stupid)
This commit is contained in:
+1
-1
@@ -1286,7 +1286,7 @@ config.libs = [
|
||||
Object(Matching, "effect/ef_killer.c"),
|
||||
Object(Matching, "effect/ef_kisha_kemuri.c"),
|
||||
Object(Matching, "effect/ef_konpu.c"),
|
||||
Object(NonMatching, "effect/ef_kpun.c"),
|
||||
Object(Matching, "effect/ef_kpun.c"),
|
||||
Object(Matching, "effect/ef_kyousou_onpu.c"),
|
||||
Object(Matching, "effect/ef_lamp_light.c"),
|
||||
Object(Matching, "effect/ef_lovelove.c"),
|
||||
|
||||
+1
-1
@@ -682,7 +682,7 @@ static void aSIGN_single_all_check(SIGN_ACTOR* sign) {
|
||||
prev_angle = sign->single[i]._24;
|
||||
sign->single[i]._24 = prev_angle + sign->single[i]._26;
|
||||
now_angle = sign->single[i]._24;
|
||||
sign->single[i].scale.y = sign->single[i]._20 * sinf_table((f32)now_angle * (2 * PI / 65536.0));
|
||||
sign->single[i].scale.y = sign->single[i]._20 * sinf_table((f32)now_angle * 0.0000958738f);
|
||||
sign->single[i].scale.x = 0.01f - sign->single[i].scale.y;
|
||||
sign->single[i].scale.y += 0.01f;
|
||||
sign->single[i].scale.z = sign->single[i].scale.x;
|
||||
|
||||
@@ -123,7 +123,7 @@ static void eKPun_dw(eEC_Effect_c* effect, GAME* game) {
|
||||
env_gb = (int)eEC_CLIP->calc_adjust_proc(counter, 0, 8, 0.0f, 255.0f);
|
||||
|
||||
if (counter <= 8) {
|
||||
static f32 scale_y_table[5] = { 0.0085f, 0.01445f, 0.0289f, 0.01445f, 0.0085f };
|
||||
static f32 scale_y_table[5] = { 0.0085f, 0.014450001530f, 0.0289000030f, 0.014450001530f, 0.0085f };
|
||||
|
||||
effect->scale.y = scale_y_table[idx];
|
||||
effect->scale.x = 0.0085f;
|
||||
|
||||
Reference in New Issue
Block a user