From 928cb5ab1196f800049ba3e22038acf9cab3bc60 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 7 Sep 2011 23:54:34 +0200 Subject: SWORD1: Made code conform a bit better to our formatting guidelines. Most is automatically converted via astyle + some manual fixes, hopefully I did not miss anything astyle messed up... --- engines/sword1/sword1.h | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'engines/sword1/sword1.h') diff --git a/engines/sword1/sword1.h b/engines/sword1/sword1.h index 2d6db21d19..e973c12754 100644 --- a/engines/sword1/sword1.h +++ b/engines/sword1/sword1.h @@ -63,16 +63,16 @@ class Music; class Control; struct SystemVars { - bool runningFromCd; - uint32 currentCD; // starts at zero, then either 1 or 2 depending on section being played - uint32 justRestoredGame; // see main() in sword.c & New_screen() in gtm_core.c - - uint8 controlPanelMode; // 1 death screen version of the control panel, 2 = successful end of game, 3 = force restart - bool forceRestart; - bool wantFade; // when true => fade during scene change, else cut. - uint8 playSpeech; - uint8 showText; - uint8 language; + bool runningFromCd; + uint32 currentCD; // starts at zero, then either 1 or 2 depending on section being played + uint32 justRestoredGame; // see main() in sword.c & New_screen() in gtm_core.c + + uint8 controlPanelMode; // 1 death screen version of the control panel, 2 = successful end of game, 3 = force restart + bool forceRestart; + bool wantFade; // when true => fade during scene change, else cut. + uint8 playSpeech; + uint8 showText; + uint8 language; bool isDemo; Common::Platform platform; }; @@ -131,18 +131,18 @@ private: uint16 _mouseState; Common::KeyState _keyPressed; - ResMan *_resMan; - ObjectMan *_objectMan; - Screen *_screen; - Mouse *_mouse; - Logic *_logic; - Sound *_sound; - Menu *_menu; - Music *_music; - Control *_control; + ResMan *_resMan; + ObjectMan *_objectMan; + Screen *_screen; + Mouse *_mouse; + Logic *_logic; + Sound *_sound; + Menu *_menu; + Music *_music; + Control *_control; static const uint8 _cdList[TOTAL_SECTIONS]; - static const CdFile _pcCdFileList[]; - static const CdFile _macCdFileList[]; + static const CdFile _pcCdFileList[]; + static const CdFile _macCdFileList[]; static const CdFile _psxCdFileList[]; }; -- cgit v1.2.3