tbftss/src/battle/script.h

44 lines
1.5 KiB
C
Raw Normal View History

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.
*/
#include "../common.h"
2015-10-26 09:10:13 +01:00
#include "../json/cJSON.h"
2015-10-26 09:10:13 +01:00
extern void completeMission(void);
extern void failMission(void);
extern void retreatEnemies(void);
extern void retreatAllies(void);
2015-10-26 09:10:13 +01:00
extern void addHudMessage(SDL_Color c, char *format, ...);
extern void addMessageBox(char *title, char *body, int important);
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);
extern void activateLocations(char *locations);
2015-11-29 13:55:15 +01:00
void activateObjectives(char *objectives);
extern int showingMessageBoxes(void);
2016-02-28 10:59:33 +01:00
extern char *getTranslatedString(char *string);
extern void activateNextWaypoint(void);
extern void activateJumpgate(int activate);
2016-03-16 07:53:49 +01:00
extern void activateSpawner(char *name, int active);
2015-10-26 09:10:13 +01:00
extern Battle battle;
extern Colors colors;
extern Game game;