All Data Structures Files Functions Variables Enumerations Enumerator Properties Defines
/Projects/Cogito/src/Constants/CommonDataTypes.h
Go to the documentation of this file.
00001 //
00002 //  CommonDataTypes.h
00003 //  Author: Thomas Taylor
00004 //
00005 //  Some useful enum datatypes
00006 //  used throughout the game
00007 //
00008 //  21/11/2011: Created class
00009 //
00010 
00011 #ifndef Cogito_CommonDataTypes_h
00012 #define Cogito_CommonDataTypes_h
00013 
00014 #endif
00015 
00016 typedef enum
00017 {
00018     kAxisHorizontal,
00019     kAxisVertical,
00020 } Axis;
00021 
00022 typedef enum
00023 {
00024     kDirectionLeft,
00025     kDirectionRight,
00026 } Direction;
00027 
00028 typedef enum
00029 {
00030     kDifficultyEasy,
00031     kDifficultyNormal,
00032     kDifficultyHard,
00033 } Difficulty;
00034 
00035 typedef enum
00036 {
00037     kLearningReinforcement,
00038     kLearningTree,
00039     kLearningShortestRoute,
00040     kLearningNone,
00041     kLearningMixed
00042 } MachineLearningType;
00043 
00044 typedef enum
00045 {
00046     kGraphEpisodeTime,
00047     kGraphActions,
00048     kGraphAgentsSaved
00049 } GraphType;
00050 
00051 typedef enum
00052 {
00053     kRatingA,
00054     kRatingB,
00055     kRatingC,
00056     kRatingD,
00057     kRatingF
00058 } GameRating;
00059 
00060 typedef enum
00061 {
00062     kStateSpawning,
00063     kStateFalling,
00064     kStateIdle,
00065     kStateWalking,
00066     kStateFloating,
00067     kStateDead,
00068     kStateWin
00069 } CharacterStates;
00070 
00071 typedef enum
00072 {
00073     kObjectTypeNone,
00074     kObjectExit,
00075     kObjectTrapdoor,
00076     kObjectTerrain,
00077     kObjectTerrainEnd,
00078     kToolHelmet,
00079     kToolUmbrella,
00080     kLemmingType,
00081     kObstaclePit,
00082     kObstacleCage,
00083     kObstacleWater,
00084     kObstacleStamper
00085 } GameObjectType;
00086 
00087 typedef enum
00088 {
00089     kActionLeft               = 0,
00090     kActionLeftHelmet         = 1,
00091     kActionRight              = 2,
00092     kActionRightHelmet        = 3,
00093     kActionDown               = 4,
00094     kActionDownUmbrella       = 5,
00095     kActionEquipUmbrella      = 6,
00096     kTotalActions              
00097 } Action;
00098 
00099 typedef enum
00100 {
00101     kNoSceneUninitialised       = 0,
00102     kStingScene                 = 1,
00103     kMainMenuScene              = 2,
00104     kNewGameScene               = 3,
00105     kStatsScene                 = 4,
00106     kInstructionsScene          = 5,
00107     kSettingsScene              = 6,
00108     kAboutScene                 = 7,
00109     kGameOverScene              = 8,
00110     kGameLevelScene             = 101
00111 } SceneTypes;