aboutsummaryrefslogtreecommitdiff
path: root/engines/startrek/detection.cpp
diff options
context:
space:
mode:
authorMatthew Stewart2018-07-23 22:53:10 -0400
committerEugene Sandulenko2018-08-09 08:37:30 +0200
commitfe98dbb69d1f8222eeb391111f59670658b0daad (patch)
treefdd8c33cb65529082f698e08e9d1a86d7cdc05e8 /engines/startrek/detection.cpp
parentaa68655742c94026c701dafc1ef6efb032774434 (diff)
downloadscummvm-rg350-fe98dbb69d1f8222eeb391111f59670658b0daad.tar.gz
scummvm-rg350-fe98dbb69d1f8222eeb391111f59670658b0daad.tar.bz2
scummvm-rg350-fe98dbb69d1f8222eeb391111f59670658b0daad.zip
STARTREK: Reformat with artistic style
Diffstat (limited to 'engines/startrek/detection.cpp')
-rw-r--r--engines/startrek/detection.cpp32
1 files changed, 17 insertions, 15 deletions
diff --git a/engines/startrek/detection.cpp b/engines/startrek/detection.cpp
index ebeb30aa16..0cdc0ef4a4 100644
--- a/engines/startrek/detection.cpp
+++ b/engines/startrek/detection.cpp
@@ -92,7 +92,7 @@ static const StarTrekGameDescription gameDescriptions[] = {
0,
0,
},
-
+
{
{
"st25",
@@ -107,7 +107,7 @@ static const StarTrekGameDescription gameDescriptions[] = {
0,
0,
},
-
+
{
{
"st25",
@@ -122,7 +122,7 @@ static const StarTrekGameDescription gameDescriptions[] = {
0,
0,
},
-
+
{
{
"st25",
@@ -137,7 +137,7 @@ static const StarTrekGameDescription gameDescriptions[] = {
0,
0,
},
-
+
{
{
"st25",
@@ -152,7 +152,7 @@ static const StarTrekGameDescription gameDescriptions[] = {
0,
0,
},
-
+
{
{
"st25",
@@ -167,7 +167,7 @@ static const StarTrekGameDescription gameDescriptions[] = {
0,
0,
},
-
+
{
{
"st25",
@@ -197,7 +197,7 @@ static const StarTrekGameDescription gameDescriptions[] = {
GF_DEMO,
0,
},
-
+
{
{
"stjr",
@@ -211,8 +211,8 @@ static const StarTrekGameDescription gameDescriptions[] = {
GType_STJR,
0,
0,
- },
-
+ },
+
{ AD_TABLE_END_MARKER, 0, 0, 0 }
};
@@ -250,14 +250,14 @@ bool StarTrekMetaEngine::hasFeature(MetaEngineFeature f) const {
(f == kSavesSupportThumbnail) ||
(f == kSavesSupportCreationDate) ||
(f == kSavesSupportPlayTime) ||
- (f == kSimpleSavesNames);
+ (f == kSimpleSavesNames);
}
bool StarTrekMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const {
const StarTrek::StarTrekGameDescription *gd = (const StarTrek::StarTrekGameDescription *)desc;
-
+
*engine = new StarTrek::StarTrekEngine(syst, gd);
-
+
return (gd != 0);
}
@@ -304,7 +304,9 @@ SaveStateList StarTrekMetaEngine::listSaves(const char *target) const {
}
-int StarTrekMetaEngine::getMaximumSaveSlot() const { return 999; }
+int StarTrekMetaEngine::getMaximumSaveSlot() const {
+ return 999;
+}
void StarTrekMetaEngine::removeSaveState(const char *target, int slot) const {
Common::String fileName = Common::String::format("%s.%03d", target, slot);
@@ -372,8 +374,8 @@ SaveStateDescriptor StarTrekMetaEngine::querySaveMetaInfos(const char *target, i
#if PLUGIN_ENABLED_DYNAMIC(STARTREK)
- REGISTER_PLUGIN_DYNAMIC(STARTREK, PLUGIN_TYPE_ENGINE, StarTrekMetaEngine);
+REGISTER_PLUGIN_DYNAMIC(STARTREK, PLUGIN_TYPE_ENGINE, StarTrekMetaEngine);
#else
- REGISTER_PLUGIN_STATIC(STARTREK, PLUGIN_TYPE_ENGINE, StarTrekMetaEngine);
+REGISTER_PLUGIN_STATIC(STARTREK, PLUGIN_TYPE_ENGINE, StarTrekMetaEngine);
#endif