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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16049
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
     1
#[repr(usize)]
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
     2
pub enum AmmoType {
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
     3
    Nothing,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
     4
    Grenade,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
     5
    ClusterBomb,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
     6
    Bazooka,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
     7
    Bee,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
     8
    Shotgun,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
     9
    PickHammer, // 6
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    10
    Skip,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    11
    Rope,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    12
    Mine,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    13
    DEagle,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    14
    Dynamite,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    15
    FirePunch,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    16
    Whip, // 13
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    17
    BaseballBat,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    18
    Parachute,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    19
    AirAttack,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    20
    MineStrike,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    21
    BlowTorch, // 18
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    22
    Girder,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    23
    Teleport,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    24
    Switch,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    25
    Mortar,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    26
    Kamikaze,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    27
    Cake, // 24
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    28
    Seduction,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    29
    Watermelon,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    30
    HellishBomb,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    31
    Napalm,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    32
    Drill,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    33
    Ballgun, // 30
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    34
    RCPlane,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    35
    LowGravity,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    36
    ExtraDamage,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    37
    Invulnerable,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    38
    ExtraTime, // 35
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    39
    LaserSight,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    40
    Vampiric,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    41
    SniperRifle,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    42
    Jetpack,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    43
    Molotov,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    44
    Birdy,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    45
    PortalGun, // 42
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    46
    Piano,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    47
    GasBomb,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    48
    SineGun,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    49
    Flamethrower,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    50
    SMine,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    51
    Hammer, // 48
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    52
    Resurrector,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    53
    DrillStrike,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    54
    Snowball,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    55
    Tardis,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    56
    LandGun, // 53
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    57
    IceGun,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    58
    Knife,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    59
    Rubber,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    60
    AirMine,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    61
    Creeper,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    62
    Minigun,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    63
    Sentry, // 60
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    64
    Count,
db18f1a30b0c Implement passing of available ammo to rust AI
unC0Rr
parents:
diff changeset
    65
}