Port to fixed point math

This commit is contained in:
2026-08-24 21:54:23 +02:00
parent 91c5c4e05f
commit 73855ea354
27 changed files with 703 additions and 229 deletions
+5 -3
View File
@@ -1,9 +1,11 @@
use bevy::prelude::*;
use crate::math::int::FGi32;
pub struct FighterSettingsCommon {
pub walk_speed_ease: f32,
pub ground_max_horizontal_velocity: f32,
pub ground_friction_over_walk_speed_multiplier: f32
pub walk_speed_ease: FGi32,
pub ground_max_horizontal_velocity: FGi32,
pub ground_friction_over_walk_speed_multiplier: FGi32
}
pub struct InputSettingsCommon {
pub stick_deadzone: f32,