aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/charset.cpp
diff options
context:
space:
mode:
authorTravis Howell2009-11-22 11:43:12 +0000
committerTravis Howell2009-11-22 11:43:12 +0000
commitbb0c7657316942859a7a8575236320cf819d07c6 (patch)
tree2636599815e0fedc9c0567cad31ada8395242f08 /engines/scumm/charset.cpp
parent6c2cc3e1bbc626f671432fa0a37d6317222caa5d (diff)
downloadscummvm-rg350-bb0c7657316942859a7a8575236320cf819d07c6.tar.gz
scummvm-rg350-bb0c7657316942859a7a8575236320cf819d07c6.tar.bz2
scummvm-rg350-bb0c7657316942859a7a8575236320cf819d07c6.zip
Exclude Loom PCE engine specific code, from non-16bit color build.
svn-id: r46080
Diffstat (limited to 'engines/scumm/charset.cpp')
-rw-r--r--engines/scumm/charset.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/scumm/charset.cpp b/engines/scumm/charset.cpp
index f38c856a58..70a9336380 100644
--- a/engines/scumm/charset.cpp
+++ b/engines/scumm/charset.cpp
@@ -620,12 +620,14 @@ void CharsetRendererV3::setColor(byte color) {
translateColor();
}
+#ifdef USE_RGB_COLOR
void CharsetRendererPCE::setColor(byte color) {
_vm->setPCETextPalette(color);
_color = 15;
enableShadow(true);
}
+#endif
void CharsetRendererCommon::enableShadow(bool enable) {
if (enable) {
@@ -1076,6 +1078,7 @@ void CharsetRendererCommon::drawBits1(const Graphics::Surface &s, byte *dst, con
}
}
+#ifdef USE_RGB_COLOR
void CharsetRendererPCE::drawBits1(const Graphics::Surface &s, byte *dst, const byte *src, int drawTop, int width, int height, uint8 bitDepth) {
int y, x;
int bitCount = 0;
@@ -1109,6 +1112,7 @@ void CharsetRendererPCE::drawBits1(const Graphics::Surface &s, byte *dst, const
dst += s.pitch - width * bitDepth;
}
}
+#endif
#ifdef ENABLE_SCUMM_7_8
CharsetRendererNut::CharsetRendererNut(ScummEngine *vm)