|
UFO: Alien Invasion
|
Mission related code - king of the hill and so on. More...
#include "g_mission.h"#include "g_actor.h"#include "g_client.h"#include "g_edicts.h"#include "g_inventory.h"#include "g_match.h"#include "g_spawn.h"#include "g_utils.h"
Go to the source code of this file.
Functions | |
| void | G_MissionAddVictoryMessage (const char *message) |
| static const char * | G_MissionGetTeamString (const int team) |
| bool | G_MissionTouch (Edict *self, Edict *activator) |
| Mission trigger. | |
| void | G_MissionReset (Edict *self, Edict *activator) |
| bool | G_MissionUse (Edict *self, Edict *activator) |
| Mission trigger use function. | |
| static bool | G_MissionIsTouched (Edict *self) |
| void | G_MissionThink (Edict *self) |
Mission related code - king of the hill and so on.
Definition in file g_mission.cpp.
| void G_MissionAddVictoryMessage | ( | const char * | message | ) |
Definition at line 38 of file g_mission.cpp.
References CS_VICTORY_CONDITIONS, and gi.
Referenced by SP_misc_mission().
|
inlinestatic |
Definition at line 43 of file g_mission.cpp.
References TEAM_ALIEN, TEAM_PHALANX, and va().
Referenced by G_MissionReset(), and G_MissionTouch().
|
static |
Definition at line 173 of file g_mission.cpp.
References linkedList_t::data, G_IsDead, Edict::isSameTeamAs(), linkedList_t::next, and Edict::touchedList.
Referenced by G_MissionThink().
Definition at line 124 of file g_mission.cpp.
References _, Edict::count, linkedList_t::data, G_IsDead, G_MissionGetTeamString(), Edict::getTeam(), gi, Edict::isSameTeamAs(), Edict::item, linkedList_t::next, PRINT_HUD, Edict::targetname, Edict::time, and Edict::touchedList.
Referenced by SP_misc_mission().
Definition at line 188 of file g_mission.cpp.
References CID_FLOOR, Com_Printf(), Edict::count, Item::def(), ET_ITEM, ET_MISSION, ET_PARTICLE, G_AppearPerishEvent(), G_EventPerish(), G_FreeEdict(), G_GetEdictFromPos(), G_GetFloorItems(), G_InventoryRemoveItemByID(), G_MatchEndTrigger(), G_MatchIsRunning(), G_MissionIsTouched(), G_SpawnParticle(), G_UseEdict(), G_ValidMessage, G_VisToPM(), Edict::getFloor(), Edict::getIdNum(), Item::getNext(), Edict::getTeam(), gi, Edict::groupChain, Edict::groupMaster, objDef_t::id, Edict::item, level, Edict::link, MAX_TEAMS, Edict::message, Edict::origin, Edict::particle, Edict::pos, PRINT_HUD, Q_streq, Edict::spawnflags, Edict::target, TEAM_ALIEN, Edict::time, Edict::type, and Edict::visflags.
Referenced by SP_misc_mission().
Mission trigger.
Definition at line 53 of file g_mission.cpp.
References _, Edict::chr, CID_FLOOR, Edict::count, linkedList_t::data, Container::def(), Item::def(), G_ActorInvMove(), G_IsCivilian, G_IsDead, G_IsLivingActor(), G_MissionGetTeamString(), Inventory::getNextCont(), Container::getNextItem(), Edict::getTeam(), gi, objDef_t::id, character_t::inv, INVDEF, Edict::isOpponent(), Edict::isSameTeamAs(), Edict::item, level, makeActor(), objDef_t::name, linkedList_t::next, NONE, PRINT_HUD, Q_streq, Edict::targetname, and Edict::touchedList.
Referenced by SP_misc_mission().
Mission trigger use function.
Definition at line 151 of file g_mission.cpp.
References Edict::destroy, G_EdictsFindTargetEntity(), G_FreeEdict(), gi, Edict::HP, Edict::target, and Edict::use.
Referenced by SP_misc_mission().