2015-10-26 09:10:13 +01:00
|
|
|
/*
|
2016-02-21 16:50:27 +01:00
|
|
|
Copyright (C) 2015-2016 Parallel Realities
|
2015-10-26 09:10:13 +01:00
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU General Public License
|
|
|
|
as published by the Free Software Foundation; either version 2
|
|
|
|
of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
See the GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2015-12-05 09:15:58 +01:00
|
|
|
#include "../common.h"
|
2015-10-26 09:10:13 +01:00
|
|
|
|
2015-11-28 11:11:20 +01:00
|
|
|
#include "../json/cJSON.h"
|
2015-10-26 09:10:13 +01:00
|
|
|
|
|
|
|
extern void completeMission(void);
|
|
|
|
extern void failMission(void);
|
2015-11-28 11:11:20 +01:00
|
|
|
extern void retreatEnemies(void);
|
|
|
|
extern void retreatAllies(void);
|
2015-10-26 09:10:13 +01:00
|
|
|
extern void addHudMessage(SDL_Color c, char *format, ...);
|
2016-05-15 11:00:06 +02:00
|
|
|
extern void addMessageBox(char *title, char *body, int type);
|
2015-10-29 12:08:47 +01:00
|
|
|
extern void activateEntities(char *name);
|
2015-11-29 13:55:15 +01:00
|
|
|
extern void activateEntityGroups(char *groupName);
|
2015-12-22 18:58:18 +01:00
|
|
|
extern void activateLocations(char *locations);
|
2015-11-29 13:55:15 +01:00
|
|
|
void activateObjectives(char *objectives);
|
2015-11-28 18:00:54 +01:00
|
|
|
extern int showingMessageBoxes(void);
|
2016-02-28 10:59:33 +01:00
|
|
|
extern char *getTranslatedString(char *string);
|
2016-04-04 12:23:32 +02:00
|
|
|
extern void activateNextWaypoint(void);
|
2016-03-12 13:35:05 +01:00
|
|
|
extern void activateJumpgate(int activate);
|
2016-03-16 07:53:49 +01:00
|
|
|
extern void activateSpawner(char *name, int active);
|
2016-04-17 10:11:36 +02:00
|
|
|
extern void completeAllObjectives(void);
|
2016-05-15 09:19:26 +02:00
|
|
|
extern void createChristabelLocation(void);
|
|
|
|
extern void killEntity(char *name);
|
2016-05-15 15:02:35 +02:00
|
|
|
extern void updateEntitySide(char *side, char *entity);
|
2015-10-26 09:10:13 +01:00
|
|
|
|
|
|
|
extern Battle battle;
|
|
|
|
extern Colors colors;
|