AVALANCHE: Celer: add new flavour: ch_natural_image.

This commit is contained in:
uruk 2013-07-25 11:41:33 +02:00
parent ab04dd7aa6
commit 28b0076e63
2 changed files with 4 additions and 7 deletions

View File

@ -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;

View File

@ -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;