mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 08:25:35 +00:00
Add raw PCM part to dig .bun decompressor.
svn-id: r4219
This commit is contained in:
parent
1dc2ccca8d
commit
21e14b44c5
2
akos.cpp
2
akos.cpp
@ -434,7 +434,7 @@ void akos_c1_spec1(AkosRenderer * ar)
|
||||
|| !((mask[0] | mask[ar->v1.imgbufoffs]) & maskbit))) {
|
||||
pcolor = ar->palette[color];
|
||||
if (pcolor == 13)
|
||||
pcolor = ar->shadow_table[*dst];
|
||||
pcolor = ar->shadow_table[*dst];
|
||||
*dst = pcolor;
|
||||
}
|
||||
mask += 40;
|
||||
|
12
insane.cpp
12
insane.cpp
@ -130,6 +130,16 @@ void SmushPlayer::parseAHDR()
|
||||
}
|
||||
|
||||
|
||||
void SmushPlayer::parseIACT() {
|
||||
unsigned char *src = _cur;
|
||||
int size, codec;
|
||||
_cur-=8; /* Move back to beginning of IACT block */
|
||||
|
||||
_cur+=4; size = READ_BE_UINT32(_cur) - 18;
|
||||
_cur+=10; codec = READ_LE_UINT16(_cur);
|
||||
|
||||
_cur = src;
|
||||
}
|
||||
|
||||
void SmushPlayer::parseNPAL()
|
||||
{
|
||||
@ -692,7 +702,7 @@ void SmushPlayer::parseFRME()
|
||||
parseXPAL();
|
||||
break;
|
||||
case 'IACT':
|
||||
parseTRES();
|
||||
parseIACT();
|
||||
break;
|
||||
case 'STOR':
|
||||
case 'FTCH':
|
||||
|
@ -606,10 +606,9 @@ void Scumm::saveOrLoad(Serializer * s)
|
||||
|
||||
s->saveLoadArrayOf(actor, NUM_ACTORS, sizeof(actor[0]), actorEntries);
|
||||
|
||||
if (_current_version < VER_V9) {
|
||||
printf("Loading pre-v9\n");
|
||||
if (_current_version < VER_V9)
|
||||
s->saveLoadArrayOf(vm.slot, 25, sizeof(vm.slot[0]), scriptSlotEntries);
|
||||
} else
|
||||
else
|
||||
s->saveLoadArrayOf(vm.slot, NUM_SCRIPT_SLOT, sizeof(vm.slot[0]), scriptSlotEntries);
|
||||
s->saveLoadArrayOf(_objs, _numLocalObjects, sizeof(_objs[0]),
|
||||
objectEntries);
|
||||
|
@ -892,7 +892,6 @@ void Scumm::processKbd()
|
||||
_vars[VAR_CHARINC] = _defaultTalkDelay / 20;
|
||||
}
|
||||
|
||||
|
||||
_mouseButStat = _lastKeyHit;
|
||||
}
|
||||
|
||||
|
2
smush.h
2
smush.h
@ -82,7 +82,7 @@ struct SmushPlayer {
|
||||
void parsePSAD();
|
||||
void parseTRES();
|
||||
void parseXPAL();
|
||||
|
||||
void parseIACT();
|
||||
void fileRead(void *mem, int len);
|
||||
|
||||
uint32 nextBE32();
|
||||
|
Loading…
x
Reference in New Issue
Block a user