aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.h
diff options
context:
space:
mode:
authorMax Horn2003-05-29 12:55:28 +0000
committerMax Horn2003-05-29 12:55:28 +0000
commit1db0f749ca94598ec9a352a84a2ea0e4a248d375 (patch)
treef419b9a73c1b6368c8dd6cbf3d6af0ca0239a8ae /scumm/gfx.h
parent48ccc623ac2666177f67f03b039633b28ff827c3 (diff)
downloadscummvm-rg350-1db0f749ca94598ec9a352a84a2ea0e4a248d375.tar.gz
scummvm-rg350-1db0f749ca94598ec9a352a84a2ea0e4a248d375.tar.bz2
scummvm-rg350-1db0f749ca94598ec9a352a84a2ea0e4a248d375.zip
moved camera stuff to own file
svn-id: r8099
Diffstat (limited to 'scumm/gfx.h')
-rw-r--r--scumm/gfx.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/scumm/gfx.h b/scumm/gfx.h
index 5c49d27e22..0d54389a90 100644
--- a/scumm/gfx.h
+++ b/scumm/gfx.h
@@ -170,4 +170,25 @@ public:
};
};
+
+// If you wan to try buggy hacked smooth scrolling support in The Dig, enable
+// the following preprocessor flag by uncommenting it.
+//
+// Note: This is purely experimental, NOT WORKING COMPLETLY and very buggy.
+// Please do not make reports about problems with it - this is only in CVS
+// to get it fixed and so that really interested parties can experiment it.
+// It is NOT FIT FOR GENERAL USAGE! You have been warned.
+//
+// Doing this correctly will be quite some more complicated. Basically, with smooth
+// scrolling, the virtual screen strips don't match the display screen strips.
+// Hence we either have to draw partial strips - but that'd be rather cumbersome.
+// Or the much simple (and IMHO more elegant) solution is to simply use a screen pitch
+// that is 8 pixel wider than the real screen width, and always draw one strip more than
+// needed to the backbuf. This will still require quite some code to be changed but
+// should otherwise be relatively easy to understand, and using VirtScreen::pitch
+// will actually clean up the code.
+//
+// #define V7_SMOOTH_SCROLLING_HACK
+
+
#endif