aboutsummaryrefslogtreecommitdiff
path: root/scumm/charset.cpp
diff options
context:
space:
mode:
authorMax Horn2003-05-20 15:12:33 +0000
committerMax Horn2003-05-20 15:12:33 +0000
commit5fe08b91910e63450b448689ec2fc733a8b66422 (patch)
tree767f66c6b89a8d0c2ae7e58dbf2a9097694c77eb /scumm/charset.cpp
parent9517305332fd6ae9deff3c97895446e19acbbaa4 (diff)
downloadscummvm-rg350-5fe08b91910e63450b448689ec2fc733a8b66422.tar.gz
scummvm-rg350-5fe08b91910e63450b448689ec2fc733a8b66422.tar.bz2
scummvm-rg350-5fe08b91910e63450b448689ec2fc733a8b66422.zip
init charset data
svn-id: r7734
Diffstat (limited to 'scumm/charset.cpp')
-rw-r--r--scumm/charset.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/scumm/charset.cpp b/scumm/charset.cpp
index 1081aa2b98..bb13e43491 100644
--- a/scumm/charset.cpp
+++ b/scumm/charset.cpp
@@ -23,6 +23,30 @@
#include "scumm.h"
#include "nut_renderer.h"
+CharsetRenderer::CharsetRenderer(Scumm *vm) {
+
+ _nextLeft = 0;
+ _nextTop = 0;
+
+ _top = 0;
+ _left = 0;
+ _startLeft = 0;
+ _right = 0;
+
+ _color = 0;
+
+ _dropShadow = false;
+ _center = false;
+ _hasMask = false;
+ _ignoreCharsetMask = false;
+ _blitAlso = false;
+ _firstChar = false;
+ _disableOffsX = false;
+
+ _vm = vm;
+ _curId = 0;
+}
+
void CharsetRendererCommon::setCurID(byte id) {
_vm->checkRange(_vm->_maxCharsets - 1, 0, id, "Printing with bad charset %d");