diff options
Diffstat (limited to 'engines/sludge/people.h')
-rw-r--r-- | engines/sludge/people.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sludge/people.h b/engines/sludge/people.h index 60ad672ef7..8780ed10f6 100644 --- a/engines/sludge/people.h +++ b/engines/sludge/people.h @@ -75,7 +75,6 @@ struct OnScreenPerson { float x, y; int height, floaty, walkSpeed; float scale; - OnScreenPerson *next; int walkToX, walkToY, thisStepX, thisStepY, inPoly, walkToPoly; bool walking, spinning; struct LoadedFunction *continueAfterWalking; @@ -94,6 +93,8 @@ struct OnScreenPerson { void setFrames(int a); }; +typedef Common::List<OnScreenPerson *> OnScreenPersonList; + class PeopleManager { public: PeopleManager(SludgeEngine *vm); @@ -148,7 +149,7 @@ public: private: ScreenRegion *_personRegion; - OnScreenPerson *_allPeople; + OnScreenPersonList *_allPeople; int16 _scaleHorizon; int16 _scaleDivide; |