aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2012-02-12 22:54:41 +1100
committerStrangerke2012-04-06 08:21:17 +0200
commitce42caf57c28bebb263510f2266c9f401b3cda84 (patch)
tree683bcde18c4ace0000c4c5e478b7f5f7dbb34596
parent9f99fabaa8c15c561907ed6ae9498634b4adc4d3 (diff)
downloadscummvm-rg350-ce42caf57c28bebb263510f2266c9f401b3cda84.tar.gz
scummvm-rg350-ce42caf57c28bebb263510f2266c9f401b3cda84.tar.bz2
scummvm-rg350-ce42caf57c28bebb263510f2266c9f401b3cda84.zip
MORTEVIELLE: Removed all the remaining text mode function stubs
-rw-r--r--engines/mortevielle/menu.cpp1
-rw-r--r--engines/mortevielle/mor.cpp1
-rw-r--r--engines/mortevielle/mortevielle.cpp2
-rw-r--r--engines/mortevielle/var_mor.cpp11
-rw-r--r--engines/mortevielle/var_mor.h10
5 files changed, 1 insertions, 24 deletions
diff --git a/engines/mortevielle/menu.cpp b/engines/mortevielle/menu.cpp
index fbe3ff2ac0..35caac31ac 100644
--- a/engines/mortevielle/menu.cpp
+++ b/engines/mortevielle/menu.cpp
@@ -48,7 +48,6 @@ void menut(int no, Common::String nom) {
l = lo(no);
s = nom;
if (! tesok) {
- clrscr;
mortevielle_exit(0);
}
while (s.size() < 20) s = s + ' ';
diff --git a/engines/mortevielle/mor.cpp b/engines/mortevielle/mor.cpp
index 4699575849..22816dc738 100644
--- a/engines/mortevielle/mor.cpp
+++ b/engines/mortevielle/mor.cpp
@@ -260,7 +260,6 @@ void clsf10() {
}
void stop() {
- clrscr;
hirs();
gd = ams;
hirs();
diff --git a/engines/mortevielle/mortevielle.cpp b/engines/mortevielle/mortevielle.cpp
index 026f17d718..130449a2b7 100644
--- a/engines/mortevielle/mortevielle.cpp
+++ b/engines/mortevielle/mortevielle.cpp
@@ -150,7 +150,7 @@ Common::ErrorCode MortevielleEngine::initialise() {
init_lieu();
sonoff = false;
f2_all = false;
- textcolor(9);
+
teskbd();
dialpre();
newgd = gd;
diff --git a/engines/mortevielle/var_mor.cpp b/engines/mortevielle/var_mor.cpp
index 5c72961630..1b19d5ca11 100644
--- a/engines/mortevielle/var_mor.cpp
+++ b/engines/mortevielle/var_mor.cpp
@@ -255,17 +255,6 @@ Common::String copy(const Common::String &s, int idx, size_t size) {
int port[0xfff];
byte mem[65536 * 16];
-int wherey;
-
-void gotoxy(int x, int y) {
-}
-void textcolor(int c) {
-}
-void output(const Common::String &s) {
- debug(s.c_str());
-}
-void graphbackground(int c) {
-}
void intr(int intNum, registres &regs) {
}
diff --git a/engines/mortevielle/var_mor.h b/engines/mortevielle/var_mor.h
index a872af199b..9bc10b30f2 100644
--- a/engines/mortevielle/var_mor.h
+++ b/engines/mortevielle/var_mor.h
@@ -411,16 +411,6 @@ extern byte mem[65536 * 16];
#define hires {}
#define mortevielle_exit(ret) error("Exit the game")
-// Text screen functions not relevant for ScummVM
-#define clrscr { warning("ClrScr"); }
-#define clreol {}
-#define graphcolormode {}
-extern void gotoxy(int x, int y);
-extern void textcolor(int c);
-extern void output(const Common::String &s);
-extern void graphbackground(int c);
-extern int wherey;
-
// Stubs for input functions
extern bool keypressed();
extern char get_ch();