diff options
author | Eugene Sandulenko | 2005-07-05 15:15:35 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-07-05 15:15:35 +0000 |
commit | cdead6d57b9d90d8f80cba023e5e6056765b273d (patch) | |
tree | 2df15564cb5fb2a03f790ab7c95410869cc2c820 /saga/gfx.cpp | |
parent | 792ca1aec42d68d8e46331331db3aa01215ff49c (diff) | |
download | scummvm-rg350-cdead6d57b9d90d8f80cba023e5e6056765b273d.tar.gz scummvm-rg350-cdead6d57b9d90d8f80cba023e5e6056765b273d.tar.bz2 scummvm-rg350-cdead6d57b9d90d8f80cba023e5e6056765b273d.zip |
- Stripped down unused SURFACE parameter in palette-related functions
- Fixed scenes glitch when loading saved game. This is done by closing
load window right after game is loaded which differs from original but
seems more logical to me
- Fixed wrong palette when Dragon maze was loaded from a savegame. We just
didn't process Palette resource for it.
svn-id: r18494
Diffstat (limited to 'saga/gfx.cpp')
-rw-r--r-- | saga/gfx.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/saga/gfx.cpp b/saga/gfx.cpp index 8189f6f070..2d15259d53 100644 --- a/saga/gfx.cpp +++ b/saga/gfx.cpp @@ -455,7 +455,7 @@ SURFACE *Gfx::getBackBuffer() { return &_back_buf; } -int Gfx::setPalette(SURFACE *surface, PALENTRY *pal) { +int Gfx::setPalette(PALENTRY *pal) { int i; byte *ppal; @@ -484,7 +484,7 @@ int Gfx::getCurrentPal(PALENTRY *src_pal) { return SUCCESS; } -int Gfx::palToBlack(SURFACE *surface, PALENTRY *src_pal, double percent) { +int Gfx::palToBlack(PALENTRY *src_pal, double percent) { int i; //int fade_max = 255; int new_entry; @@ -534,7 +534,7 @@ int Gfx::palToBlack(SURFACE *surface, PALENTRY *src_pal, double percent) { return SUCCESS; } -int Gfx::blackToPal(SURFACE *surface, PALENTRY *src_pal, double percent) { +int Gfx::blackToPal(PALENTRY *src_pal, double percent) { int new_entry; double fpercent; int color_delta; |