rust/lib-hwengine-future/src/ai/ammo.rs
author unC0Rr
Tue, 17 Dec 2024 15:44:21 +0100
branchtransitional_engine
changeset 16049 db18f1a30b0c
permissions -rw-r--r--
Implement passing of available ammo to rust AI

#[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,
}