|
UFO: Alien Invasion
|

Go to the source code of this file.
Data Structures | |
| class | CharacterTest |
Functions | |
| static character_t * | GetCharacter (const char *teamDefID="phalanx") |
| static void | RunStrengthenImplant (character_t &chr, const implant_t &implant, const objDef_t &od) |
| static void | RunEffectForImplant (const fireDef_t &fd, character_t &chr, const implant_t &implant, const objDef_t &od, const itemEffect_t &effect) |
| static void | RunImplant (const implantDef_t &implantDef) |
| TEST_F (CharacterTest, testImplants) | |
|
static |
Definition at line 42 of file test_character.cpp.
References CL_GenerateCharacter(), and GetCharacter().
Referenced by GetCharacter(), and RunImplant().
|
static |
Definition at line 55 of file test_character.cpp.
References Com_Printf(), implant_t::def, implantDef_t::id, and RunEffectForImplant().
Referenced by RunEffectForImplant(), and RunImplant().
|
static |
Definition at line 61 of file test_character.cpp.
References fireDef_t::activeEffect, CHRSH_ApplyImplant(), CHRSH_UpdateImplants(), Com_Printf(), fireDef_t::deactiveEffect, implant_t::def, f, objDef_t::fd, GetCharacter(), i, implantDef_t::id, implantDef_t::installationTime, implant_t::installedTime, implantDef_t::item, lengthof, MAX_WEAPONS_PER_OBJDEF, objDef_t::numFiredefs, fireDef_t::overdoseEffect, implant_t::removedTime, RunEffectForImplant(), RunImplant(), RunStrengthenImplant(), and objDef_t::strengthenEffect.
Referenced by RunImplant(), and TEST_F().
|
static |
Definition at line 49 of file test_character.cpp.
References Com_Printf(), objDef_t::id, and RunStrengthenImplant().
Referenced by RunImplant(), and RunStrengthenImplant().
| TEST_F | ( | CharacterTest | , |
| testImplants | ) |
Definition at line 100 of file test_character.cpp.
References Com_Printf(), csi, i, csi_t::implants, csi_t::numImplants, RunImplant(), and TEST_F().