30 #define BREATHINGAPPARATUS_TECH "rs_alien_breathing" 123 return this->
add(team, alive, dead);
Store capacities in base.
bool RS_IsResearched_ptr(const technology_t *tech)
Checks whether an item is already researched.
capacities_t * aliveCapacity
#define BREATHINGAPPARATUS_TECH
bool CHRSH_IsTeamDefAlien(const teamDef_t *const td)
Check if a team definition is alien.
Header for research related stuff.
technology_t * RS_GetTechForTeam(const teamDef_t *team)
Returns technology entry for a team.
void RS_MarkCollected(technology_t *tech)
Marks a give technology as collected.
const cgame_import_t * cgi
bool CHRSH_IsTeamDefRobot(const teamDef_t *const td)
Check if a team definition is a robot.
const teamDef_t *IMPORT * Com_GetTeamDefinitionByID(const char *team)
static bool isLifeSupported(const teamDef_t *team)
Returns if storing a specific life form is supported by the containment.
technology_t * RS_GetTechByID(const char *id)
return a pointer to the technology identified by given id string
virtual bool add(const teamDef_t *team, int alive, int dead)
Add aliens to the containment by teamDef.
Alien containment class header.
virtual bool add(const teamDef_t *team, int alive, int dead)
Add aliens to the cargo by teamDef.
static int getCapacityNeedForAlien(const teamDef_t *teamDef, const bool isDead)
Returns the number of capacity needed for an alien in the containment.
int getAlive(void) const
Return number of all alive aliens in the cargo.
This is the technology parsed from research.ufo.
Header file for single player campaign control.
void resetCurrentCapacities(void)
Private metod to reset current capacities.
AlienContainment(capacities_t *aliveCapacity, capacities_t *deadCapacity)
Creates and initializes AlienContainment object.
int getDead(void) const
Return number of all dead bodies in the cargo.
virtual ~AlienContainment(void)
Destroys AlienContainer with it's internal data.
capacities_t * deadCapacity