Renamed decodeILBM to decodePBM, removed a TODO

svn-id: r26731
This commit is contained in:
Filippos Karapetis 2007-05-01 21:40:56 +00:00
parent 40f43a687b
commit d08eeff700
3 changed files with 3 additions and 7 deletions

View file

@ -437,7 +437,7 @@ void Scene::changeScene(int16 sceneNumber, int actorsEntrance, SceneTransitionTy
_vm->_interface->setMode(kPanelSceneSubstitute);
if (file.open(sceneSubstitutes[i].image)) {
Graphics::decodeILBM(file, bbmBuffer, pal);
Graphics::decodePBM(file, bbmBuffer, pal);
colors = pal;
rect.setWidth(bbmBuffer.w);
rect.setHeight(bbmBuffer.h);

View file

@ -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);
decoder.decode();
}

View file

@ -92,11 +92,7 @@ public:
void decode();
};
/*
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);
void decodePBM(Common::ReadStream &input, Surface &surface, byte *&colors);
/*