[Scummvm-cvs-logs] CVS: scummvm/gui launcher.cpp,1.58,1.59
Max Horn
fingolfin at users.sourceforge.net
Tue Oct 28 09:08:19 CET 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/base engine.h,1.6,1.7 gameDetector.cpp,1.44,1.45 gameDetector.h,1.17,1.18 plugins.cpp,1.18,1.19
- Next message: [Scummvm-cvs-logs] CVS: scummvm/bs2 anims.cpp,1.34,1.35 function.cpp,1.28,1.29 maketext.cpp,1.24,1.25 resman.cpp,1.56,1.57 sound.cpp,1.28,1.29 sword2.cpp,1.65,1.66 sword2.h,1.25,1.26
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/gui
In directory sc8-pr-cvs1:/tmp/cvs-serv20245/gui
Modified Files:
launcher.cpp
Log Message:
cleanup: removed version/id from GameSettings
Index: launcher.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/launcher.cpp,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- launcher.cpp 17 Oct 2003 15:54:17 -0000 1.58
+++ launcher.cpp 28 Oct 2003 17:07:23 -0000 1.59
@@ -100,10 +100,6 @@
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 @@
_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 @@
} 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 @@
// ...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
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/base engine.h,1.6,1.7 gameDetector.cpp,1.44,1.45 gameDetector.h,1.17,1.18 plugins.cpp,1.18,1.19
- Next message: [Scummvm-cvs-logs] CVS: scummvm/bs2 anims.cpp,1.34,1.35 function.cpp,1.28,1.29 maketext.cpp,1.24,1.25 resman.cpp,1.56,1.57 sound.cpp,1.28,1.29 sword2.cpp,1.65,1.66 sword2.h,1.25,1.26
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list