aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorEugene Sandulenko2005-03-02 21:46:51 +0000
committerEugene Sandulenko2005-03-02 21:46:51 +0000
commit50f6eb740c488532e78f031f9e8b18f672fdff93 (patch)
treeb446fbc4152a3ef45dbd96c4c7298a31fa22fecf /common
parent7a2a4f34dc823f04f3635fd57aaa3a23a859e563 (diff)
downloadscummvm-rg350-50f6eb740c488532e78f031f9e8b18f672fdff93.tar.gz
scummvm-rg350-50f6eb740c488532e78f031f9e8b18f672fdff93.tar.bz2
scummvm-rg350-50f6eb740c488532e78f031f9e8b18f672fdff93.zip
Distinguish between green and amber hercules. Now specify it via hercGreen
and hercAmber. Updated documentation accordingly. svn-id: r16975
Diffstat (limited to 'common')
-rw-r--r--common/util.cpp3
-rw-r--r--common/util.h5
2 files changed, 5 insertions, 3 deletions
diff --git a/common/util.cpp b/common/util.cpp
index f4d5c91779..af6edecdc2 100644
--- a/common/util.cpp
+++ b/common/util.cpp
@@ -223,7 +223,8 @@ const char *getPlatformDescription(Platform id) {
const RenderModeDescription g_renderModes[] = {
- {"hercules", "Hercules", kRenderHerc},
+ {"hercGreen", "Hercules Green", kRenderHercG},
+ {"hercAmber", "Hercules Amber", kRenderHercA},
{"cga", "CGA", kRenderCGA},
{"ega", "EGA", kRenderEGA},
{0, 0, kRenderDefault}
diff --git a/common/util.h b/common/util.h
index 173f2bf835..b18797f9e9 100644
--- a/common/util.h
+++ b/common/util.h
@@ -159,10 +159,11 @@ extern const char *getPlatformDescription(Platform id);
* such low-level adapters as CGA or Hercules.
*/
enum RenderMode {
- kRenderDefault = -1,
+ kRenderDefault = 0,
kRenderEGA = 1,
kRenderCGA = 2,
- kRenderHerc = 3
+ kRenderHercG = 3,
+ kRenderHercA = 4
};
enum HerculesDimesnions {