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