aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authoruruk2013-07-13 13:02:12 +0200
committeruruk2013-07-13 13:02:12 +0200
commit0f8a091597092f7efc308f4d20a3d09c648fcb2a (patch)
treeecb3872ebe3571483ab367c6ba5cd695c6f5fb31 /engines
parenta1673fe167077c206a80e67522ba7c7d0cac9cc0 (diff)
downloadscummvm-rg350-0f8a091597092f7efc308f4d20a3d09c648fcb2a.tar.gz
scummvm-rg350-0f8a091597092f7efc308f4d20a3d09c648fcb2a.tar.bz2
scummvm-rg350-0f8a091597092f7efc308f4d20a3d09c648fcb2a.zip
AVALANCHE: Update Lucerna::load(), update makefile, increase screen height (in Graph).
Diffstat (limited to 'engines')
-rw-r--r--engines/avalanche/graph.h2
-rw-r--r--engines/avalanche/lucerna2.cpp3
-rw-r--r--engines/avalanche/module.mk1
3 files changed, 4 insertions, 2 deletions
diff --git a/engines/avalanche/graph.h b/engines/avalanche/graph.h
index 24fffcc149..559e78cb6f 100644
--- a/engines/avalanche/graph.h
+++ b/engines/avalanche/graph.h
@@ -38,7 +38,7 @@ class AvalancheEngine;
class Graph {
public:
static const int16 _screenWidth = 640;
- static const int16 _screenHeight = 200;
+ static const int16 _screenHeight = 400;
diff --git a/engines/avalanche/lucerna2.cpp b/engines/avalanche/lucerna2.cpp
index 6cd99b5bca..493d114b39 100644
--- a/engines/avalanche/lucerna2.cpp
+++ b/engines/avalanche/lucerna2.cpp
@@ -251,7 +251,8 @@ void Lucerna::load(byte n) { /* Load2, actually */
byte pixel = f.readByte();
for (byte i = 0; i < 8; i++) {
byte pixelBit = (pixel >> i) & 1;
- *(byte *)background.getBasePtr(x + 7 - i, y) += (pixelBit << plane);
+ for (byte j = 0; j < 2; j++) // We draw every line twice to reach 400 picture height.
+ *(byte *)background.getBasePtr(x + 7 - i, y * 2 + j) += (pixelBit << plane);
}
}
diff --git a/engines/avalanche/module.mk b/engines/avalanche/module.mk
index ff5bc61e96..222482e406 100644
--- a/engines/avalanche/module.mk
+++ b/engines/avalanche/module.mk
@@ -2,6 +2,7 @@ MODULE := engines/avalanche
MODULE_OBJS = \
avalanche.o \
+ graph.o \
avalot.o \
console.o \
detection.o \