Skip to content

Commit

Permalink
MORTEVIELLE: Converted remaining varying_string instances to Common::…
Browse files Browse the repository at this point in the history
…String
  • Loading branch information
dreammaster authored and Strangerke committed Apr 6, 2012
1 parent 76c0701 commit ab09fdc
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion engines/mortevielle/actions.cpp
Expand Up @@ -989,7 +989,7 @@ void taller() {
int ix, cy, cx, max, haz, suj, co, lig, icm,
i, tay, choi, x, y, c;
char tou;
array<1, 46, varying_string<40> > lib;
Common::String lib[47];
char st[1410];
bool f;

Expand Down
4 changes: 2 additions & 2 deletions engines/mortevielle/alert.cpp
Expand Up @@ -100,7 +100,7 @@ static void fait_boite(int lidep, int nli, int tx) {



static void fait_choix(Common::String c, int &coldep, int &nbcase, array<1, 2, varying_string<3> > &s, int &esp) {
static void fait_choix(Common::String c, int &coldep, int &nbcase, Common::String[] &s, int &esp) {
int i, l, x;
char ch;

Expand All @@ -126,7 +126,7 @@ int do_alert(Common::String str_, int n) {
Common::String st, chaine;
matrix<1, 2, 1, 2, int> limit;
char c, dumi;
array<1, 2, varying_string<3> > s;
Common::String s[3];
int cx, cy, cd, nbcol, nblig;
bool touch, newaff, test, test1, test2, test3, dum;
Common::String cas;
Expand Down
2 changes: 1 addition & 1 deletion engines/mortevielle/disk.cpp
Expand Up @@ -50,7 +50,7 @@ void dem1() {
void takesav(int n) {
untyped_file f;
int i;
varying_string<10> st;
Common::String st;

dem1();
/* -- chargement du fichier 'sauve#n.mor' -- */
Expand Down
4 changes: 2 additions & 2 deletions engines/mortevielle/mor.cpp
Expand Up @@ -268,7 +268,7 @@ void ecrf7() {

void clsf10() {
int co, cod;
varying_string<8> st;
Common::String st;

/* debug('clsf10'); */
hide_mouse();
Expand Down Expand Up @@ -392,7 +392,7 @@ void modobj2(int m, bool t1, bool t2) {

void repon(int f, int m) {
Common::String str_;
varying_string<40> str1;
Common::String str1;
char st[1410];
text1 fic;
int i, xco, dx, caspe, tay;
Expand Down
2 changes: 1 addition & 1 deletion engines/mortevielle/mor2.cpp
Expand Up @@ -46,7 +46,7 @@ void tinke() {
const char d5 = '1';
const char d6[] = "OK";
int cx, cy, haz, nh, cf, j, h, m, cd;
varying_string<3> stpo;
Common::String stpo;
bool am;

anyone = false;
Expand Down
2 changes: 1 addition & 1 deletion engines/mortevielle/outtext.cpp
Expand Up @@ -160,7 +160,7 @@ void afftex(char *ch, int x, int y, int dx, int dy, int typ) {
int xf, yf;
int xc, yc;
int tab, p;
varying_string<255> s;
Common::String s;
int i, j, nt;


Expand Down
2 changes: 1 addition & 1 deletion engines/mortevielle/ovd1.cpp
Expand Up @@ -348,7 +348,7 @@ void ani50() {


/* overlay */ void suite() {
varying_string<25> cpr;
Common::String cpr;

hirs();
repon(7, 2035);
Expand Down
2 changes: 1 addition & 1 deletion engines/mortevielle/ques.cpp
Expand Up @@ -42,7 +42,7 @@ namespace Mortevielle {
char st[1410];
char key;
rectangle coor[max_rect];
array<1, 14, Common::String> chaines;
Common::String chaines[15];
int compte;


Expand Down

0 comments on commit ab09fdc

Please sign in to comment.