21 #ifndef SLUDGE_PEOPLE_H 22 #define SLUDGE_PEOPLE_H 24 #include "common/list.h" 28 struct FrozenStuffStruct;
29 struct LoadedSpriteBank;
36 int frameNum, howMany;
41 #define EXTRA_FIXEDSIZE 2 42 #define EXTRA_NOSCALE 2 // Alternative name 44 #define EXTRA_FIXTOSCREEN 8 45 #define EXTRA_NOLITE 16 46 #define EXTRA_NOREMOVE 32 47 #define EXTRA_RECTANGULAR 64 78 int height, floaty, walkSpeed;
80 int walkToX, walkToY, thisStepX, thisStepY, inPoly, walkToPoly;
81 bool walking, spinning;
86 int frameNum, frameTick, angle, wantAngle, angleOffset;
88 int direction, directionWhenDoneWalking;
91 byte r, g, b, colourmix, transparency;
95 void setFrames(
int a);
107 bool addPerson(
int x,
int y,
int objNum,
Persona *p);
111 void freezePeople(
int,
int);
115 void killMostPeople();
116 void removeOneCharacter(
int i);
120 void setScale(int16 h, int16 d);
123 void setShown(
bool h,
int ob);
124 void setDrawMode(
int h,
int ob);
125 void setPersonTransparency(
int ob, byte x);
126 void setPersonColourise(
int ob, byte r, byte g, byte b, byte colourmix);
129 void movePerson(
int x,
int y,
int objNum);
130 bool makeWalkingPerson(
int x,
int y,
int objNum,
struct LoadedFunction *func,
int di);
131 bool forceWalkingPerson(
int x,
int y,
int objNum,
struct LoadedFunction *func,
int di);
132 void jumpPerson(
int x,
int y,
int objNum);
133 void walkAllPeople();
134 bool turnPersonToFace(
int thisNum,
int direc);
135 bool stopPerson(
int o);
136 bool floatCharacter(
int f,
int objNum);
137 bool setCharacterWalkSpeed(
int f,
int objNum);
141 void animatePerson(
int obj,
Persona *per);
142 bool setPersonExtra(
int f,
int newSetting);
154 OnScreenPersonList *_allPeople;
160 void shufflePeople();
Definition: variable.h:132
Definition: objtypes.h:32
Definition: function.h:37
Graphics::Surface * scale(const Graphics::Surface &srcImage, int xSize, int ySize)
Out move(In first, In last, Out dst)
Definition: algorithm.h:109
Definition: sprbanks.h:28