2010-04-05 23:38:59 +02:00
|
|
|
#if ( !defined(_ASTEROIDSENUMS_H) || defined(GENERATE_ENUM_STRINGS) )
|
|
|
|
|
|
|
|
#if ( !defined(GENERATE_ENUM_STRINGS))
|
|
|
|
#define _ASTEROIDSENUMS_H
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "EnumToString.h"
|
|
|
|
|
|
|
|
namespace asteroids {
|
|
|
|
|
|
|
|
BEGIN_ENUM(GameEntityType)
|
|
|
|
{
|
|
|
|
DECL_ENUM_ELEMENT(GameEntityTypeUnknown),
|
|
|
|
DECL_ENUM_ELEMENT(GameEntityTypeShip),
|
|
|
|
DECL_ENUM_ELEMENT(GameEntityTypeRocket),
|
|
|
|
DECL_ENUM_ELEMENT(GameEntityTypeAsteroid),
|
|
|
|
DECL_ENUM_ELEMENT(GameEntityTypeShipPart),
|
2010-11-27 20:56:38 +01:00
|
|
|
DECL_ENUM_LAST(GameEntityType)
|
2010-04-05 23:38:59 +02:00
|
|
|
}
|
|
|
|
END_ENUM(GameEntityType)
|
|
|
|
|
2010-11-22 20:00:44 +01:00
|
|
|
BEGIN_ENUM(ViewState)
|
|
|
|
{
|
2011-04-19 13:20:46 +02:00
|
|
|
DECL_ENUM_ELEMENT(ViewStateUnknown),
|
2010-11-22 20:00:44 +01:00
|
|
|
DECL_ENUM_ELEMENT(ViewStateMainMenu),
|
|
|
|
DECL_ENUM_ELEMENT(ViewStateGameRunning),
|
|
|
|
DECL_ENUM_ELEMENT(ViewStatePaused),
|
|
|
|
DECL_ENUM_ELEMENT(ViewStatePlayerDied),
|
2010-11-27 08:38:32 +01:00
|
|
|
DECL_ENUM_ELEMENT(ViewStateShipExplodeFade),
|
2011-03-22 23:01:44 +01:00
|
|
|
DECL_ENUM_ELEMENT(ViewStateLevelIntro),
|
2010-11-22 20:00:44 +01:00
|
|
|
DECL_ENUM_ELEMENT(ViewStateLevelComplete),
|
|
|
|
DECL_ENUM_ELEMENT(ViewStateShowHighscore),
|
|
|
|
DECL_ENUM_ELEMENT(ViewStateEnterPlayername),
|
2011-01-02 18:25:20 +01:00
|
|
|
DECL_ENUM_ELEMENT(ViewStateEditor),
|
2010-11-22 20:00:44 +01:00
|
|
|
DECL_ENUM_ELEMENT(ViewStateOptions),
|
2011-03-15 10:21:26 +01:00
|
|
|
DECL_ENUM_ELEMENT(ViewStateCredits),
|
2010-11-27 20:56:38 +01:00
|
|
|
DECL_ENUM_ELEMENT(ViewStateGameOver),
|
|
|
|
DECL_ENUM_LAST(ViewState)
|
2010-11-22 20:00:44 +01:00
|
|
|
}
|
|
|
|
END_ENUM(ViewState)
|
|
|
|
|
2010-04-05 23:38:59 +02:00
|
|
|
BEGIN_ENUM(GameState)
|
|
|
|
{
|
|
|
|
DECL_ENUM_ELEMENT(GameStateRunning),
|
|
|
|
DECL_ENUM_ELEMENT(GameStatePaused),
|
2010-11-27 20:56:38 +01:00
|
|
|
DECL_ENUM_LAST(GameState)
|
2010-04-05 23:38:59 +02:00
|
|
|
}
|
|
|
|
END_ENUM(GameState)
|
|
|
|
|
2010-06-06 01:35:38 +02:00
|
|
|
}
|
|
|
|
|
2010-04-05 23:38:59 +02:00
|
|
|
#include "AsteroidsEvents.h"
|
|
|
|
|
|
|
|
#endif /* _ASTEROIDSENUMS_H */
|
|
|
|
|