aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/people.h
diff options
context:
space:
mode:
authoryinsimei2017-05-29 08:02:59 +0200
committerEugene Sandulenko2017-07-13 18:27:45 +0200
commitca2ee02496f232a53ed6c96bd296e0941da636f6 (patch)
treed975887a6cead9e711afddb2053020db68a7914b /engines/sludge/people.h
parent2dddb900c9b6d4356a19886cd31587a049be23d8 (diff)
downloadscummvm-rg350-ca2ee02496f232a53ed6c96bd296e0941da636f6.tar.gz
scummvm-rg350-ca2ee02496f232a53ed6c96bd296e0941da636f6.tar.bz2
scummvm-rg350-ca2ee02496f232a53ed6c96bd296e0941da636f6.zip
SLUDGE: code formatting
Diffstat (limited to 'engines/sludge/people.h')
-rw-r--r--engines/sludge/people.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/engines/sludge/people.h b/engines/sludge/people.h
index ba726b01be..f6d87847e3 100644
--- a/engines/sludge/people.h
+++ b/engines/sludge/people.h
@@ -96,13 +96,16 @@ void makeSilent(onScreenPerson &me);
void setShown(bool h, int ob);
void setDrawMode(int h, int ob);
void setPersonTransparency(int ob, unsigned char x);
-void setPersonColourise(int ob, unsigned char r, unsigned char g, unsigned char b, unsigned char colourmix);
+void setPersonColourise(int ob, unsigned char r, unsigned char g,
+ unsigned char b, unsigned char colourmix);
// Moving 'em
void movePerson(int x, int y, int objNum);
-bool makeWalkingPerson(int x, int y, int objNum, struct loadedFunction *func, int di);
-bool forceWalkingPerson(int x, int y, int objNum, struct loadedFunction *func, int di);
+bool makeWalkingPerson(int x, int y, int objNum, struct loadedFunction *func,
+ int di);
+bool forceWalkingPerson(int x, int y, int objNum, struct loadedFunction *func,
+ int di);
void jumpPerson(int x, int y, int objNum);
void walkAllPeople();
bool turnPersonToFace(int thisNum, int direc);
@@ -116,7 +119,7 @@ void animatePerson(int obj, personaAnimation *);
void animatePerson(int obj, persona *per);
personaAnimation *createPersonaAnim(int num, struct variableStack *&stacky);
inline void setBankFile(personaAnimation *newP, loadedSpriteBank *sB) {
- newP -> theSprites = sB;
+ newP->theSprites = sB;
}
bool setPersonExtra(int f, int newSetting);
int timeForAnim(personaAnimation *fram);