diff options
| author | uruk | 2013-06-27 09:23:10 +0200 | 
|---|---|---|
| committer | uruk | 2013-06-27 09:23:10 +0200 | 
| commit | ee5fb07c91e79abc956024028aa617c72a65384e (patch) | |
| tree | 8a0559643b359ecc456d5e27460073a83cafaa38 | |
| parent | 49e411f557a42e353e60e155da47c6600554c057 (diff) | |
| download | scummvm-rg350-ee5fb07c91e79abc956024028aa617c72a65384e.tar.gz scummvm-rg350-ee5fb07c91e79abc956024028aa617c72a65384e.tar.bz2 scummvm-rg350-ee5fb07c91e79abc956024028aa617c72a65384e.zip | |
AVALANCHE: Gyro: Change constants to variables with initial values to be equal to the Pascal code.
| -rw-r--r-- | engines/avalanche/gyro2.h | 66 | 
1 files changed, 34 insertions, 32 deletions
| diff --git a/engines/avalanche/gyro2.h b/engines/avalanche/gyro2.h index 4c29b1f2d4..cd5644ec4b 100644 --- a/engines/avalanche/gyro2.h +++ b/engines/avalanche/gyro2.h @@ -495,33 +495,6 @@ namespace Avalanche {  	const int16 walk = 3;  	const int16 run = 5; -	const byte whereis[29] = { -		/* The Lads */ -			r__yours, /* Avvy */ -			r__spludwicks, /* Spludwick */ -			r__outsideyours, /* Crapulus */ -			r__ducks, /* Duck - r__DucksRoom's not defined yet. */ -			r__argentpub, /* Malagauche */ -			r__robins, /* Friar Tuck. */ -			177, /* Robin Hood - can't meet him at the start. */ -			r__brummieroad, /* Cwytalot */ -			r__lustiesroom, /* Baron du Lustie. */ -			r__outsidecardiffcastle, /* The Duke of Cardiff. */ -			r__argentpub, /* Dogfood */ -			r__outsideducks, /* Trader */ -			r__argentpub, /* Ibythneth */ -			r__aylesoffice, /* Ayles */ -			r__nottspub, /* Port */ -			r__nottspub, /* Spurge */ -			r__musicroom, /* Jacques */ -			0, 0, 0, 0, 0, 0, 0, 0, -			/* The Lasses */ -			r__yours, /* Arkata */ -			r__geidas, /* Geida */ -			177, /* nobody allocated here! */ -			r__wisewomans -	}; /* The Wise Woman. */ -  	/* Art gallery at 2,1; notice about this at 2,2. */  	const int32 catamap[8][8] = { @@ -574,11 +547,6 @@ namespace Avalanche {  		7     = wall with door and candles,  		F     = straight-through corridor. */ -	const byte interrogation = 0; -	/* If this is greater than zero, the next line you type is stored in -	   the DNA in a position dictated by the value. If a scroll comes up, -	   or you leave the room, it's automatically set to zero. */ -  	const bool demo = false; /* If this is true, we're in a demo of the game. */  	const char spludwick_order[3] = {onion, ink, mushroom}; @@ -624,6 +592,40 @@ namespace Avalanche {  	///////////////////////////// VARIABLES /////////////////////////////  +	byte interrogation = 0; +	/* If this is greater than zero, the next line you type is stored in +	   the DNA in a position dictated by the value. If a scroll comes up, +	   or you leave the room, it's automatically set to zero. */ + +	byte whereis[29] = { +		/* The Lads */ +		r__yours, /* Avvy */ +		r__spludwicks, /* Spludwick */ +		r__outsideyours, /* Crapulus */ +		r__ducks, /* Duck - r__DucksRoom's not defined yet. */ +		r__argentpub, /* Malagauche */ +		r__robins, /* Friar Tuck. */ +		177, /* Robin Hood - can't meet him at the start. */ +		r__brummieroad, /* Cwytalot */ +		r__lustiesroom, /* Baron du Lustie. */ +		r__outsidecardiffcastle, /* The Duke of Cardiff. */ +		r__argentpub, /* Dogfood */ +		r__outsideducks, /* Trader */ +		r__argentpub, /* Ibythneth */ +		r__aylesoffice, /* Ayles */ +		r__nottspub, /* Port */ +		r__nottspub, /* Spurge */ +		r__musicroom, /* Jacques */ +		0, 0, 0, 0, 0, 0, 0, 0, +		/* The Lasses */ +		r__yours, /* Arkata */ +		r__geidas, /* Geida */ +		177, /* nobody allocated here! */ +		r__wisewomans +	}; /* The Wise Woman. */ + + +  	Common::String current;  	byte curpos;  	bool cursoron; | 
