]> git.mxchange.org Git - quix0rs-blobwars.git/blob - src/game.h
Prevent a segmentation fault when using the -map option without specifying a map.
[quix0rs-blobwars.git] / src / game.h
1 /*
2 Copyright (C) 2004-2011 Parallel Realities
3 Copyright (C) 2011-2015 Perpendicular Dimensions
4
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation; either version 2
8 of the License, or (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
14 See the GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
19
20 */
21
22 #include "headers.h"
23
24 extern void drawMap();
25 extern void drawMapTopLayer();
26 extern void showMap(int centerX, int centerY);
27 extern void raiseWaterLevel();
28 extern void doWind();
29
30 extern void doTimeRemaining();
31 extern void doStatusBar();
32 extern void doMusicInfo(unsigned int);
33 extern void doPauseInfo();
34
35 extern void doItems();
36 extern void doPlayer();
37 extern void doTrains();
38 extern void doSwitches();
39 extern void doBullets();
40 extern void doEffects();
41 extern void doParticles();
42 extern void doMIAs();
43 extern void doObstacles();
44 extern void doEnemies();
45 extern void doBosses();
46 extern void doSpawnPoints();
47 extern void doTeleporters();
48 extern void doLineDefs();
49 extern void doTraps();
50
51 extern void showOptions();
52 extern void drawWidgets();
53
54 extern void dropCarriedItems();
55
56 extern void resetPlayer();
57 extern void gibPlayer();
58
59 extern void addTeleportParticles(float x, float y, int amount, int soundToPlay);
60
61 extern void showMissionInformation();
62 extern bool allObjectivesCompleted();
63 extern void showMissionClear();
64 extern void autoCompleteAllObjectives(bool allObjectives);
65 extern void doCredits();
66
67 extern void checkEndCutscene();
68 extern void processPostMissionData();
69 extern void clearAllMissionData();
70 extern void saveGame();
71
72 extern void presentPlayerMedal(const char *tname);
73
74 extern Audio audio;
75 extern Config config;
76 extern Engine engine;
77 extern Graphics graphics;
78 extern Map map;
79 extern ReplayData replayData;
80
81 extern Entity player;
82 extern Game game;
83 extern GameData gameData;
84 extern Weapon weapon[MAX_WEAPONS];