28 #ifndef GAME_GAME_TYPES_H 29 #define GAME_GAME_TYPES_H 31 #define kTranslate(asCat, asName) (mpInit->mpGame->GetResources()->Translate(asCat, asName)) 33 #define kCopyToVar(aVar, aVal) (aVar->aVal = aVal) 34 #define kCopyFromVar(aVar, aVal) (aVal = aVar->aVal) 36 #include "hpl1/engine/engine.h" 37 #include "common/multimap.h" 49 enum eButtonHandlerState {
50 eButtonHandlerState_Null,
51 eButtonHandlerState_Game,
52 eButtonHandlerState_MainMenu,
53 eButtonHandlerState_MapLoadText,
54 eButtonHandlerState_PreMenu,
55 eButtonHandlerState_Credits,
56 eButtonHandlerState_DemoEndText,
57 eButtonHandlerState_Intro
62 enum ePlayerMoveState {
63 ePlayerMoveState_Walk,
65 ePlayerMoveState_Still,
66 ePlayerMoveState_Jump,
67 ePlayerMoveState_Crouch,
68 ePlayerMoveState_LastEnum,
77 ePlayerState_InteractMode,
81 ePlayerState_WeaponMelee,
89 enum ePlayerHandType {
90 ePlayerHandType_Normal,
91 ePlayerHandType_WeaponMelee,
92 ePlayerHandType_Throw,
93 ePlayerHandType_LastEnum
98 enum ePlayerDamageType {
99 ePlayerDamageType_BloodSplash,
100 ePlayerDamageType_Ice,
101 ePlayerDamageType_LastEnum
106 enum eCrossHairState {
107 eCrossHairState_Inactive,
108 eCrossHairState_Active,
109 eCrossHairState_Invalid,
110 eCrossHairState_Grab,
111 eCrossHairState_Examine,
112 eCrossHairState_Pointer,
113 eCrossHairState_Item,
114 eCrossHairState_DoorLink,
115 eCrossHairState_PickUp,
116 eCrossHairState_Ladder,
117 eCrossHairState_None,
118 eCrossHairState_Cross,
119 eCrossHairState_LastEnum
124 enum eGameDifficulty {
125 eGameDifficulty_Easy = 0,
126 eGameDifficulty_Normal = 1,
127 eGameDifficulty_Hard = 2,
128 eGameDifficulty_LastEnum
133 enum eGameEntityType {
134 eGameEntityType_Unknown,
135 eGameEntityType_Object,
136 eGameEntityType_Door,
137 eGameEntityType_DoorPanel,
138 eGameEntityType_Area,
139 eGameEntityType_Item,
140 eGameEntityType_Link,
141 eGameEntityType_Enemy,
142 eGameEntityType_SwingDoor,
143 eGameEntityType_StickArea,
144 eGameEntityType_SaveArea,
145 eGameEntityType_Lamp,
146 eGameEntityType_Ladder,
147 eGameEntityType_DamageArea,
148 eGameEntityType_ForceArea,
149 eGameEntityType_LiquidArea,
150 eGameEntityType_LastEnum
155 enum eObjectInteractMode {
156 eObjectInteractMode_Static,
157 eObjectInteractMode_Push,
158 eObjectInteractMode_Move,
159 eObjectInteractMode_Grab,
160 eObjectInteractMode_LastEnum,
163 enum eGameDoorState {
165 eGameDoorState_Opening,
166 eGameDoorState_Closed,
167 eGameDoorState_Closing,
168 eGameDoorState_LastEnum,
172 enum eGameEntityScriptType {
173 eGameEntityScriptType_PlayerInteract,
174 eGameEntityScriptType_PlayerExamine,
175 eGameEntityScriptType_PlayerPick,
176 eGameEntityScriptType_OnUpdate,
177 eGameEntityScriptType_OnBreak,
178 eGameEntityScriptType_LastEnum
183 enum eGameCollideScriptType {
184 eGameCollideScriptType_Enter,
185 eGameCollideScriptType_During,
186 eGameCollideScriptType_Leave,
187 eGameCollideScriptType_LastEnum
193 eGameItemType_Normal,
194 eGameItemType_Notebook,
196 eGameItemType_Battery,
197 eGameItemType_Flashlight,
200 eGameItemType_GlowStick,
202 eGameItemType_Painkillers,
203 eGameItemType_WeaponMelee,
205 eGameItemType_LastEnum
210 enum eGameTriggerType {
211 eGameTriggerType_Sound = (1 << 0),
223 kSerializableClassInit(
cGameTimer) public :
cGameTimer() : mbDeleteMe(
false), mbPaused(
false) {}
235 const tString &GetName() {
return msName; }
247 typedef tInventoryUseCallbackMap::iterator tInventoryUseCallbackMapIt;
257 typedef tInventoryPickupCallbackMap::iterator tInventoryPickupCallbackMapIt;
300 #endif // GAME_GAME_TYPES_H
typename TreeT::BasicIterator iterator
Definition: stablemap.h:48
Definition: GameTypes.h:251
Definition: SerializeClass.h:230
Definition: GameTypes.h:289
Definition: GameTypes.h:273
Definition: GameTypes.h:240
Definition: GameTypes.h:222
Definition: list_intern.h:51
Definition: GameEntity.h:126
Definition: GameTypes.h:261