Go to the source code of this file.
Data Structures | |
| struct | ammoData_s |
| struct | weaponData_s |
Defines | |
| #define | LAST_USEABLE_WEAPON WP_BRYAR_OLD |
| #define | FIRST_WEAPON WP_BRYAR_PISTOL |
| #define | MAX_PLAYER_WEAPONS WP_NUM_WEAPONS-1 |
| #define | DEFAULT_SHOTGUN_SPREAD 700 |
| #define | DEFAULT_SHOTGUN_COUNT 11 |
| #define | LIGHTNING_RANGE 768 |
Typedefs | |
| typedef int | weapon_t |
| typedef weaponData_s | weaponData_t |
| typedef ammoData_s | ammoData_t |
Enumerations | |
| enum | { WP_NONE, WP_STUN_BATON, WP_MELEE, WP_SABER, WP_BRYAR_PISTOL, WP_BLASTER, WP_DISRUPTOR, WP_BOWCASTER, WP_REPEATER, WP_DEMP2, WP_FLECHETTE, WP_ROCKET_LAUNCHER, WP_THERMAL, WP_TRIP_MINE, WP_DET_PACK, WP_CONCUSSION, WP_BRYAR_OLD, WP_EMPLACED_GUN, WP_TURRET, WP_NUM_WEAPONS } |
| enum | ammo_t { AMMO_NONE, AMMO_FORCE, AMMO_BLASTER, AMMO_POWERCELL, AMMO_METAL_BOLTS, AMMO_ROCKETS, AMMO_EMPLACED, AMMO_THERMAL, AMMO_TRIPMINE, AMMO_DETPACK, AMMO_MAX } |
Variables | |
| weaponData_t | weaponData [WP_NUM_WEAPONS] |
| ammoData_t | ammoData [AMMO_MAX] |
|
|
Definition at line 105 of file bg_weapons.h. |
|
|
Definition at line 104 of file bg_weapons.h. |
|
|
Definition at line 100 of file bg_weapons.h. Referenced by CG_SetInitialSnapshot(). |
|
|
Definition at line 43 of file bg_weapons.h. Referenced by CG_DrawWeaponSelect(), CG_Init(), CG_OutOfAmmoChange(), CG_Weapon_f(), CG_WeaponClean_f(), Cmd_Give_f(), and G_CanUseDispOn(). |
|
|
Definition at line 107 of file bg_weapons.h. |
|
|
Definition at line 101 of file bg_weapons.h. |
|
|
|
|
|
Definition at line 40 of file bg_weapons.h. Referenced by BG_FindItemForWeapon(), CG_AddPlayerWeapon(), NPC_Precache(), and NPC_PrecacheWeapons(). |
|
|
|
|
|
Definition at line 8 of file bg_weapons.h.
00008 {
00009 WP_NONE,
00010
00011 WP_STUN_BATON,
00012 WP_MELEE,
00013 WP_SABER,
00014 WP_BRYAR_PISTOL,
00015 WP_BLASTER,
00016 WP_DISRUPTOR,
00017 WP_BOWCASTER,
00018 WP_REPEATER,
00019 WP_DEMP2,
00020 WP_FLECHETTE,
00021 WP_ROCKET_LAUNCHER,
00022 WP_THERMAL,
00023 WP_TRIP_MINE,
00024 WP_DET_PACK,
00025 WP_CONCUSSION,
00026 WP_BRYAR_OLD,
00027 WP_EMPLACED_GUN,
00028 WP_TURRET,
00029
00030 // WP_GAUNTLET,
00031 // WP_MACHINEGUN, // Bryar
00032 // WP_SHOTGUN, // Blaster
00033 // WP_GRENADE_LAUNCHER, // Thermal
00034 // WP_LIGHTNING, //
00035 // WP_RAILGUN, //
00036 // WP_GRAPPLING_HOOK,
00037
00038 WP_NUM_WEAPONS
00039 };
|
|
|
Definition at line 45 of file bg_weapons.h.
00046 {
00047 AMMO_NONE,
00048 AMMO_FORCE, // AMMO_PHASER
00049 AMMO_BLASTER, // AMMO_STARFLEET,
00050 AMMO_POWERCELL, // AMMO_ALIEN,
00051 AMMO_METAL_BOLTS,
00052 AMMO_ROCKETS,
00053 AMMO_EMPLACED,
00054 AMMO_THERMAL,
00055 AMMO_TRIPMINE,
00056 AMMO_DETPACK,
00057 AMMO_MAX
00058 } ammo_t;
|
|
|
Definition at line 95 of file bg_weapons.h. Referenced by Add_Ammo(), ammo_generic_power_converter_use(), ammo_power_converter_use(), BG_CanItemBeGrabbed(), CG_DrawSiegeInfo(), CG_ParseSiegeExtendedDataEntry(), ClientSpawn(), G_CanUseDispOn(), G_DriveATST(), and G_UseDispenserOn(). |
|