diff options
Diffstat (limited to 'engines/director/lingo/lingo-the.cpp')
-rw-r--r-- | engines/director/lingo/lingo-the.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/director/lingo/lingo-the.cpp b/engines/director/lingo/lingo-the.cpp index 2bf6cfb724..bef2e50acf 100644 --- a/engines/director/lingo/lingo-the.cpp +++ b/engines/director/lingo/lingo-the.cpp @@ -225,6 +225,10 @@ void Lingo::setTheEntity(int entity, Datum &id, int field, Datum &d) { _floatPrecisionFormat = Common::String::format("%%.%df", _floatPrecision); warning("set to %d: %s", _floatPrecision, _floatPrecisionFormat.c_str()); break; + case kTheColorDepth: + _vm->_colorDepth = d.toInt(); + warning("STUB: Set color depth to %d", _vm->_colorDepth); + break; default: warning("Unprocessed setting field %d of entity %d", field, entity); } @@ -361,6 +365,12 @@ Datum Lingo::getTheEntity(int entity, Datum &id, int field) { d.type = FLOAT; d.u.f = sqrt(id.u.f); break; + case kTheColorQD: + push(Datum(1)); + break; + case kTheColorDepth: + push(Datum(_vm->_colorDepth)); + break; default: warning("Unprocessed getting field %d of entity %d", field, entity); d.type = VOID; |