UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
g_mission.h
Go to the documentation of this file.
1 
6 /*
7 All original material Copyright (C) 2002-2020 UFO: Alien Invasion.
8 
9 Original file from Quake 2 v3.21: quake2-2.31/game/g_spawn.c
10 Copyright (C) 1997-2001 Id Software, Inc.
11 
12 This program is free software; you can redistribute it and/or
13 modify it under the terms of the GNU General Public License
14 as published by the Free Software Foundation; either version 2
15 of the License, or (at your option) any later version.
16 
17 This program is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20 
21 See the GNU General Public License for more details.
22 
23 You should have received a copy of the GNU General Public License
24 along with this program; if not, write to the Free Software
25 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 
27 */
28 
29 #pragma once
30 
31 #include "g_local.h"
32 
33 void G_MissionAddVictoryMessage(const char* message);
34 bool G_MissionTouch(Edict* self, Edict* activator);
35 void G_MissionReset(Edict* self, Edict* activator);
36 bool G_MissionDestroy(Edict* self);
37 bool G_MissionUse(Edict* self, Edict* activator);
38 void G_MissionThink(Edict* self);
bool G_MissionTouch(Edict *self, Edict *activator)
Mission trigger.
Definition: g_mission.cpp:53
bool G_MissionDestroy(Edict *self)
void G_MissionAddVictoryMessage(const char *message)
Definition: g_mission.cpp:38
bool G_MissionUse(Edict *self, Edict *activator)
Mission trigger use function.
Definition: g_mission.cpp:151
void G_MissionThink(Edict *self)
Definition: g_mission.cpp:188
Local definitions for game module.
Definition: g_edict.h:45
void G_MissionReset(Edict *self, Edict *activator)
Definition: g_mission.cpp:124