From 6d36bc3ccad575d35286eae1cbda985947ba5242 Mon Sep 17 00:00:00 2001 From: Le Philousophe Date: Wed, 13 Mar 2019 08:32:05 +0100 Subject: CRYOMNI3D: Fix style --- engines/cryomni3d/cryomni3d.cpp | 4 ++-- engines/cryomni3d/versailles/dialogs.cpp | 3 ++- engines/cryomni3d/versailles/engine.h | 1 - 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/cryomni3d') diff --git a/engines/cryomni3d/cryomni3d.cpp b/engines/cryomni3d/cryomni3d.cpp index d1968d0fa0..ae05778681 100644 --- a/engines/cryomni3d/cryomni3d.cpp +++ b/engines/cryomni3d/cryomni3d.cpp @@ -373,7 +373,7 @@ void CryOmni3DEngine::fadeOutPalette() { } setPalette(palOut, 0, 256); // Wait 50ms between each steps but refresh screen every 10ms - for(unsigned int i = 0; i < 5; i++) { + for (unsigned int i = 0; i < 5; i++) { g_system->updateScreen(); g_system->delayMillis(10); } @@ -400,7 +400,7 @@ void CryOmni3DEngine::fadeInPalette(const byte *palette) { } setPalette(palOut, 0, 256); // Wait 50ms between each steps but refresh screen every 10ms - for(unsigned int i = 0; i < 5; i++) { + for (unsigned int i = 0; i < 5; i++) { g_system->updateScreen(); g_system->delayMillis(10); } diff --git a/engines/cryomni3d/versailles/dialogs.cpp b/engines/cryomni3d/versailles/dialogs.cpp index a415101b71..b74e2f0a39 100644 --- a/engines/cryomni3d/versailles/dialogs.cpp +++ b/engines/cryomni3d/versailles/dialogs.cpp @@ -63,7 +63,8 @@ bool CryOmni3DEngine_Versailles::preprocessDialog(const Common::String &sequence sequence.hasPrefix("31O_SUIA") && _gameVariables[GameVariables::kWarnedIncomplete] == 0 && _dialogsMan["CROISSY-ACCEPTE-TEXTE"] == 'Y' && (!_inventory.inInventoryByNameID(121) || !_inventory.inInventoryByNameID(119) || - !_inventory.inInventoryByNameID(115) || _gameVariables[GameVariables::kGotMedaillesSolution] == 0)) { + !_inventory.inInventoryByNameID(115) || + _gameVariables[GameVariables::kGotMedaillesSolution] == 0)) { displayMessageBoxWarp(18); _gameVariables[GameVariables::kWarnedIncomplete] = 1; return 0; diff --git a/engines/cryomni3d/versailles/engine.h b/engines/cryomni3d/versailles/engine.h index cb677cd94c..189fe9bbb7 100644 --- a/engines/cryomni3d/versailles/engine.h +++ b/engines/cryomni3d/versailles/engine.h @@ -234,7 +234,6 @@ public: virtual unsigned int displayOptions() override; virtual bool shouldAbort() override { return g_engine->shouldQuit() || _abortCommand != AbortNoAbort; } - private: void setupFonts(); void setupSprites(); -- cgit v1.2.3