diff options
author | Max Horn | 2006-11-04 22:59:56 +0000 |
---|---|---|
committer | Max Horn | 2006-11-04 22:59:56 +0000 |
commit | db1fc75012ae1d6b2864ceae9c7900bd80d06508 (patch) | |
tree | edd3c1f1e4a3086a37e1a6c6849640bd7d275308 /engines/scumm/palette.cpp | |
parent | e57422c08c016441a80279fee3a13848a5bb9d5b (diff) | |
download | scummvm-rg350-db1fc75012ae1d6b2864ceae9c7900bd80d06508.tar.gz scummvm-rg350-db1fc75012ae1d6b2864ceae9c7900bd80d06508.tar.bz2 scummvm-rg350-db1fc75012ae1d6b2864ceae9c7900bd80d06508.zip |
SCUMM cleanup
svn-id: r24612
Diffstat (limited to 'engines/scumm/palette.cpp')
-rw-r--r-- | engines/scumm/palette.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/scumm/palette.cpp b/engines/scumm/palette.cpp index aeb4aa0bfc..b7149ceeb3 100644 --- a/engines/scumm/palette.cpp +++ b/engines/scumm/palette.cpp @@ -905,7 +905,10 @@ void ScummEngine::setPalColor(int idx, int r, int g, int b) { setDirtyColors(idx, idx); } -void ScummEngine::setPalette(int palindex) { +void ScummEngine::setCurrentPalette(int palindex) { + // TODO: This method could almost be moved to ScummEngin_v6, the only + // problem is that it is called by ScummEngine::resetRoomSubBlocks(). + // But it should be possible to get rid of that, too (with some care). const byte *pals; _curPalIndex = palindex; |