diff options
author | uruk | 2013-06-17 10:38:38 +0200 |
---|---|---|
committer | uruk | 2013-06-17 10:38:38 +0200 |
commit | a2adda516bdf790651283201a666f253a8bfcc49 (patch) | |
tree | bdc6479a6889d15d1b25e47e28f0c86f093a9610 /engines/avalanche/celer.h | |
parent | 2f0e43bb2e402bbcf65175934d21ade6febaad60 (diff) | |
download | scummvm-rg350-a2adda516bdf790651283201a666f253a8bfcc49.tar.gz scummvm-rg350-a2adda516bdf790651283201a666f253a8bfcc49.tar.bz2 scummvm-rg350-a2adda516bdf790651283201a666f253a8bfcc49.zip |
AVALANCHE: Initial PtoC output.
Diffstat (limited to 'engines/avalanche/celer.h')
-rw-r--r-- | engines/avalanche/celer.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/engines/avalanche/celer.h b/engines/avalanche/celer.h new file mode 100644 index 0000000000..f6ad52ffb1 --- /dev/null +++ b/engines/avalanche/celer.h @@ -0,0 +1,53 @@ +#ifndef __celer_h__ +#define __celer_h__ + + +#include "closing.h" +#include "incline.h" +#include "gyro.h" + + +enum flavourtype {ch_ega,ch_bgi, last_flavourtype}; + +struct chunkblocktype { + flavourtype flavour; + integer x,y; + integer xl,yl; + longint size; + boolean natural; + + boolean memorise; /* Hold it in memory? */ +}; + +struct memotype { + integer x,y; + integer xl,yl; + flavourtype flavour; + word size; +}; + + +#ifdef __celer_implementation__ +#undef EXTERN +#define EXTERN +#endif + +EXTERN array<1,40,longint> offsets; +EXTERN byte num_chunks; +EXTERN array<1,40,memotype> memos; +EXTERN array<1,40,pointer> memory; +#undef EXTERN +#define EXTERN extern + + + void pics_link(); + + void load_chunks(string xx); + + void forget_chunks(); + + void show_one(byte which); + + void show_one_at(byte which, integer xxx,integer yyy); + +#endif |