aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorMax Horn2003-11-01 22:18:17 +0000
committerMax Horn2003-11-01 22:18:17 +0000
commit17597164b91517ed3c2c551b43208f455d83b54a (patch)
treee42a6bedea6f2ff56a27fe1f9a9d8089ba22733f /gui
parent186125ffb66964204c9b840c173f7ac5dca1a050 (diff)
downloadscummvm-rg350-17597164b91517ed3c2c551b43208f455d83b54a.tar.gz
scummvm-rg350-17597164b91517ed3c2c551b43208f455d83b54a.tar.bz2
scummvm-rg350-17597164b91517ed3c2c551b43208f455d83b54a.zip
amiga checkbox is obsolete (will be replaced by a platform popup
svn-id: r11038
Diffstat (limited to 'gui')
-rw-r--r--gui/launcher.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index b402703435..a10571a50f 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -87,7 +87,6 @@ protected:
EditTextWidget *_descriptionWidget;
EditTextWidget *_domainWidget;
CheckboxWidget *_fullscreenCheckbox;
- CheckboxWidget *_amigaCheckbox;
};
EditGameDialog::EditGameDialog(NewGui *gui, const String &domain, GameSettings target)
@@ -120,22 +119,6 @@ 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');
- _amigaCheckbox->setState(ConfMan.getBool("amiga", _domain));
- } 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);
@@ -154,8 +137,6 @@ void EditGameDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat
ConfMan.renameGameDomain(_domain, newDomain);
}
ConfMan.set("description", _descriptionWidget->getLabel(), newDomain);
- if (_amigaCheckbox)
- ConfMan.set("amiga", _amigaCheckbox->getState(), newDomain);
ConfMan.set("fullscreen", _fullscreenCheckbox->getState(), newDomain);
setResult(1);
close();