Renamed decodeILBM to decodePBM, removed a TODO
svn-id: r26731
This commit is contained in:
parent
40f43a687b
commit
d08eeff700
3 changed files with 3 additions and 7 deletions
|
@ -437,7 +437,7 @@ void Scene::changeScene(int16 sceneNumber, int actorsEntrance, SceneTransitionTy
|
||||||
_vm->_interface->setMode(kPanelSceneSubstitute);
|
_vm->_interface->setMode(kPanelSceneSubstitute);
|
||||||
|
|
||||||
if (file.open(sceneSubstitutes[i].image)) {
|
if (file.open(sceneSubstitutes[i].image)) {
|
||||||
Graphics::decodeILBM(file, bbmBuffer, pal);
|
Graphics::decodePBM(file, bbmBuffer, pal);
|
||||||
colors = pal;
|
colors = pal;
|
||||||
rect.setWidth(bbmBuffer.w);
|
rect.setWidth(bbmBuffer.w);
|
||||||
rect.setHeight(bbmBuffer.h);
|
rect.setHeight(bbmBuffer.h);
|
||||||
|
|
|
@ -304,7 +304,7 @@ void PackBitsReadStream::unpack() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void decodeILBM(Common::ReadStream &input, Surface &surface, byte *&colors) {
|
void decodePBM(Common::ReadStream &input, Surface &surface, byte *&colors) {
|
||||||
PBMDecoder decoder(input, surface, colors);
|
PBMDecoder decoder(input, surface, colors);
|
||||||
decoder.decode();
|
decoder.decode();
|
||||||
}
|
}
|
||||||
|
|
|
@ -92,11 +92,7 @@ public:
|
||||||
void decode();
|
void decode();
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
void decodePBM(Common::ReadStream &input, Surface &surface, byte *&colors);
|
||||||
TODO: rename this routine to decodePBM, and update the SAGA code that's
|
|
||||||
using it. The routine has already been implemented using the above PBMDecoder.
|
|
||||||
*/
|
|
||||||
void decodeILBM(Common::ReadStream &input, Surface &surface, byte *&colors);
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue