aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver/menu.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-08-26 06:53:00 +0000
committerTorbjörn Andersson2003-08-26 06:53:00 +0000
commit8277c6cb798552de5ef315311db18f91a25e42fc (patch)
tree18606d41b4db06dda28acc075af1141c750fbcff /sword2/driver/menu.cpp
parentf3675261a970ca1c76870f3ebbf3774771d22270 (diff)
downloadscummvm-rg350-8277c6cb798552de5ef315311db18f91a25e42fc.tar.gz
scummvm-rg350-8277c6cb798552de5ef315311db18f91a25e42fc.tar.bz2
scummvm-rg350-8277c6cb798552de5ef315311db18f91a25e42fc.zip
The graphics detail settings partially work now. They only affect how
sprites are drawn, but I think that's how it should be. 1: No bells or whistles. 2: This setting adds sprite blending, e.g. the smoke at the docks or the display cases at the Glease Gallery. 3: This setting adds light map support, e.g. when walking under the shack at the docks. 4: This setting adds better scaling algorithms. The first three settings should work fine now. In fact, the third setting is what we used to implement. The fourth setting still needs work and testing. I've added code for downscaling case, but frankly I'm not convinced the result is any better than with the simpler scaler. I usually can't even tell the difference. Of course, my translation of the original code could very well be buggy. svn-id: r9867
Diffstat (limited to 'sword2/driver/menu.cpp')
-rw-r--r--sword2/driver/menu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/menu.cpp b/sword2/driver/menu.cpp
index 241866e8f8..2f6d1d6314 100644
--- a/sword2/driver/menu.cpp
+++ b/sword2/driver/menu.cpp
@@ -238,7 +238,7 @@ int32 ProcessMenu(void) {
if (pocketStatus[menu][i] != MAXMENUANIMS) {
SquashImage(
dst, lpBackBuffer->_width, r.right - r.left, r.bottom - r.top,
- src, RDMENU_ICONWIDE, RDMENU_ICONWIDE, RDMENU_ICONDEEP);
+ src, RDMENU_ICONWIDE, RDMENU_ICONWIDE, RDMENU_ICONDEEP, NULL);
} else {
for (int j = 0; j < RDMENU_ICONDEEP; j++) {
memcpy(dst, src, RDMENU_ICONWIDE);