and more share code
svn-id: r7150
This commit is contained in:
parent
a94afe4120
commit
33c600dde5
4 changed files with 39 additions and 249 deletions
|
@ -2375,18 +2375,6 @@ int Scumm_v5::getWordVararg(int *ptr) {
|
|||
return i;
|
||||
}
|
||||
|
||||
int Scumm_v5::getVarOrDirectWord(byte mask) {
|
||||
if (_opcode & mask)
|
||||
return readVar(fetchScriptWord());
|
||||
return (int16)fetchScriptWord();
|
||||
}
|
||||
|
||||
int Scumm_v5::getVarOrDirectByte(byte mask) {
|
||||
if (_opcode & mask)
|
||||
return readVar(fetchScriptWord());
|
||||
return fetchScriptByte();
|
||||
}
|
||||
|
||||
void Scumm_v5::decodeParseString() {
|
||||
int textSlot;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue