PINK: fix no newline warning

This commit is contained in:
whiterandrek 2018-05-22 06:04:44 +03:00 committed by Eugene Sandulenko
parent 37574a3bcf
commit c06452594f
47 changed files with 41 additions and 55 deletions

View File

@ -344,5 +344,3 @@ void Archive::writeString(const Common::String &string) {
}
} // End of namespace Pink

View File

@ -249,4 +249,4 @@ void CelDecoder::CelVideoTrack::setY(int32 y) {
_center.y = y;//+ getHeight() / 2;
}
} // End of namepsace Pink
} // End of namepsace Pink

View File

@ -118,4 +118,4 @@ void CursorMgr::startAnimation(int index) {
}
}
} // End of namespace Pink
} // End of namespace Pink

View File

@ -138,4 +138,4 @@ Actor *Director::getActorByPoint(Common::Point point) {
return nullptr;
}
}
}

View File

@ -154,4 +154,4 @@ void ResourceDescription::load(Common::File &file) {
inBro = (bool) file.readUint16LE();
}
} // End of namespace Pink
} // End of namespace Pink

View File

@ -92,4 +92,4 @@ void ActionCEL::unpause() {
_decoder->pauseVideo(0);
}
} // End of namespace Pink
} // End of namespace Pink

View File

@ -45,4 +45,4 @@ void ActionHide::toConsole() {
ActionHide::~ActionHide() {}
} //End of namespace Pink
} //End of namespace Pink

View File

@ -66,4 +66,4 @@ void ActionLoop::onStart() {
_actor->endAction();
}
} // End of namespace Pink
} // End of namespace Pink

View File

@ -115,4 +115,4 @@ void ActionSfx::end() {
_sound = nullptr;
}
} // End of namespace Pink
} // End of namespace Pink

View File

@ -96,4 +96,4 @@ void ActionSound::unpause() {
_sound->resume();
}
} // End of namespace Pink
} // End of namespace Pink

View File

@ -54,4 +54,4 @@ void ActionStill::onStart() {
_actor->endAction();
}
} // End of namespace Pink
} // End of namespace Pink

View File

@ -72,4 +72,4 @@ void ActionTalk::unpause() {
_sound->resume();
}
} // End of namespace Pink
} // End of namespace Pink

View File

@ -43,4 +43,4 @@ void ActionText::toConsole() {
_name.c_str(), _text.c_str(), _bounds[0], _bounds[1], _bounds[2], _bounds[3], _centered, _scrollBar, _textColor, _backgroundColor);
}
} // End of namespace Pink
} // End of namespace Pink

View File

@ -41,4 +41,4 @@ void WalkAction::onStart() {
_decoder->start();
}
} // End of namespace Pink
} // End of namespace Pink

View File

@ -99,12 +99,14 @@ void Actor::setAction(Action *newAction) {
}
void Actor::setAction(Action *newAction, bool unk) {
if (unk){
if (unk) {
assert(0); // want to see this
_isActionEnded = 1;
_action = newAction;
}
else setAction(newAction);
else {
setAction(newAction);
}
}
Action *Actor::getAction() const {

View File

@ -39,4 +39,4 @@ void PDAButtonActor::toConsole() {
_name.c_str(), _x, _y, _hideOnStop, _opaque, (int) _command);
}
} // End of namespace Pink
} // End of namespace Pink

View File

@ -44,6 +44,6 @@ private:
Command _command;
};
}
} // End of namespace Pink
#endif

View File

@ -90,4 +90,4 @@ void SupportingActor::onHover(Common::Point point, const Common::String &itemNam
Actor::onHover(point, item, cursorMgr);
}
} // End of namespace Pink
} // End of namespace Pink

View File

@ -97,4 +97,3 @@ void ConditionNotInventoryItemOwner::toConsole() {
}
} // End of namespace Pink

View File

@ -102,5 +102,4 @@ public:
} // End of namespace Pink
#endif

View File

@ -131,4 +131,4 @@ HandlerMgr::~HandlerMgr() {
}
}
}
} // End of namespace Pink

View File

@ -108,4 +108,4 @@ void HandlerTimerSequences::handle(Actor *actor) {
assert(sequence);
}
} // End of namespace Pink
} // End of namespace Pink

View File

@ -60,5 +60,4 @@ protected:
} // End of namespace Pink
#endif

View File

@ -201,5 +201,3 @@ InventoryItem *InventoryMgr::getCurrentItem() {
}
} // End of namespace Pink

View File

@ -101,6 +101,3 @@ InventoryMgr *Module::getInventoryMgr() {
}
} // End of namespace Pink

View File

@ -43,4 +43,3 @@ void NamedObject::store(Archive &archive) {
}
} // End of namespace Pink

View File

@ -55,4 +55,4 @@ protected:
} // End of namespace Pink
#endif
#endif

View File

@ -213,5 +213,4 @@ void GamePage::clear() {
delete _walkMgr; _walkMgr = nullptr;
}
} // End of namespace Pink
} // End of namespace Pink

View File

@ -73,4 +73,4 @@ private:
}
#endif //SCUMMVM_GAME_PAGE_H
#endif

View File

@ -95,5 +95,4 @@ void Page::unpause() {
}
}
} // End of namespace Pink

View File

@ -58,4 +58,4 @@ protected:
} // End of namespace Pink
#endif
#endif

View File

@ -58,6 +58,4 @@ void SeqTimer::update() {
}
}
} // End of namespace Pink
} // End of namespace Pink

View File

@ -188,4 +188,4 @@ void SequenceAudio::skipToLastSubSequence() {
end();
}
} // End of namespace Pink
} // End of namespace Pink

View File

@ -90,4 +90,4 @@ void SequenceContext::setNextItemIndex(int index) {
_nextItemIndex = index;
}
} // End of namespace Pink
} // End of namespace Pink

View File

@ -107,4 +107,4 @@ void SequenceItemDefaultAction::skip(Sequence *sequence) {
execute(0, sequence, 1);
}
} // End of namespace Pink
} // End of namespace Pink

View File

@ -127,4 +127,4 @@ SequenceActorState *Sequencer::findSequenceActorState(const Common::String &name
return nullptr;
}
} // End of namespace Pink
} // End of namespace Pink

View File

@ -69,4 +69,4 @@ public:
} // End of namespace Pink
#endif
#endif

View File

@ -128,4 +128,4 @@ void SideEffectRandomPageVariable::toConsole() {
debug("\t\tSideEffectRandomPageVariable: _name=%s, _values=%s", _name.c_str(), values.c_str());
}
} // End of namespace Pink
} // End of namespace Pink

View File

@ -40,4 +40,4 @@ void WalkLocation::toConsole() {
}
}
} // End of namespace Pink;
} // End of namespace Pink

View File

@ -38,4 +38,4 @@ private:
} // End of namespace Pink
#endif
#endif

View File

@ -149,4 +149,4 @@ void WalkMgr::end() {
_leadActor->onWalkEnd();
}
} // End of namespace Pink
} // End of namespace Pink

View File

@ -157,4 +157,4 @@ void WalkShortestPath::remove(WalkLocation *location) {
}
}
} // End of namespace Pink
} // End of namespace Pink

View File

@ -57,5 +57,4 @@ private:
} // End of namespace Pink
#endif

View File

@ -246,4 +246,4 @@ void PinkEngine::setCursor(uint cursorIndex) {
cursor->getHotspotX(), cursor->getHotspotY(), cursor->getKeyColor());
}
}
}

View File

@ -132,4 +132,4 @@ private:
} // End of namespace Pink
#endif
#endif

View File

@ -81,4 +81,4 @@ uint32 Sound::getCurrentSample() {
return _mixer->getSoundElapsedTime(_handle) * kSampleRate / 1000;
}
} // End of namespace Pink
} // End of namespace Pink

View File

@ -52,4 +52,4 @@ public:
} // End of namespace Pink
#endif
#endif