diff options
author | athrxx | 2019-01-28 20:01:35 +0100 |
---|---|---|
committer | athrxx | 2019-03-06 20:48:17 +0100 |
commit | 09c49120344ac5f48c9e651bfa2c1f9e8e5e2e1e (patch) | |
tree | 34d98f39e177ed763cc544be325980a2aca4adc7 /engines | |
parent | 2b95dd3213fe4800a3475c055ba7d63b640a8938 (diff) | |
download | scummvm-rg350-09c49120344ac5f48c9e651bfa2c1f9e8e5e2e1e.tar.gz scummvm-rg350-09c49120344ac5f48c9e651bfa2c1f9e8e5e2e1e.tar.bz2 scummvm-rg350-09c49120344ac5f48c9e651bfa2c1f9e8e5e2e1e.zip |
KYRA: (EOB) - improve comment
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/graphics/screen.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/kyra/graphics/screen.h b/engines/kyra/graphics/screen.h index 44113e4372..68f1927a32 100644 --- a/engines/kyra/graphics/screen.h +++ b/engines/kyra/graphics/screen.h @@ -570,7 +570,11 @@ public: static void convertAmigaGfx(uint8 *data, int w, int h, int depth = 5, bool wsa = false, int bytesPerPlane = -1); static void convertAmigaMsc(uint8 *data); - // RPG specific, this does not belong here + // This seems to be a variant of shuffleScreen (which is used in LoK). At the time of coding (and long after that) the + // fact that this is a double implementation went unnoticed. My - admittedly limited - efforts to get rid of one of these + // implementations were unsatisfactory, though. Each method seems to be optimized to produce accurate results for its + // specifc purpose (LoK for shuffleScreen, EoB/LoL for crossFadeRegion). Merging these methods has no priority, since we + // can well afford the 20 lines of extra code. void crossFadeRegion(int x1, int y1, int x2, int y2, int w, int h, int srcPage, int dstPage); uint16 *get16bitPalette() { return _16bitPalette; } |