aboutsummaryrefslogtreecommitdiff
path: root/scumm.h
diff options
context:
space:
mode:
authorMax Horn2002-07-13 14:07:37 +0000
committerMax Horn2002-07-13 14:07:37 +0000
commitdc60238196e1507d8a492735a32754b2d57c94a6 (patch)
treeba139aea4f5b75626c30df0f8ca0f68262121f10 /scumm.h
parent1861053d3386b475a36b963d01d452dcf41f83b6 (diff)
downloadscummvm-rg350-dc60238196e1507d8a492735a32754b2d57c94a6.tar.gz
scummvm-rg350-dc60238196e1507d8a492735a32754b2d57c94a6.tar.bz2
scummvm-rg350-dc60238196e1507d8a492735a32754b2d57c94a6.zip
renamed fadeToBlackEffect to fadeOut; renamed screenEffect to fadeIn; implemented oldRoomEffect (fixes room transitions in MonkeyVGA and Indy3)
svn-id: r4536
Diffstat (limited to 'scumm.h')
-rw-r--r--scumm.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/scumm.h b/scumm.h
index fb2f05dc99..40c5ee0350 100644
--- a/scumm.h
+++ b/scumm.h
@@ -255,6 +255,14 @@ enum ResTypes {
};
enum {
+ LIGHTMODE_dark = 0,
+ LIGHTMODE_actor_base = 1,
+ LIGHTMODE_screen = 2,
+ LIGHTMODE_flashlight = 4,
+ LIGHTMODE_actor_color = 8
+};
+
+enum {
OF_OWNER_MASK = 0x0F,
OF_STATE_MASK = 0xF0,
@@ -1112,10 +1120,10 @@ public:
void updateDirtyScreen(int slot);
VirtScreen *findVirtScreen(int y);
- void fadeToBlackEffect(int a);
+ void fadeOut(int a);
static void setVirtscreenDirty(VirtScreen *vs, int left, int top, int right, int bottom);
- void screenEffect(int effect);
+ void fadeIn(int effect);
void unkScreenEffect1();
void unkScreenEffect2();
void unkScreenEffect3();