mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-13 13:10:53 +00:00
AVALANCHE: Celer: add new flavour: ch_natural_image.
This commit is contained in:
parent
ab04dd7aa6
commit
28b0076e63
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user