From 9bee9e1ba66db0ca27f13a7a09f839521c1e8b3f Mon Sep 17 00:00:00 2001 From: Adrian Frühwirth Date: Thu, 19 Apr 2018 12:08:31 +0200 Subject: JANITORIAL: Fix whitespace --- engines/sludge/builtin.cpp | 6 +++--- engines/sludge/event.h | 2 +- engines/sludge/freeze.cpp | 2 +- engines/sludge/freeze.h | 2 +- engines/sludge/loadsave.cpp | 2 +- engines/sludge/people.cpp | 4 ++-- engines/sludge/statusba.cpp | 6 +++--- 7 files changed, 12 insertions(+), 12 deletions(-) (limited to 'engines/sludge') diff --git a/engines/sludge/builtin.cpp b/engines/sludge/builtin.cpp index 19aa937f64..8195fc53f9 100644 --- a/engines/sludge/builtin.cpp +++ b/engines/sludge/builtin.cpp @@ -195,7 +195,7 @@ builtIn(howFrozen) { builtIn(setCursor) { UNUSEDALL - PersonaAnimation *aa = getAnimationFromVar(fun->stack->thisVar); + PersonaAnimation *aa = getAnimationFromVar(fun->stack->thisVar); g_sludge->_cursorMan->pickAnimCursor(aa); trimStack(fun->stack); return BR_CONTINUE; @@ -400,7 +400,7 @@ builtIn(pasteImage) { if (!getValueType(x, SVT_INT, fun->stack->thisVar)) return BR_ERROR; trimStack(fun->stack); - PersonaAnimation *pp = getAnimationFromVar(fun->stack->thisVar); + PersonaAnimation *pp = getAnimationFromVar(fun->stack->thisVar); trimStack(fun->stack); if (pp == NULL) return BR_CONTINUE; @@ -1581,7 +1581,7 @@ builtIn(pasteCharacter) { builtIn(animate) { UNUSEDALL int obj; - PersonaAnimation *pp = getAnimationFromVar(fun->stack->thisVar); + PersonaAnimation *pp = getAnimationFromVar(fun->stack->thisVar); if (pp == NULL) return BR_ERROR; trimStack(fun->stack); diff --git a/engines/sludge/event.h b/engines/sludge/event.h index 015e9ea1cb..c07f7b87ad 100644 --- a/engines/sludge/event.h +++ b/engines/sludge/event.h @@ -69,7 +69,7 @@ public: int &mouseY() { return _input.mouseY; } // Events - void setEventFunction(EventFunctions event, int funcNum) { _currentEvents->func[event] = funcNum; } ; + void setEventFunction(EventFunctions event, int funcNum) { _currentEvents->func[event] = funcNum; }; void loadHandlers(Common::SeekableReadStream *stream); void saveHandlers(Common::WriteStream *stream); bool freeze(FrozenStuffStruct *frozenStuff); diff --git a/engines/sludge/freeze.cpp b/engines/sludge/freeze.cpp index cbafa40bdc..9f8c85e828 100644 --- a/engines/sludge/freeze.cpp +++ b/engines/sludge/freeze.cpp @@ -85,7 +85,7 @@ bool GraphicsManager::freeze() { _vm->_peopleMan->freeze(newFreezer); - StatusStuff *newStatusStuff = new StatusStuff ; + StatusStuff *newStatusStuff = new StatusStuff; if (!checkNew(newStatusStuff)) return false; newFreezer->frozenStatus = copyStatusBarStuff(newStatusStuff); diff --git a/engines/sludge/freeze.h b/engines/sludge/freeze.h index 647ccc9fc8..6dd77db17e 100644 --- a/engines/sludge/freeze.h +++ b/engines/sludge/freeze.h @@ -30,7 +30,7 @@ struct OnScreenPerson; struct PersonaAnimation; struct ScreenRegion; struct SpeechStruct; -struct StatusStuff ; +struct StatusStuff; struct EventHandlers; struct ScreenRegion; diff --git a/engines/sludge/loadsave.cpp b/engines/sludge/loadsave.cpp index 9d0a0088b5..017be432ab 100644 --- a/engines/sludge/loadsave.cpp +++ b/engines/sludge/loadsave.cpp @@ -257,7 +257,7 @@ bool loadVariable(Variable *to, Common::SeekableReadStream *stream) { return true; case SVT_ANIM: - to->varData.animHandler = new PersonaAnimation ; + to->varData.animHandler = new PersonaAnimation; if (!checkNew(to->varData.animHandler)) return false; to->varData.animHandler->load(stream); diff --git a/engines/sludge/people.cpp b/engines/sludge/people.cpp index 7a70e62457..625f5b7bcb 100644 --- a/engines/sludge/people.cpp +++ b/engines/sludge/people.cpp @@ -175,7 +175,7 @@ bool Persona::load(Common::SeekableReadStream *stream) { if (!checkNew(animation)) return false; for (a = 0; a < numDirections * 3; a++) { - animation[a] = new PersonaAnimation ; + animation[a] = new PersonaAnimation; if (!checkNew(animation[a])) return false; @@ -1088,7 +1088,7 @@ bool PeopleManager::loadPeople(Common::SeekableReadStream *stream) { if (!checkNew(me->myPersona)) return false; - me->myAnim = new PersonaAnimation ; + me->myAnim = new PersonaAnimation; if (!checkNew(me->myAnim)) return false; diff --git a/engines/sludge/statusba.cpp b/engines/sludge/statusba.cpp index 04fa18e957..fc0f065ea9 100644 --- a/engines/sludge/statusba.cpp +++ b/engines/sludge/statusba.cpp @@ -37,8 +37,8 @@ namespace Sludge { SpritePalette verbLinePalette; SpritePalette litVerbLinePalette; -StatusStuff mainStatus; -StatusStuff *nowStatus = & mainStatus; +StatusStuff mainStatus; +StatusStuff *nowStatus = & mainStatus; void setLitStatus(int i) { nowStatus->litStatus = i; @@ -144,7 +144,7 @@ StatusStuff *copyStatusBarStuff(StatusStuff *here) { here->litStatus = -1; here->firstStatusBar = NULL; - StatusStuff *old = nowStatus; + StatusStuff *old = nowStatus; nowStatus = here; return old; -- cgit v1.2.3