diff options
author | Max Horn | 2003-10-28 17:07:25 +0000 |
---|---|---|
committer | Max Horn | 2003-10-28 17:07:25 +0000 |
commit | 53db0a8a073784260f3160b5d3cfa38f2de254b3 (patch) | |
tree | 957853c0da5c36dff7112b8cc8db718b5e8ea33f /gui/launcher.cpp | |
parent | 0ba347414dfbbf807b534e2c0f2d2320af4a5358 (diff) | |
download | scummvm-rg350-53db0a8a073784260f3160b5d3cfa38f2de254b3.tar.gz scummvm-rg350-53db0a8a073784260f3160b5d3cfa38f2de254b3.tar.bz2 scummvm-rg350-53db0a8a073784260f3160b5d3cfa38f2de254b3.zip |
cleanup: removed version/id from GameSettings
svn-id: r10995
Diffstat (limited to 'gui/launcher.cpp')
-rw-r--r-- | gui/launcher.cpp | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index 04b918649d..b402703435 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -100,10 +100,6 @@ EditGameDialog::EditGameDialog(NewGui *gui, const String &domain, GameSettings t description = target.description; } - // Determine whether this is a SCUMM game - // FIXME: This check is evil, as it requires us to hard code GIDs. - bool isScumm = (GID_SCUMM_FIRST <= target.id && target.id <= GID_SCUMM_LAST); - // Label & edit widget for the game ID new StaticTextWidget(this, 10, 10, 40, kLineHeight, "ID: ", kTextAlignRight); @@ -124,6 +120,14 @@ EditGameDialog::EditGameDialog(NewGui *gui, const String &domain, GameSettings t _fullscreenCheckbox = new CheckboxWidget(this, 15, 62, 200, 16, "Use Fullscreen Mode", 0, 'F'); _fullscreenCheckbox->setState(ConfMan.getBool("fullscreen", _domain)); +/* + // FIXME: The amiga checkbox is outdated cruft. It should be replaced by a + // a "platform" popup. + + // Determine whether this is a SCUMM game + // FIXME: This check is evil, as it requires us to hard code GIDs. + bool isScumm = (GID_SCUMM_FIRST <= target.id && target.id <= GID_SCUMM_LAST); + // Display 'Amiga' checkbox, but only for Scumm games. if (isScumm) { _amigaCheckbox = new CheckboxWidget(this, 15, 82, 200, 16, "Amiga Version", 0, 'A'); @@ -131,7 +135,7 @@ EditGameDialog::EditGameDialog(NewGui *gui, const String &domain, GameSettings t } else { _amigaCheckbox = 0; } - +*/ // Add OK & Cancel buttons addButton(_w - 2 * (kButtonWidth + 10), _h - 24, "Cancel", kCloseCmd, 0); addButton(_w - (kButtonWidth + 10), _h - 24, "OK", kOKCmd, 0); @@ -307,7 +311,7 @@ void LauncherDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat // ...so let's determine a list of candidates, games that // could be contained in the specified directory. GameList candidates = detectGames(dir); - GameSettings result = {NULL, NULL, 0, 0, MDT_NONE, 0, NULL}; + GameSettings result = {NULL, NULL, MDT_NONE, 0, NULL}; if (candidates.isEmpty()) { // No game was found in the specified directory |