rust/lib-hwengine-future/src/ai/ammo.rs
author unC0Rr
Thu, 19 Dec 2024 14:18:55 +0100
branchtransitional_engine
changeset 16052 6633961698ad
parent 16049 db18f1a30b0c
permissions -rw-r--r--
Make wider range of numbers representable with FPNum on the cost of smaller precision

#[repr(usize)]
pub enum AmmoType {
    Nothing,
    Grenade,
    ClusterBomb,
    Bazooka,
    Bee,
    Shotgun,
    PickHammer, // 6
    Skip,
    Rope,
    Mine,
    DEagle,
    Dynamite,
    FirePunch,
    Whip, // 13
    BaseballBat,
    Parachute,
    AirAttack,
    MineStrike,
    BlowTorch, // 18
    Girder,
    Teleport,
    Switch,
    Mortar,
    Kamikaze,
    Cake, // 24
    Seduction,
    Watermelon,
    HellishBomb,
    Napalm,
    Drill,
    Ballgun, // 30
    RCPlane,
    LowGravity,
    ExtraDamage,
    Invulnerable,
    ExtraTime, // 35
    LaserSight,
    Vampiric,
    SniperRifle,
    Jetpack,
    Molotov,
    Birdy,
    PortalGun, // 42
    Piano,
    GasBomb,
    SineGun,
    Flamethrower,
    SMine,
    Hammer, // 48
    Resurrector,
    DrillStrike,
    Snowball,
    Tardis,
    LandGun, // 53
    IceGun,
    Knife,
    Rubber,
    AirMine,
    Creeper,
    Minigun,
    Sentry, // 60
    Count,
}