aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/avalanche/celer2.cpp9
-rw-r--r--engines/avalanche/celer2.h2
2 files changed, 4 insertions, 7 deletions
diff --git a/engines/avalanche/celer2.cpp b/engines/avalanche/celer2.cpp
index 3cedb67a7a..17d4ae1052 100644
--- a/engines/avalanche/celer2.cpp
+++ b/engines/avalanche/celer2.cpp
@@ -302,13 +302,10 @@ void Celer::load_chunks(Common::String xx) {
memory[fv] = new byte[ch.size]; // Celer::forget_chunks() deallocates it.
- /*if (ch.natural) {
- getimage(ch.x * 8, ch.y, (ch.x + ch.xl) * 8, ch.y + ch.yl, memory[fv]);
+ if (ch.natural) {
+ memos[fv].flavour = ch_natural_image; // We simply read from the screen and later, in display_it() we draw it right back.
+ //getimage(ch.x * 8, ch.y, (ch.x + ch.xl) * 8, ch.y + ch.yl, memory[fv]);
} else
- blockread(f, memory[fv], ch.size);*/
- warning("STUB: Celer::load_chunks()");
-
- if (!ch.natural)
f.read(memory[fv], ch.size);
} else
memos[fv].x = on_disk;
diff --git a/engines/avalanche/celer2.h b/engines/avalanche/celer2.h
index 1d350054a2..3084fdd867 100644
--- a/engines/avalanche/celer2.h
+++ b/engines/avalanche/celer2.h
@@ -39,7 +39,7 @@ class AvalancheEngine;
class Celer {
public:
- enum flavourtype {ch_ega, ch_bgi};
+ enum flavourtype {ch_ega, ch_bgi, ch_natural_image};
struct chunkblocktype {
flavourtype flavour;