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().
Referenced by RunImplant().
|
static |
Definition at line 55 of file test_character.cpp.
References Com_Printf(), implant_s::def, and implantDef_s::id.
Referenced by RunImplant().
|
static |
Definition at line 61 of file test_character.cpp.
References fireDef_s::activeEffect, CHRSH_ApplyImplant(), CHRSH_UpdateImplants(), Com_Printf(), fireDef_s::deactiveEffect, implant_s::def, f, objDef_s::fd, GetCharacter(), i, implantDef_s::id, implantDef_s::installationTime, implant_s::installedTime, implantDef_s::item, lengthof, MAX_WEAPONS_PER_OBJDEF, objDef_s::numFiredefs, fireDef_s::overdoseEffect, implant_s::removedTime, RunEffectForImplant(), RunStrengthenImplant(), and objDef_s::strengthenEffect.
Referenced by TEST_F().
|
static |
Definition at line 49 of file test_character.cpp.
References Com_Printf(), and objDef_s::id.
Referenced by RunImplant().
TEST_F | ( | CharacterTest | , |
testImplants | |||
) |
Definition at line 100 of file test_character.cpp.
References Com_Printf(), csi, i, csi_s::implants, csi_s::numImplants, and RunImplant().