Skip to content

Commit

Permalink
ADL: Clarify mono/color game options
Browse files Browse the repository at this point in the history
  • Loading branch information
waltervn committed Aug 8, 2016
1 parent 0fe0b15 commit 9b9e4e9
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions engines/adl/detection.cpp
Expand Up @@ -32,13 +32,15 @@

namespace Adl {

#define GAMEOPTION_COLOR GUIO_GAMEOPTIONS1
#define GAMEOPTION_SCANLINES GUIO_GAMEOPTIONS2
#define GAMEOPTION_MONO GUIO_GAMEOPTIONS3
// Mystery House was designed for monochrome display, so we default to
// monochrome mode there. All the other games default to color mode.
#define GAMEOPTION_COLOR_DEFAULT_OFF GUIO_GAMEOPTIONS1
#define GAMEOPTION_SCANLINES GUIO_GAMEOPTIONS2
#define GAMEOPTION_COLOR_DEFAULT_ON GUIO_GAMEOPTIONS3

static const ADExtraGuiOptionsMap optionsList[] = {
{
GAMEOPTION_COLOR,
GAMEOPTION_COLOR_DEFAULT_OFF,
{
_s("Color mode"),
_s("Use color graphics"),
Expand All @@ -48,7 +50,7 @@ static const ADExtraGuiOptionsMap optionsList[] = {
},

{
GAMEOPTION_MONO,
GAMEOPTION_COLOR_DEFAULT_ON,
{
_s("Color mode"),
_s("Use color graphics"),
Expand Down Expand Up @@ -91,7 +93,7 @@ static const AdlGameDescription gameDescriptions[] = {
Common::EN_ANY,
Common::kPlatformApple2GS, // FIXME
ADGF_UNSTABLE,
GUIO2(GAMEOPTION_COLOR, GAMEOPTION_SCANLINES)
GUIO2(GAMEOPTION_COLOR_DEFAULT_OFF, GAMEOPTION_SCANLINES)
},
GAME_TYPE_HIRES1
},
Expand All @@ -105,7 +107,7 @@ static const AdlGameDescription gameDescriptions[] = {
Common::EN_ANY,
Common::kPlatformApple2GS, // FIXME
ADGF_UNSTABLE,
GUIO2(GAMEOPTION_COLOR, GAMEOPTION_SCANLINES)
GUIO2(GAMEOPTION_COLOR_DEFAULT_OFF, GAMEOPTION_SCANLINES)
},
GAME_TYPE_HIRES1
},
Expand All @@ -119,7 +121,7 @@ static const AdlGameDescription gameDescriptions[] = {
Common::EN_ANY,
Common::kPlatformApple2GS, // FIXME
ADGF_UNSTABLE,
GUIO2(GAMEOPTION_MONO, GAMEOPTION_SCANLINES)
GUIO2(GAMEOPTION_COLOR_DEFAULT_ON, GAMEOPTION_SCANLINES)
},
GAME_TYPE_HIRES2
},
Expand All @@ -133,7 +135,7 @@ static const AdlGameDescription gameDescriptions[] = {
Common::EN_ANY,
Common::kPlatformApple2GS, // FIXME
ADGF_UNSTABLE,
GUIO2(GAMEOPTION_MONO, GAMEOPTION_SCANLINES)
GUIO2(GAMEOPTION_COLOR_DEFAULT_ON, GAMEOPTION_SCANLINES)
},
GAME_TYPE_HIRES0
},
Expand All @@ -150,7 +152,7 @@ static const AdlGameDescription gameDescriptions[] = {
Common::EN_ANY,
Common::kPlatformApple2GS, // FIXME
ADGF_UNSTABLE,
GUIO2(GAMEOPTION_MONO, GAMEOPTION_SCANLINES)
GUIO2(GAMEOPTION_COLOR_DEFAULT_ON, GAMEOPTION_SCANLINES)
},
GAME_TYPE_HIRES6
},
Expand Down

0 comments on commit 9b9e4e9

Please sign in to comment.