aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2012-02-12 22:50:13 +1100
committerStrangerke2012-04-06 08:21:15 +0200
commit9f99fabaa8c15c561907ed6ae9498634b4adc4d3 (patch)
treed572b51915c18ac7559dcd26d8c0f8cf0db43ac5
parent0fa68f3406d3f6a5f31546ca2f91547fac04cd7a (diff)
downloadscummvm-rg350-9f99fabaa8c15c561907ed6ae9498634b4adc4d3.tar.gz
scummvm-rg350-9f99fabaa8c15c561907ed6ae9498634b4adc4d3.tar.bz2
scummvm-rg350-9f99fabaa8c15c561907ed6ae9498634b4adc4d3.zip
MORTEVIELLE: Remove all the overlay comments
-rw-r--r--engines/mortevielle/actions.cpp58
-rw-r--r--engines/mortevielle/alert.cpp2
-rw-r--r--engines/mortevielle/menu.cpp6
-rw-r--r--engines/mortevielle/mor.cpp82
-rw-r--r--engines/mortevielle/ovd1.cpp18
-rw-r--r--engines/mortevielle/parole.cpp12
-rw-r--r--engines/mortevielle/prog.cpp2
-rw-r--r--engines/mortevielle/ques.cpp2
8 files changed, 91 insertions, 91 deletions
diff --git a/engines/mortevielle/actions.cpp b/engines/mortevielle/actions.cpp
index adcb17b5ed..5b2f43786a 100644
--- a/engines/mortevielle/actions.cpp
+++ b/engines/mortevielle/actions.cpp
@@ -42,7 +42,7 @@
namespace Mortevielle {
-/* overlay */
+
void taller() {
//int mx, cx, cy;
int cx;
@@ -134,7 +134,7 @@ L2:
tmlieu(s.mlieu);
}
-/* overlay */ void tprendre() {
+void tprendre() {
//int cx, cy, cz;
int cx;
@@ -230,7 +230,7 @@ L2:
}
}
-/* overlay */ void tsprendre() {
+void tsprendre() {
int cx, cy, cz;
cx = 0;
@@ -251,7 +251,7 @@ L2:
clsf2();
}
-/* overlay */ void tsoulever()
+void tsoulever()
{
int cx;
@@ -278,7 +278,7 @@ L2:
if (crep == 255) crep = 997;
}
-/* overlay */ void tlire() {
+void tlire() {
// int iaff;
if (caff > 99) st4(caff);
@@ -294,12 +294,12 @@ L2:
}
}
-/* overlay */ void tslire() {
+void tslire() {
if (s.derobj == 0) crep = 186;
else st4(s.derobj);
}
-/* overlay */ void tregarder() {
+void tregarder() {
int cx;
if (caff > 99) {
@@ -355,12 +355,12 @@ L2:
if ((s.mlieu == 10) && (num == 3)) treg(31);
}
-/* overlay */ void tsregarder() {
+void tsregarder() {
if (s.derobj != 0) treg(s.derobj);
else crep = 186;
}
-/* overlay */ void tfouiller() {
+void tfouiller() {
const byte r[14] = {123, 104, 123, 131, 131, 123, 104, 131, 123, 123, 106, 123, 123, 107};
int cx;
@@ -428,12 +428,12 @@ L2:
}
}
-/* overlay */ void tsfouiller() {
+void tsfouiller() {
if (s.derobj != 0) st7(s.derobj);
else crep = 186;
}
-/* overlay */ void touvrir() {
+void touvrir() {
int cx, haz;
if (!syn)
@@ -487,7 +487,7 @@ L2:
}
}
-/* overlay */ void tmettre() {
+void tmettre() {
int quel;
bool entre;
char st[1410];
@@ -591,7 +591,7 @@ L2:
}
}
-/* overlay */ void ttourner() {
+void ttourner() {
int quel;
if (caff > 99) {
@@ -626,7 +626,7 @@ L2:
}
}
-/* overlay */ void tcacher() {
+void tcacher() {
if (!syn)
ecr3(g_vm->getString(S_HIDE_SELF));
tfleche();
@@ -640,7 +640,7 @@ L2:
}
}
-/* overlay */ void tattacher() {
+void tattacher() {
if (s.derobj == 0) crep = 186;
else {
if (!syn)
@@ -661,7 +661,7 @@ L2:
}
}
-/* overlay */ void tfermer() {
+void tfermer() {
int cx, chai;
if (!syn)
@@ -691,7 +691,7 @@ L2:
if (caff == 26) crep = 999;
}
-/* overlay */ void tfrapper() {
+void tfrapper() {
int l, p, haz;
if (!syn)
@@ -724,7 +724,7 @@ L2:
}
}
-/* overlay */ void tposer() {
+void tposer() {
int cx, chai;
if (!syn)
@@ -790,7 +790,7 @@ L2:
}
}
-/* overlay */ void tecouter() {
+void tecouter() {
int l, p, haz, j, h, m;
if (s.mlieu != 26) crep = 101;
@@ -815,7 +815,7 @@ L2:
}
}
-/* overlay */ void tmanger() {
+void tmanger() {
int j, h, m;
if ((s.mlieu > 15) && (s.mlieu < 26))
@@ -842,7 +842,7 @@ L2:
}
}
-/* overlay */ void tentrer() {
+void tentrer() {
int x, z = 0;
if ((s.mlieu == 21) || (s.mlieu == 22)) {
@@ -895,7 +895,7 @@ L2:
}
}
-/* overlay */ void tdormir() {
+void tdormir() {
int z, j, h, m, quel;
if ((s.mlieu > 15) && (s.mlieu < 26)) {
@@ -934,7 +934,7 @@ L2:
num = 0;
}
-/* overlay */ void tdefoncer() {
+void tdefoncer() {
if (!syn)
ecr3(g_vm->getString(S_SMASH));
if (caff < 25) tfleche();
@@ -946,7 +946,7 @@ L2:
}
}
-/* overlay */ void tsortir() {
+void tsortir() {
int lx = 0;
tsort();
@@ -971,7 +971,7 @@ L2:
}
}
-/* overlay */ void tattendre() {
+void tattendre() {
int quel;
mpers = 0;
@@ -995,7 +995,7 @@ L2:
if (! anyone) tinke();
}
-/* overlay */ void tsonder() {
+void tsonder() {
if (!syn)
ecr3(g_vm->getString(S_PROBE2));
if (caff < 27) {
@@ -1005,7 +1005,7 @@ L2:
}
}
-/* overlay */ void tparler()
+void tparler()
{
bool te[47];
@@ -1179,7 +1179,7 @@ L2:
clsf3();
}
-/* overlay */ void tsentir() {
+void tsentir() {
crep = 119;
if (caff < 26) {
if (!syn)
@@ -1191,7 +1191,7 @@ L2:
num = 0;
}
-/* overlay */ void tgratter() {
+void tgratter() {
crep = 155;
if (caff < 27) {
if (!syn)
diff --git a/engines/mortevielle/alert.cpp b/engines/mortevielle/alert.cpp
index 6eb7d5e912..a3787a09b3 100644
--- a/engines/mortevielle/alert.cpp
+++ b/engines/mortevielle/alert.cpp
@@ -33,7 +33,7 @@
namespace Mortevielle {
-/* overlay */ int do_alert(Common::String str_, int n);
+int do_alert(Common::String str_, int n);
const int nligne = 7;
diff --git a/engines/mortevielle/menu.cpp b/engines/mortevielle/menu.cpp
index 12ccbe3ff5..fbe3ff2ac0 100644
--- a/engines/mortevielle/menu.cpp
+++ b/engines/mortevielle/menu.cpp
@@ -38,7 +38,7 @@ namespace Mortevielle {
/* NIVEAU 14*/
-/* overlay */ void menut(int no, Common::String nom) {
+void menut(int no, Common::String nom) {
byte h, l;
Common::String s;
@@ -74,7 +74,7 @@ namespace Mortevielle {
}
}
-/* overlay */ void menu_disable(int no) {
+void menu_disable(int no) {
byte h, l;
/* debug('menu_disable'); */
@@ -103,7 +103,7 @@ namespace Mortevielle {
}
}
-/* overlay */ void menu_enable(int no) {
+void menu_enable(int no) {
byte h, l;
/* debug('menu_disable'); */
diff --git a/engines/mortevielle/mor.cpp b/engines/mortevielle/mor.cpp
index 2d4df26e46..4699575849 100644
--- a/engines/mortevielle/mor.cpp
+++ b/engines/mortevielle/mor.cpp
@@ -491,7 +491,7 @@ void affper(int per) {
ipers = per;
}
-/* overlay */ void choix(int min, int max, int &per) {
+void choix(int min, int max, int &per) {
bool i;
int haz, cx, cy, cz;
@@ -515,7 +515,7 @@ void affper(int per) {
i = false;
}
-/* overlay */ void cpl1(int &p) {
+void cpl1(int &p) {
int j, h, m;
/* debug('o0 cpl1'); */
@@ -530,7 +530,7 @@ void affper(int per) {
mdn();
}
-/* overlay */ void cpl2(int &p) {
+void cpl2(int &p) {
int j, h, m;
/* debug('o0 cpl2'); */
@@ -542,7 +542,7 @@ void affper(int per) {
if ((h >= 0) && (h < 8)) p = 50;
}
-/* overlay */ void cpl3(int &p) {
+void cpl3(int &p) {
int j, h, m;
/* debug('o0 cpl3'); */
@@ -551,7 +551,7 @@ void affper(int per) {
if (((h > 9) && (h < 20)) || ((h >= 0) && (h < 9))) p = 0;
}
-/* overlay */ void cpl5(int &p) {
+void cpl5(int &p) {
int j, h, m;
/* debug('o0 cpl5'); */
@@ -562,7 +562,7 @@ void affper(int per) {
if ((h >= 0) && (h < 7)) p = 50;
}
-/* overlay */ void cpl6(int &p) {
+void cpl6(int &p) {
int j, h, m;
/* debug('o0 cpl6'); */
@@ -650,7 +650,7 @@ void debloc(int l) {
mpers = ipers;
}
-/* overlay */ void cpl10(int &p, int &h) {
+void cpl10(int &p, int &h) {
int j, m;
/* debug('o1 cpl10'); */
@@ -663,7 +663,7 @@ void debloc(int l) {
if ((h >= 0) && (h < 8)) p = 5;
}
-/* overlay */ void cpl11(int &p, int &h) {
+void cpl11(int &p, int &h) {
int j, m;
/* debug('o1 cpl11'); */
@@ -675,7 +675,7 @@ void debloc(int l) {
if ((h >= 0) && (h < 9)) p = 0;
}
-/* overlay */ void cpl12(int &p) {
+void cpl12(int &p) {
int j, h, m;
/* debug('o1 cpl12'); */
@@ -686,12 +686,12 @@ void debloc(int l) {
if ((h > 4) && (h < 9)) p = 15;
}
-/* overlay */ void cpl13(int &p) {
+void cpl13(int &p) {
/* debug('o1 cpl13'); */
p = 0;
}
-/* overlay */ void cpl15(int &p) {
+void cpl15(int &p) {
int j, h, m;
/* debug('o1 cpl15'); */
@@ -705,7 +705,7 @@ void debloc(int l) {
if ((h >= 0) && (h < 8)) p = -15;
}
-/* overlay */ void cpl20(int &p, int &h) {
+void cpl20(int &p, int &h) {
int j, m;
/* debug('o1 cpl20'); */
@@ -717,7 +717,7 @@ void debloc(int l) {
if ((h > 4) && (h < 10)) p = -5;
}
-/* overlay */ void quelq1(int l) {
+void quelq1(int l) {
int per;
/* debug('o1 quelq1'); */
@@ -731,27 +731,27 @@ void debloc(int l) {
ipers = 10;
}
-/* overlay */ void quelq2() {
+void quelq2() {
/* debug('o1 quelq2'); */
if (li == 2) bh2 = true;
else bh9 = true;
ipers = 10;
}
-/* overlay */ void quelq5() {
+void quelq5() {
/* debug('o1 quelq5'); */
bh5 = true;
ipers = 10;
}
-/* overlay */ void quelq6(int l) {
+void quelq6(int l) {
/* debug('o1 quelq6'); */
if (l == 6) bh6 = true;
if (l == 8) bh8 = true;
ipers = 10;
}
-/* overlay */ void quelq10(int h, int &per) {
+void quelq10(int h, int &per) {
int min = 0, max = 0;
/* debug('o1 quelq10'); */
@@ -778,7 +778,7 @@ void debloc(int l) {
affper(per);
}
-/* overlay */ void quelq11(int h, int &per) {
+void quelq11(int h, int &per) {
int min = 0, max = 0;
/* debug('o1 quelq11'); */
@@ -801,13 +801,13 @@ void debloc(int l) {
affper(per);
}
-/* overlay */ void quelq12(int &per) {
+void quelq12(int &per) {
/* debug('o1 quelq12'); */
chlm(per);
affper(per);
}
-/* overlay */ void quelq15(int &per) {
+void quelq15(int &per) {
int cx;
bool test;
@@ -831,7 +831,7 @@ void debloc(int l) {
}
}
-/* overlay */ void quelq20(int h, int &per) {
+void quelq20(int h, int &per) {
int min = 0, max = 0;
/* debug('o1 quelq20'); */
@@ -855,7 +855,7 @@ void debloc(int l) {
}
-/* overlay */void frap() {
+void frap() {
int j, h, m, haz;
/* debug('o1 frap'); */
@@ -868,7 +868,7 @@ void debloc(int l) {
}
}
-/* overlay */ void nouvp(int l, int &p) {
+void nouvp(int l, int &p) {
/* debug('o1 nouvp'); */
p = 0;
if (l == 1) {
@@ -889,7 +889,7 @@ void debloc(int l) {
-/* overlay */ void tip(int ip, int &cx) {
+void tip(int ip, int &cx) {
/* debug('o1 tip'); */
if (ip == 128) cx = 1;
else if (ip == 64) cx = 2;
@@ -902,7 +902,7 @@ void debloc(int l) {
}
-/* overlay */ void ecfren(int &p, int &haz, int cf, int l) {
+void ecfren(int &p, int &haz, int cf, int l) {
/* debug('o1 ecfren'); */
if (l == 0) person();
p = -500;
@@ -921,7 +921,7 @@ void debloc(int l) {
}
}
-/* overlay */ void becfren(int l) {
+void becfren(int l) {
int haz;
/* debug('o1 becfren'); */
@@ -958,7 +958,7 @@ void phaz(int &haz, int &p, int cf) {
haz = hazard(1, 100);
}
-/* overlay */ void inzon() {
+void inzon() {
int cx;
/* debug('o2 inzon'); */
@@ -989,7 +989,7 @@ void phaz(int &haz, int &p, int cf) {
init_nbrepm();
}
-/* overlay */ void dprog() {
+void dprog() {
/* debug('o2 dprog'); */
li = 21;
/* jh:= t_settime(0);*/
@@ -999,7 +999,7 @@ void phaz(int &haz, int &p, int cf) {
mh = readclock();
}
-/* overlay */ void pl1(int cf) {
+void pl1(int cf) {
int p, haz;
/* debug('o2 pl1'); */
@@ -1012,7 +1012,7 @@ void phaz(int &haz, int &p, int cf) {
}
}
-/* overlay */ void pl2(int cf) {
+void pl2(int cf) {
int p, haz;
/* debug('o2 pl2'); */
@@ -1024,7 +1024,7 @@ void phaz(int &haz, int &p, int cf) {
}
}
-/* overlay */ void pl5(int cf) {
+void pl5(int cf) {
int p, haz;
/* debug('o2 pl5'); */
@@ -1036,7 +1036,7 @@ void phaz(int &haz, int &p, int cf) {
}
}
-/* overlay */ void pl6(int cf) {
+void pl6(int cf) {
int p, haz;
/* debug('o2 pl6'); */
@@ -1048,7 +1048,7 @@ void phaz(int &haz, int &p, int cf) {
}
}
-/* overlayi */ void pl9(int cf) {
+void pl9(int cf) {
int p, haz;
/* debug('o2 pl9'); */
@@ -1060,7 +1060,7 @@ void phaz(int &haz, int &p, int cf) {
}
}
-/* overlayi */ void pl10(int cf) {
+void pl10(int cf) {
int p, h, haz;
/* debug('o2 pl10'); */
@@ -1070,7 +1070,7 @@ void phaz(int &haz, int &p, int cf) {
else quelq10(h, p);
}
-/* overlay */ void pl11(int cf) {
+void pl11(int cf) {
int p, h, haz;
/* debug('o2 pl11'); */
@@ -1080,7 +1080,7 @@ void phaz(int &haz, int &p, int cf) {
else quelq11(h, p);
}
-/* overlay */ void pl12(int cf) {
+void pl12(int cf) {
int p, haz;
/* debug('o2 pl12'); */
@@ -1090,7 +1090,7 @@ void phaz(int &haz, int &p, int cf) {
else quelq12(p);
}
-/* overlay */ void pl13(int cf) {
+void pl13(int cf) {
int p, haz;
/* debug('o2 pl13'); */
@@ -1100,7 +1100,7 @@ void phaz(int &haz, int &p, int cf) {
else quelq12(p);
}
-/* overlay */ void pl15(int cf) {
+void pl15(int cf) {
int p, haz;
/* debug('o2 pl15'); */
@@ -1110,7 +1110,7 @@ void phaz(int &haz, int &p, int cf) {
else quelq15(p);
}
-/* overlay */ void pl20(int cf) {
+void pl20(int cf) {
int p, h, haz;
/* debug('o2 pl20'); */
@@ -1120,7 +1120,7 @@ void phaz(int &haz, int &p, int cf) {
else quelq20(h, p);
}
-/* overlay */ void t11(int l11, int &a) {
+void t11(int l11, int &a) {
int p, haz, h = 0;
/* debug('o2 t11'); */
@@ -1161,7 +1161,7 @@ void phaz(int &haz, int &p, int cf) {
}
}
-/* overlay */ void cavegre()
+void cavegre()
{
int haz;
diff --git a/engines/mortevielle/ovd1.cpp b/engines/mortevielle/ovd1.cpp
index 6650dd04b2..94f89c3401 100644
--- a/engines/mortevielle/ovd1.cpp
+++ b/engines/mortevielle/ovd1.cpp
@@ -61,7 +61,7 @@ void ani50() {
repon(2, c_paroles + 143);
}
-/* overlay */ void aff50(bool c) {
+void aff50(bool c) {
caff = 50;
maff = 0;
taffich();
@@ -71,7 +71,7 @@ void ani50() {
f3f8();
}
-/* overlay */ void init_menu() {
+void init_menu() {
int i, tai;
char st[1410];
Common::File f;
@@ -124,7 +124,7 @@ void ani50() {
}
-/* overlay */ void charpal() {
+void charpal() {
Common::File f; // tabdb records
Common::File ft; // tfxx
int i, j, k;
@@ -172,7 +172,7 @@ void ani50() {
fb.close();
}
-/* overlay */ void chartex() {
+void chartex() {
int i;
Common::File f;
char s[1410];
@@ -219,7 +219,7 @@ void dialpre() {
int_m = true;
}
-/* overlay */ void init_lieu() {
+void init_lieu() {
Common::File f_lieu; // tab_mlieu
/* debug('o3 init_lieu'); */
@@ -234,7 +234,7 @@ void dialpre() {
}
-/* overlay */ void music() {
+void music() {
Common::File fic;
int k;
bool fin;
@@ -269,7 +269,7 @@ void dialpre() {
}
-/* overlay */ void charge_bruit5() {
+void charge_bruit5() {
Common::File f;
if (!f.open("bruit5"))
@@ -279,7 +279,7 @@ void dialpre() {
f.close();
}
-/* overlay */ void charge_cfiec() {
+void charge_cfiec() {
Common::File f;
if (!f.open("cfiec.mor"))
@@ -292,7 +292,7 @@ void dialpre() {
}
-/* overlay */ void charge_cfiph() {
+void charge_cfiph() {
Common::File f;
if (!f.open("cfiph.mor"))
diff --git a/engines/mortevielle/parole.cpp b/engines/mortevielle/parole.cpp
index 2a8984195a..70bbd72e06 100644
--- a/engines/mortevielle/parole.cpp
+++ b/engines/mortevielle/parole.cpp
@@ -97,7 +97,7 @@ void veracf(byte b) {
;
}
-/* overlay */ void cctable(tablint &t) {
+void cctable(tablint &t) {
int k;
float tb[257];
@@ -109,7 +109,7 @@ void veracf(byte b) {
}
}
-/* overlay */ void regenbruit() {
+void regenbruit() {
int i, j;
i = offsetb3 + 8590;
@@ -121,7 +121,7 @@ void veracf(byte b) {
} while (!(i >= offsetb3 + 8790));
}
-/* overlay */ void charge_son() {
+ void charge_son() {
Common::File f;
if (!f.open("sonmus.mor"))
@@ -133,7 +133,7 @@ void veracf(byte b) {
f.close();
}
-/* overlay */ void charge_phbruit() {
+ void charge_phbruit() {
Common::File f;
if (!f.open("phbrui.mor"))
@@ -145,7 +145,7 @@ void veracf(byte b) {
f.close();
}
-/* overlay */ void charge_bruit() {
+ void charge_bruit() {
Common::File f;
int i;
@@ -159,7 +159,7 @@ void veracf(byte b) {
f.close();
}
-/* overlay */ void trait_car() {
+ void trait_car() {
byte d3;
int d2, i;
diff --git a/engines/mortevielle/prog.cpp b/engines/mortevielle/prog.cpp
index 9d8b8f91a1..db8b2e9cbd 100644
--- a/engines/mortevielle/prog.cpp
+++ b/engines/mortevielle/prog.cpp
@@ -38,7 +38,7 @@
namespace Mortevielle {
-/* overlay */ void change_gd(int ngd) {
+void change_gd(int ngd) {
hide_mouse();
gd = ngd;
hirs();
diff --git a/engines/mortevielle/ques.cpp b/engines/mortevielle/ques.cpp
index aadedbd9cc..e8c568d398 100644
--- a/engines/mortevielle/ques.cpp
+++ b/engines/mortevielle/ques.cpp
@@ -34,7 +34,7 @@
namespace Mortevielle {
-/* overlay */ bool ques() {
+bool ques() {
const int ta[11] = {0, 511, 516, 524, 531, 545, 552, 559, 563, 570, 576};
const int ok[11] = {0, 4, 7, 1, 6, 4, 4, 2, 5, 3, 1 };