1 #pragma once
2 // Description:
3 //   Collection of game state variables.
4 //
5 // Copyright (C) 2001 Frank Becker
6 //
7 // This program is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU General Public License as published by the Free Software
9 // Foundation;  either version 2 of the License,  or (at your option) any  later
10 // version.
11 //
12 // This program is distributed in the hope that it will be useful,  but  WITHOUT
13 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14 // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details
15 //
16 
17 #include <Context.hpp>
18 #include <Skill.hpp>
19 #include <PausableTimer.hpp>
20 
21 struct GameState
22 {
23     static bool isDeveloper;
24     static bool showFPS;
25     static bool isAlive;
26     static float startOfStep;
27     static float frameFractionOther;
28     static float startOfGameStep;
29     static float frameFraction;
30     static float horsePower;
31     static int numObjects;
32 
33     static int enemyBulletCount;
34     static int enemyAttackCount;
35 
36     static PausableTimer stopwatch;
37     static Context::ContextEnum context;
38     static Skill::SkillEnum skill;
39 };
40