Skip to content

Commit

Permalink
MORTEVIELLE: Removed all the remaining text mode function stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster authored and Strangerke committed Apr 6, 2012
1 parent f78ac77 commit 922c4d8
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 24 deletions.
1 change: 0 additions & 1 deletion engines/mortevielle/menu.cpp
Expand Up @@ -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 + ' ';
Expand Down
1 change: 0 additions & 1 deletion engines/mortevielle/mor.cpp
Expand Up @@ -260,7 +260,6 @@ void clsf10() {
}

void stop() {
clrscr;
hirs();
gd = ams;
hirs();
Expand Down
2 changes: 1 addition & 1 deletion engines/mortevielle/mortevielle.cpp
Expand Up @@ -150,7 +150,7 @@ Common::ErrorCode MortevielleEngine::initialise() {
init_lieu();
sonoff = false;
f2_all = false;
textcolor(9);

teskbd();
dialpre();
newgd = gd;
Expand Down
11 changes: 0 additions & 11 deletions engines/mortevielle/var_mor.cpp
Expand Up @@ -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) {
}
Expand Down
10 changes: 0 additions & 10 deletions engines/mortevielle/var_mor.h
Expand Up @@ -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();
Expand Down

0 comments on commit 922c4d8

Please sign in to comment.