diff -ru liquidwar-5.6.4/src/distor.c liquidwar-5.6.4b/src/distor.c --- liquidwar-5.6.4/src/distor.c 2007-10-17 13:00:50.000000000 -0700 +++ liquidwar-5.6.4b/src/distor.c 2020-09-13 22:26:02.746272049 -0700 @@ -194,7 +194,7 @@ cycle_tmp /= 2; speed--; } - cycle_tmp = fsqrt (fsqrt (cycle_tmp)) / 2; + cycle_tmp = sqrtf (sqrtf (cycle_tmp)) / 2; cycle_tmp /= SCREEN_W; cycle_tmp *= period; if (cycle_tmp <= 0) @@ -203,8 +203,8 @@ } cycle_coef = sens * 256 * (itofix (GLOBAL_TICKER % cycle_tmp) / cycle_tmp); - f0 = fsin (cycle_coef + freq_coef * period2); - fp0x0 = (PI_1024 * fcos (cycle_coef + freq_coef * period2)) / 1024; + f0 = sinf (cycle_coef + freq_coef * period2); + fp0x0 = (PI_1024 * cosf (cycle_coef + freq_coef * period2)) / 1024; alphax03 = (ampli_cst / 256) * ((fp0x0 - 2 * f0) / 256); betax02 = (ampli_cst / 256) * ((-fp0x0 + 3 * f0) / 256); @@ -217,7 +217,7 @@ } for (i = period2; i < real_length - period2; ++i) { - temp = ((ampli_cos) / 256) * (fcos (cycle_coef + freq_coef * i) / 256); + temp = ((ampli_cos) / 256) * (cosf (cycle_coef + freq_coef * i) / 256); buffer2[i] = temp / WAVE_SIZE_SCALE; } diff -ru liquidwar-5.6.4/src/fighter.c liquidwar-5.6.4b/src/fighter.c --- liquidwar-5.6.4/src/fighter.c 2007-10-17 13:00:50.000000000 -0700 +++ liquidwar-5.6.4b/src/fighter.c 2020-09-13 22:20:58.465616342 -0700 @@ -335,7 +335,7 @@ coef += 256; attack[i] = (coef * - fsqrt (fsqrt (1 << (LW_CONFIG_CURRENT_RULES.fighter_attack + sqrtf (sqrtf (1 << (LW_CONFIG_CURRENT_RULES.fighter_attack + cpu_influence[i])))) / (256 * 8); if (attack[i] >= MAX_FIGHTER_HEALTH) attack[i] = MAX_FIGHTER_HEALTH - 1; @@ -343,7 +343,7 @@ attack[i] = 1; defense[i] = (coef * - fsqrt (fsqrt + sqrtf (sqrtf (1 << (LW_CONFIG_CURRENT_RULES.fighter_defense + cpu_influence[i])))) / (256 * 256); @@ -353,7 +353,7 @@ defense[i] = 1; new_health[i] = (coef * - fsqrt (fsqrt + sqrtf (sqrtf (1 << (LW_CONFIG_CURRENT_RULES.fighter_new_health + cpu_influence[i])))) / (256 * 4); diff -ru liquidwar-5.6.4/src/palette.c liquidwar-5.6.4b/src/palette.c --- liquidwar-5.6.4/src/palette.c 2007-10-17 13:00:50.000000000 -0700 +++ liquidwar-5.6.4b/src/palette.c 2020-09-13 22:20:58.465616342 -0700 @@ -88,7 +88,7 @@ { int result; - result = fsqrt (i * 256) / 256; + result = sqrtf (i * 256) / 256; if (result > 255) result = 255;