UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
inventory.cpp File Reference
#include "inventory.h"

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

#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

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.