summaryrefslogtreecommitdiffstats
path: root/src/weapons/WeaponType.h
blob: 4b8be40fb9f9f823beef5053504a857d6260263e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#pragma once

// --MIAMI: TODO
enum eWeaponType
{
	WEAPONTYPE_UNARMED,
	WEAPONTYPE_BRASSKNUCKLE,
	WEAPONTYPE_SCREWDRIVER,
	WEAPONTYPE_GOLFCLUB,
	WEAPONTYPE_NIGHTSTICK,
	WEAPONTYPE_KNIFE,
	WEAPONTYPE_BASEBALLBAT,
	WEAPONTYPE_HAMMER,
	WEAPONTYPE_CLEAVER,
	WEAPONTYPE_MACHETE,
	WEAPONTYPE_KATANA,
	WEAPONTYPE_CHAINSAW,
	WEAPONTYPE_GRENADE,
	WEAPONTYPE_DETONATOR_GRENADE,
	WEAPONTYPE_MOLOTOV,
	WEAPONTYPE_ROCKET,
	WEAPONTYPE_COLT45,
	WEAPONTYPE_SHOTGUN,
	WEAPONTYPE_TEC9,
	WEAPONTYPE_UZI,
	WEAPONTYPE_SILENCED_INGRAM,
	WEAPONTYPE_MP5,
	WEAPONTYPE_M16,
	WEAPONTYPE_AK47,
	WEAPONTYPE_SNIPERRIFLE,
	WEAPONTYPE_ROCKETLAUNCHER,
	WEAPONTYPE_FLAMETHROWER,
	WEAPONTYPE_DETONATOR,
	WEAPONTYPE_HELICANNON,
	WEAPONTYPE_LAST_WEAPONTYPE,
	WEAPONTYPE_HEALTH,
	WEAPONTYPE_ARMOUR,
	WEAPONTYPE_RAMMEDBYCAR,
	WEAPONTYPE_RUNOVERBYCAR,
	WEAPONTYPE_EXPLOSION,
	WEAPONTYPE_UZI_DRIVEBY,
	WEAPONTYPE_DROWNING,
	WEAPONTYPE_FALL,
	WEAPONTYPE_UNIDENTIFIED,
	
	WEAPONTYPE_TOTALWEAPONS = WEAPONTYPE_LAST_WEAPONTYPE,
	WEAPONTYPE_ANYMELEE = 46,
	WEAPONTYPE_ANYWEAPON = 47
};

enum {
	TOTAL_WEAPON_SLOTS = 10,
};

enum eWeaponFire {
	WEAPON_FIRE_MELEE,
	WEAPON_FIRE_INSTANT_HIT,
	WEAPON_FIRE_PROJECTILE,
	WEAPON_FIRE_AREA_EFFECT,
	WEAPON_FIRE_USE
};

// Taken from MTA SA, seems it's unchanged
enum eWeaponState
{
	WEAPONSTATE_READY,
	WEAPONSTATE_FIRING,
	WEAPONSTATE_RELOADING,
	WEAPONSTATE_OUT_OF_AMMO,
	WEAPONSTATE_MELEE_MADECONTACT
};