UFO: Alien Invasion
Loading...
Searching...
No Matches
inventory.cpp File Reference
#include "inventory.h"
Include dependency graph for inventory.cpp:

Go to the source code of this file.

Macros

#define WEAPONLESS_BONUS   0.4 /* if you got neither primary nor secondary weapon, this is the chance to retry to get one (before trying to get grenades or blades) */

Enumerations

enum  equipPrimaryWeaponType_t { WEAPON_PARTICLE_OR_NORMAL = 0 , WEAPON_OTHER = 1 , WEAPON_NO_PRIMARY = 2 }
 Types of weapon that can be selected. More...

Macro Definition Documentation

◆ WEAPONLESS_BONUS

#define WEAPONLESS_BONUS   0.4 /* if you got neither primary nor secondary weapon, this is the chance to retry to get one (before trying to get grenades or blades) */

Definition at line 555 of file inventory.cpp.

Referenced by InventoryInterface::EquipActorNormal().

Enumeration Type Documentation

◆ equipPrimaryWeaponType_t

Types of weapon that can be selected.

Enumerator
WEAPON_PARTICLE_OR_NORMAL 

primary weapon is a particle or normal weapon

WEAPON_OTHER 

primary weapon is not a particle or normal weapon

WEAPON_NO_PRIMARY 

no primary weapon

Definition at line 724 of file inventory.cpp.