aboutsummaryrefslogtreecommitdiff
path: root/engines/made/screen.h
diff options
context:
space:
mode:
authorFilippos Karapetis2008-04-24 23:06:21 +0000
committerFilippos Karapetis2008-04-24 23:06:21 +0000
commit8b7486b5ca61653250c7168974233932e8248f87 (patch)
tree7f77124e78bf2ada26c48ba05f9a7b7e0a01bb40 /engines/made/screen.h
parentc05d16826ddced4a968808ceadedcef2e8f7bd9f (diff)
downloadscummvm-rg350-8b7486b5ca61653250c7168974233932e8248f87.tar.gz
scummvm-rg350-8b7486b5ca61653250c7168974233932e8248f87.tar.bz2
scummvm-rg350-8b7486b5ca61653250c7168974233932e8248f87.zip
Implemented opcodes o1_DROPSHADOW, o1_TEXTCOLOR, o1_OUTLINE. Added some initial code for opcode o1_TEXTRECT
svn-id: r31711
Diffstat (limited to 'engines/made/screen.h')
-rw-r--r--engines/made/screen.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/engines/made/screen.h b/engines/made/screen.h
index 543af81bf8..55dd92cabd 100644
--- a/engines/made/screen.h
+++ b/engines/made/screen.h
@@ -71,6 +71,17 @@ public:
void setExclude(uint16 exclude) { _exclude = exclude; }
void setGround(uint16 ground) { _ground = ground; }
void setFont(uint16 font) { _currentFont = font; }
+ void setTextColor(int16 color) { _textColor = color; }
+
+ void setOutlineColor(int16 color) {
+ _outlineColor = color;
+ _dropshadowColor = -1;
+ }
+
+ void setDropShadowColor(int16 color) {
+ _outlineColor = -1;
+ _dropshadowColor = color;
+ }
uint16 updateChannel(uint16 channelIndex);
void deleteChannel(uint16 channelIndex);
@@ -117,6 +128,9 @@ protected:
int _paletteColorCount, _oldPaletteColorCount;
bool _paletteInitialized, _needPalette;
uint16 _currentFont;
+ int16 _textColor;
+ int16 _outlineColor;
+ int16 _dropShadowColor;
uint16 _clip, _exclude, _ground;
int _visualEffectNum;