aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/screen_lol.h
diff options
context:
space:
mode:
authorFlorian Kagerer2009-02-14 00:51:07 +0000
committerFlorian Kagerer2009-02-14 00:51:07 +0000
commitf065524949ff2919a692dbc1ae42ea56fe3f61ac (patch)
tree5b03f2dba23bd1a1f579caea8531165c5e37e653 /engines/kyra/screen_lol.h
parentf7b963101f8e04aa837ee598c442e5faed96bfec (diff)
downloadscummvm-rg350-f065524949ff2919a692dbc1ae42ea56fe3f61ac.tar.gz
scummvm-rg350-f065524949ff2919a692dbc1ae42ea56fe3f61ac.tar.bz2
scummvm-rg350-f065524949ff2919a692dbc1ae42ea56fe3f61ac.zip
LOL:
- implemented some input code - you can walk around now (not very far though, since doors don't work yet). Keyboard control is still missing - processButtonList isn't really implemented yet for LOL. I'll still have to check which features are needed here. svn-id: r36320
Diffstat (limited to 'engines/kyra/screen_lol.h')
-rw-r--r--engines/kyra/screen_lol.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/engines/kyra/screen_lol.h b/engines/kyra/screen_lol.h
index 0f8746ef00..3dcce8a486 100644
--- a/engines/kyra/screen_lol.h
+++ b/engines/kyra/screen_lol.h
@@ -50,12 +50,23 @@ public:
void drawGridBox(int x, int y, int w, int h, int col);
void fadeClearSceneWindow(int delay);
+ // smooth scrolling
+ void backupSceneWindow(int srcPageNum, int dstPageNum);
+ void restoreSceneWindow(int srcPageNum, int dstPageNum);
+ void smoothScrollZoomStepTop(int srcPageNum, int dstPageNum, int x, int y);
+ void smoothScrollZoomStepBottom(int srcPageNum, int dstPageNum, int x, int y);
+ void smoothScrollHorizontalStep(int pageNum, int x, int u2, int w);
+ void smoothScrollTurnStep1(int srcPage1Num, int srcPage2Num, int dstPageNum);
+ void smoothScrollTurnStep2(int srcPage1Num, int srcPage2Num, int dstPageNum);
+ void smoothScrollTurnStep3(int srcPage1Num, int srcPage2Num, int dstPageNum);
+
+ // palette stuff
void fadeToBlack(int delay=0x54, const UpdateFunctor *upFunc = 0);
void setPaletteBrightness(uint8 *palDst, int brightness, int modifier);
void generateBrightnessPalette(uint8 *palSrc, uint8 *palDst, int brightness, int modifier);
void loadSpecialColours(uint8 *destPalette);
- void loadColour254(uint8 *destPalEntry);
- bool copyColour(int dstColorIndex, int srcColorIndex, uint32 time1, uint32 time2);
+ void copyColour(int dstColourIndex, int srcColourIndex);
+ bool fadeColour(int dstColourIndex, int srcColourIndex, uint32 elapsedTime, uint32 targetTime);
void generateGrayOverlay(const uint8 *srcPal, uint8 *grayOverlay, int factor, int addR, int addG, int addB, int lastColor, bool skipSpecialColours);
uint8 *generateLevelOverlay(const uint8 *srcPal, uint8 *ovl, int opColor, int weight);