aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/eobcommon.h
diff options
context:
space:
mode:
authorathrxx2012-02-13 18:39:50 +0100
committerathrxx2012-02-21 21:48:39 +0100
commit86a817beb5eef248c5f5e28f18133db802a59c2e (patch)
treedc606582deb0ccd10114fdf77554a8a4697110aa /engines/kyra/eobcommon.h
parent66ba9343987d67e8bf8e1742fcf139dee95a8448 (diff)
downloadscummvm-rg350-86a817beb5eef248c5f5e28f18133db802a59c2e.tar.gz
scummvm-rg350-86a817beb5eef248c5f5e28f18133db802a59c2e.tar.bz2
scummvm-rg350-86a817beb5eef248c5f5e28f18133db802a59c2e.zip
KYRA: (EOB) - start work on CGA and EGA graphics modes
Diffstat (limited to 'engines/kyra/eobcommon.h')
-rw-r--r--engines/kyra/eobcommon.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/engines/kyra/eobcommon.h b/engines/kyra/eobcommon.h
index dff2427ddb..49589c809c 100644
--- a/engines/kyra/eobcommon.h
+++ b/engines/kyra/eobcommon.h
@@ -31,7 +31,7 @@
namespace Kyra {
-struct EoBShapeDef {
+struct DarkMoonShapeDef {
int16 index;
uint8 x, y, w, h;
};
@@ -577,7 +577,7 @@ protected:
void readLevelFileData(int level);
Common::String initLevelData(int sub);
void addLevelItems();
- void loadVcnData(const char *file, const char * /*nextFile*/);
+ void loadVcnData(const char *file, const uint8 *cgaMapping);
void loadBlockProperties(const char *mazFile);
const uint8 *getBlockFileData(int levelIndex = 0);
Common::String getBlockFileName(int levelIndex, int sub);
@@ -834,6 +834,17 @@ protected:
Common::Error loadGameState(int slot);
Common::Error saveGameStateIntern(int slot, const char *saveName, const Graphics::Surface *thumbnail);
+ const uint8 *_cgaMappingDefault;
+ const uint8 *_cgaMappingAlt;
+ const uint8 *_cgaMappingInv;
+ const uint8 *_cgaMappingItemsL;
+ const uint8 *_cgaMappingItemsS;
+ const uint8 *_cgaMappingThrown;
+ const uint8 *_cgaMappingIcons;
+ const uint8 *_cgaMappingDeco;
+ const uint8 *_cgaMappingLevel[5];
+ const uint8 *_cgaLevelMappingIndex;
+
// Default parameters will import all present original save files and push them to the top of the save dialog.
bool importOriginalSaveFile(int destSlot, const char *sourceFile = 0);
Common::String readOriginalSaveFile(Common::String &file);