Orxonox  0.0.5 Codename: Arcturus
Classes | Namespaces | Macros
Game.h File Reference

Declaration of Game Singleton which is responsible for running the game. More...

#include "CorePrereqs.h"
#include <cassert>
#include <list>
#include <map>
#include <string>
#include <vector>
#include <memory>
#include <boost/preprocessor/cat.hpp>
#include "util/Output.h"
#include "util/DestructionHelper.h"
#include "util/Singleton.h"

Go to the source code of this file.

Classes

class  orxonox::Game
 Main class responsible for running the game. More...
 
class  orxonox::Game::GameStateFactory
 
struct  orxonox::Game::StatisticsTickInfo
 
class  orxonox::Game::TemplateGameStateFactory< T >
 
struct  orxonox::GameStateInfo
 Helper object required before GameStates are being constructed. More...
 

Namespaces

 orxonox
 Die Wagnis Klasse hat die folgenden Aufgaben:
 

Macros

#define DeclareGameState(className, stateName, bIgnoreTickTime, bGraphicsMode)   static bool BOOST_PP_CAT(bGameStateDummy_##className, __UNIQUE_NUMBER__) = orxonox::Game::declareGameState<className>(#className, stateName, bIgnoreTickTime, bGraphicsMode)
 Adds a new GameState to the Game. More...
 

Detailed Description

Declaration of Game Singleton which is responsible for running the game.

Macro Definition Documentation

#define DeclareGameState (   className,
  stateName,
  bIgnoreTickTime,
  bGraphicsMode 
)    static bool BOOST_PP_CAT(bGameStateDummy_##className, __UNIQUE_NUMBER__) = orxonox::Game::declareGameState<className>(#className, stateName, bIgnoreTickTime, bGraphicsMode)

Adds a new GameState to the Game.

The second parameter is the name as string and every following parameter is a constructor argument (which is usually non existent)