47 #ifndef WAGE_ENTITIES_H 48 #define WAGE_ENTITIES_H 107 int16 _userVariables[26 * 9];
108 int16 _statVariables[18];
113 Designed() : _design(NULL), _designBounds(NULL), _classType(UNKNOWN) {}
119 OperandType _classType;
122 return _designBounds == NULL ? NULL :
new Common::Rect(*_designBounds);
132 enum ChrDestination {
133 RETURN_TO_STORAGE = 0,
134 RETURN_TO_RANDOM_SCENE = 1,
135 RETURN_TO_INITIAL_SCENE = 2
149 NUMBER_OF_ARMOR_TYPES = 4
159 bool _nameProperNoun;
160 bool _playerCharacter;
161 uint _maximumCarriedObjects;
164 int _physicalStrength;
167 int _physicalAccuracy;
168 int _spiritualStength;
170 int _resistanceToMagic;
171 int _spiritualAccuracy;
174 int _followsOpponent;
208 Scene *_currentScene;
211 Obj *_armor[NUMBER_OF_ARMOR_TYPES];
215 ObjArray *getWeapons(
bool includeMagic);
217 const char *getDefiniteArticle(
bool capitalize);
223 int wearObjIfPossible(
Obj *obj);
228 bool isWearing(
Obj *obj);
250 CAUSES_PHYSICAL_DAMAGE = 0,
251 CAUSES_SPIRITUAL_DAMAGE = 1,
252 CAUSES_PHYSICAL_AND_SPIRITUAL_DAMAGE = 2,
253 HEALS_PHYSICAL_DAMAGE = 3,
254 HEALS_SPIRITUAL_DAMAGE = 4,
255 HEALS_PHYSICAL_AND_SPIRITUAL_DAMAGE = 5,
266 bool _returnToRandomScene;
272 Scene *_currentScene;
282 void setCurrentOwner(
Chr *currentOwner) {
283 _currentOwner = currentOwner;
284 if (currentOwner != NULL)
285 _currentScene = NULL;
288 void setCurrentScene(
Scene *currentScene) {
289 _currentScene = currentScene;
290 if (currentScene != NULL)
291 _currentOwner = NULL;
294 Chr *removeFromChr();
297 void resetState(
Chr *owner,
Scene *scene);
329 Designed *lookUpEntity(
int x,
int y);
332 return _textBounds == NULL ? NULL :
new Common::Rect(*_textBounds);
Definition: managed_surface.h:51
Definition: entities.h:231
Definition: formatinfo.h:28
Definition: macfontmanager.h:85
Definition: entities.h:300
Definition: debugger.h:28
Definition: entities.h:130
Definition: entities.h:111
Definition: entities.h:99