2018-01-21 10:31:38 +01:00
|
|
|
/*
|
|
|
|
Copyright (C) 2018 Parallel Realities
|
|
|
|
|
|
|
|
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"
|
|
|
|
#include <time.h>
|
|
|
|
|
2018-03-01 08:52:50 +01:00
|
|
|
extern void awardTrophies(void);
|
|
|
|
extern void cleanup(void);
|
|
|
|
extern void doTrophyAlerts(void);
|
|
|
|
extern void drawTrophyAlert(void);
|
|
|
|
extern void expireTexts(int all);
|
|
|
|
extern void handleInput(void);
|
|
|
|
extern void init18N(int argc, char *argv[]);
|
|
|
|
extern void initGameSystem(void);
|
|
|
|
extern void initLookups(void);
|
|
|
|
extern void initSDL(void);
|
2018-03-09 19:26:04 +01:00
|
|
|
extern void initWorldTest(char *worldId);
|
2018-03-15 09:00:00 +01:00
|
|
|
extern void initEnding(void);
|
2018-03-16 09:28:25 +01:00
|
|
|
extern void initCredits(void);
|
2018-03-01 08:52:50 +01:00
|
|
|
extern void prepareScene(void);
|
|
|
|
extern void presentScene(void);
|
|
|
|
extern void saveScreenshot(char *name);
|
2018-03-19 09:08:29 +01:00
|
|
|
extern void initTitle(void);
|
2018-04-15 11:45:18 +02:00
|
|
|
extern void createScreenshotFolder(void);
|
2018-03-01 08:52:50 +01:00
|
|
|
|
2018-03-01 09:24:05 +01:00
|
|
|
App app;
|
|
|
|
Camera camera;
|
|
|
|
Colors colors;
|
|
|
|
Dev dev;
|
|
|
|
Entity *self;
|
|
|
|
Game game;
|
|
|
|
World world;
|