diff options
author | Eugene Sandulenko | 2007-04-27 22:33:45 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2007-04-27 22:33:45 +0000 |
commit | ffce26ebfea301ec33f3d485fa9dbaa0dffccb5b (patch) | |
tree | b62bf14bf84b48b602f12c3aacd9c652a49bef46 /engines/cruise/detection.cpp | |
parent | 101fbdd64f1a9d62c40dcdd20d618a098dc9df7e (diff) | |
download | scummvm-rg350-ffce26ebfea301ec33f3d485fa9dbaa0dffccb5b.tar.gz scummvm-rg350-ffce26ebfea301ec33f3d485fa9dbaa0dffccb5b.tar.bz2 scummvm-rg350-ffce26ebfea301ec33f3d485fa9dbaa0dffccb5b.zip |
Fix code formatting (partially) and guard defines in includes.
svn-id: r26631
Diffstat (limited to 'engines/cruise/detection.cpp')
-rw-r--r-- | engines/cruise/detection.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/engines/cruise/detection.cpp b/engines/cruise/detection.cpp index 8ee866e233..d40f98f067 100644 --- a/engines/cruise/detection.cpp +++ b/engines/cruise/detection.cpp @@ -31,6 +31,7 @@ #include "cruise/cruise.h" namespace Cruise { + struct CRUISEGameDescription { Common::ADGameDescription desc; @@ -60,7 +61,7 @@ namespace Cruise { static const CRUISEGameDescription gameDescriptions[] = { { - { + { "cruise", "", AD_ENTRY1("D1", "41a7a4d426dbd048eb369cfee4bb2717"), @@ -70,9 +71,9 @@ static const CRUISEGameDescription gameDescriptions[] = { }, GType_CRUISE, 0, - }, + }, { - { + { "cruise", "", AD_ENTRY1("D1", "a90d2b9ead6b4d812cd14268672cf178"), @@ -83,7 +84,7 @@ static const CRUISEGameDescription gameDescriptions[] = { GType_CRUISE, 0, }, - { AD_TABLE_END_MARKER, 0, 0 } + {AD_TABLE_END_MARKER, 0, 0} }; } @@ -117,6 +118,7 @@ namespace Cruise { bool CruiseEngine::initGame() { _gameDescription = (const CRUISEGameDescription *)Common::AdvancedDetector::detectBestMatchingGame(detectionParams); + return (_gameDescription != 0); } |