aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/screen.h
diff options
context:
space:
mode:
authorJohannes Schickel2006-05-18 22:46:34 +0000
committerJohannes Schickel2006-05-18 22:46:34 +0000
commit570b9e2c9dd9bb13ef01fae5e7deb8e038d7067f (patch)
tree49899896302b373b50927ca563a84eaa9922b96f /engines/kyra/screen.h
parentfac7a13cf5c2dd128f5f5b46f3d9c52a534a2322 (diff)
downloadscummvm-rg350-570b9e2c9dd9bb13ef01fae5e7deb8e038d7067f.tar.gz
scummvm-rg350-570b9e2c9dd9bb13ef01fae5e7deb8e038d7067f.tar.bz2
scummvm-rg350-570b9e2c9dd9bb13ef01fae5e7deb8e038d7067f.zip
- load fonts for kyra3
- adds screen dim tables for kyra3 - adds palette / screen backup for the vqa player - small changes in the vqa player to use the Kyra::Screen functions - adds (partially implemented/unimplemented) main menu drawing/handling functions (nothing to see yet) svn-id: r22528
Diffstat (limited to 'engines/kyra/screen.h')
-rw-r--r--engines/kyra/screen.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/kyra/screen.h b/engines/kyra/screen.h
index 2e208c0ca1..6810ad7389 100644
--- a/engines/kyra/screen.h
+++ b/engines/kyra/screen.h
@@ -120,6 +120,7 @@ public:
void setTextColor(const uint8 *cmap, int a, int b);
void loadFont(FontId fontId, uint8 *fontData);
FontId setFont(FontId fontId);
+ int getFontHeight() const;
int getCharWidth(uint8 c) const;
int getTextWidth(const char *str) const;
void printText(const char *str, int x, int y, uint8 color1, uint8 color2);
@@ -179,6 +180,10 @@ public:
static const ScreenDim _screenDimTable[];
static const int _screenDimTableCount;
+
+ // maybe subclass screen for kyra3
+ static const ScreenDim _screenDimTableK3[];
+ static const int _screenDimTableCountK3;
private:
int16 encodeShapeAndCalculateSize(uint8 *from, uint8 *to, int size);
void restoreMouseRect();