diff options
| author | Travis Howell | 2004-06-24 13:03:26 +0000 | 
|---|---|---|
| committer | Travis Howell | 2004-06-24 13:03:26 +0000 | 
| commit | a9de63ef022ddaef7d5c8ac2d5ec6e6d73f9f320 (patch) | |
| tree | d71befb23e18e4d1126519c357c55e0dd8eee9aa /scumm | |
| parent | 622f3ec78fe4e8cc3e299a3dd4008d7a854928d8 (diff) | |
| download | scummvm-rg350-a9de63ef022ddaef7d5c8ac2d5ec6e6d73f9f320.tar.gz scummvm-rg350-a9de63ef022ddaef7d5c8ac2d5ec6e6d73f9f320.tar.bz2 scummvm-rg350-a9de63ef022ddaef7d5c8ac2d5ec6e6d73f9f320.zip  | |
Add missing code
svn-id: r14028
Diffstat (limited to 'scumm')
| -rw-r--r-- | scumm/script_v6he.cpp | 14 | 
1 files changed, 8 insertions, 6 deletions
diff --git a/scumm/script_v6he.cpp b/scumm/script_v6he.cpp index ce6c4c07c7..971da452c7 100644 --- a/scumm/script_v6he.cpp +++ b/scumm/script_v6he.cpp @@ -1273,7 +1273,8 @@ void ScummEngine_v6he::redimArray(int arrayId, int newX, int newY, int type) {  void ScummEngine_v6he::decodeParseString(int m, int n) {  	byte b; -	int c; +	int i, color; +	int args[16];  	b = fetchScriptByte(); @@ -1326,15 +1327,16 @@ void ScummEngine_v6he::decodeParseString(int m, int n) {  		break;  	case 0xF9: -		c = pop(); -		if (c == 1) { +		color = pop(); +		if (color == 1) {  			_string[m].color = pop();  		} else {	 -			push(c); -			int args[16]; +			push(color);  			getStackList(args, ARRAYSIZE(args)); +			for (i = 0; i < 16; i++) +				_charsetColorMap[i] = _charsetData[_string[1]._default.charset][i] = (unsigned char)args[i]; +			_string[m].color = color;  		} -		warning("decodeParseString case 0xF9 stub");  		break;  	case 0xFE:  		_string[m].loadDefault();  | 
