aboutsummaryrefslogtreecommitdiff
path: root/engines/game.cpp
diff options
context:
space:
mode:
authorMax Horn2011-06-13 01:25:53 +0200
committerMax Horn2011-06-14 18:17:02 +0200
commit6412d091268d299f7f4d31382b0e4e9e4e352ad9 (patch)
treeaaaf1ce6901c07ffb56525e49288eb36ddef3024 /engines/game.cpp
parent01c4d900168c5521fa9b8342f919eb12570fac0f (diff)
downloadscummvm-rg350-6412d091268d299f7f4d31382b0e4e9e4e352ad9.tar.gz
scummvm-rg350-6412d091268d299f7f4d31382b0e4e9e4e352ad9.tar.bz2
scummvm-rg350-6412d091268d299f7f4d31382b0e4e9e4e352ad9.zip
DETECTOR: Remove PlainGameDescriptorGUIOpts
Diffstat (limited to 'engines/game.cpp')
-rw-r--r--engines/game.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/engines/game.cpp b/engines/game.cpp
index a14edb8af4..c6d9905b52 100644
--- a/engines/game.cpp
+++ b/engines/game.cpp
@@ -38,17 +38,12 @@ GameDescriptor::GameDescriptor() {
setVal("description", "");
}
-GameDescriptor::GameDescriptor(const PlainGameDescriptor &pgd) {
- setVal("gameid", pgd.gameid);
- setVal("description", pgd.description);
-}
-
-GameDescriptor::GameDescriptor(const PlainGameDescriptorGUIOpts &pgd) {
+GameDescriptor::GameDescriptor(const PlainGameDescriptor &pgd, uint32 guioptions) {
setVal("gameid", pgd.gameid);
setVal("description", pgd.description);
- if (pgd.guioptions != 0)
- setVal("guioptions", Common::getGameGUIOptionsDescription(pgd.guioptions));
+ if (guioptions != 0)
+ setVal("guioptions", Common::getGameGUIOptionsDescription(guioptions));
}
GameDescriptor::GameDescriptor(const Common::String &g, const Common::String &d, Common::Language l, Common::Platform p, uint32 guioptions) {