aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authoruruk2014-05-15 10:59:46 +0200
committeruruk2014-05-15 10:59:46 +0200
commitb2cbc7cdd17d2e998cc2dd4273ec8966fbe8e58f (patch)
tree0456124708edce2610133ea6a2435880a56098b6 /engines
parent945f12f2ad04ce60d2d072548799a440ebb32da6 (diff)
downloadscummvm-rg350-b2cbc7cdd17d2e998cc2dd4273ec8966fbe8e58f.tar.gz
scummvm-rg350-b2cbc7cdd17d2e998cc2dd4273ec8966fbe8e58f.tar.bz2
scummvm-rg350-b2cbc7cdd17d2e998cc2dd4273ec8966fbe8e58f.zip
CGE2: Partially implement loadTab(), then use it.
Diffstat (limited to 'engines')
-rw-r--r--engines/cge2/cge2_main.cpp11
-rw-r--r--engines/cge2/cge2_main.h1
2 files changed, 12 insertions, 0 deletions
diff --git a/engines/cge2/cge2_main.cpp b/engines/cge2/cge2_main.cpp
index a0717a374a..9ee9459cca 100644
--- a/engines/cge2/cge2_main.cpp
+++ b/engines/cge2/cge2_main.cpp
@@ -358,9 +358,20 @@ void CGE2Engine::runGame() {
warning("STUB: CGE2Engine::runGame()");
}
+void CGE2Engine::loadTab() {
+ char *n = _text->getText(240);
+ setEye(_text->getText(240));
+ for (int i = 0; i < kCaveMax; i++)
+ _eyeTab[i] == _eye;
+
+ warning("STUB: CGE2Engine::loadTab()");
+}
+
void CGE2Engine::cge2_main() {
warning("STUB: CGE2Engine::cge2_main()");
+ loadTab();
+
_mode++;
if (showTitle("WELCOME")) {
diff --git a/engines/cge2/cge2_main.h b/engines/cge2/cge2_main.h
index 8420a2d1db..ee622dc9ca 100644
--- a/engines/cge2/cge2_main.h
+++ b/engines/cge2/cge2_main.h
@@ -33,6 +33,7 @@ namespace CGE2 {
#define kLineMax 512
#define kIntroExt ".I80"
#define kNoByte -1
+#define kTabName "CGE.TAB"
} // End of namespace CGE2