47 #ifndef WAGE_ENTITIES_H 48 #define WAGE_ENTITIES_H 108 int16 _userVariables[26 * 9];
109 int16 _statVariables[18];
114 Designed() : _design(NULL), _designBounds(NULL), _classType(UNKNOWN) {}
120 OperandType _classType;
123 return _designBounds == NULL ? NULL :
new Common::Rect(*_designBounds);
133 enum ChrDestination {
134 RETURN_TO_STORAGE = 0,
135 RETURN_TO_RANDOM_SCENE = 1,
136 RETURN_TO_INITIAL_SCENE = 2
150 NUMBER_OF_ARMOR_TYPES = 4
160 bool _nameProperNoun;
161 bool _playerCharacter;
162 uint _maximumCarriedObjects;
165 int _physicalStrength;
168 int _physicalAccuracy;
169 int _spiritualStength;
171 int _resistanceToMagic;
172 int _spiritualAccuracy;
175 int _followsOpponent;
209 Scene *_currentScene;
212 Obj *_armor[NUMBER_OF_ARMOR_TYPES];
216 ObjArray *getWeapons(
bool includeMagic);
218 const char *getDefiniteArticle(
bool capitalize);
224 int wearObjIfPossible(
Obj *obj);
229 bool isWearing(
Obj *obj);
251 CAUSES_PHYSICAL_DAMAGE = 0,
252 CAUSES_SPIRITUAL_DAMAGE = 1,
253 CAUSES_PHYSICAL_AND_SPIRITUAL_DAMAGE = 2,
254 HEALS_PHYSICAL_DAMAGE = 3,
255 HEALS_SPIRITUAL_DAMAGE = 4,
256 HEALS_PHYSICAL_AND_SPIRITUAL_DAMAGE = 5,
267 bool _returnToRandomScene;
273 Scene *_currentScene;
283 void setCurrentOwner(
Chr *currentOwner) {
284 _currentOwner = currentOwner;
285 if (currentOwner != NULL)
286 _currentScene = NULL;
289 void setCurrentScene(
Scene *currentScene) {
290 _currentScene = currentScene;
291 if (currentScene != NULL)
292 _currentOwner = NULL;
295 Chr *removeFromChr();
298 void resetState(
Chr *owner,
Scene *scene);
330 Designed *lookUpEntity(
int x,
int y);
333 return _textBounds == NULL ? NULL :
new Common::Rect(*_textBounds);
Definition: managed_surface.h:51
Definition: entities.h:232
Definition: formatinfo.h:28
Definition: macfontmanager.h:110
Definition: entities.h:301
Definition: debugger.h:28
Definition: entities.h:131
Definition: entities.h:112
Definition: entities.h:99