[Scummvm-git-logs] scummvm master -> 774af67540b10f9b250836da4fdd5baff7e0da56

dreammaster paulfgilbert at gmail.com
Sun Feb 17 05:53:05 CET 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
774af67540 GLK: FROTZ: Properly set window colors


Commit: 774af67540b10f9b250836da4fdd5baff7e0da56
    https://github.com/scummvm/scummvm/commit/774af67540b10f9b250836da4fdd5baff7e0da56
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2019-02-16T20:52:53-08:00

Commit Message:
GLK: FROTZ: Properly set window colors

Changed paths:
    engines/glk/frotz/processor.cpp
    engines/glk/frotz/windows.cpp


diff --git a/engines/glk/frotz/processor.cpp b/engines/glk/frotz/processor.cpp
index eebcc60..8e719e2 100644
--- a/engines/glk/frotz/processor.cpp
+++ b/engines/glk/frotz/processor.cpp
@@ -265,6 +265,7 @@ void Processor::interpret() {
 			// 0OP opcodes
 			(*this.*op0_opcodes[opcode - 0xb0])();
 
+
 		} else {
 			// VAR opcodes
 			zbyte specifier1;
diff --git a/engines/glk/frotz/windows.cpp b/engines/glk/frotz/windows.cpp
index 4f59666..cbc0682 100644
--- a/engines/glk/frotz/windows.cpp
+++ b/engines/glk/frotz/windows.cpp
@@ -130,6 +130,8 @@ void Window::setProperty(WindowProperty propType, zword value) {
 	case TRUE_FG_COLOR:
 	case TRUE_BG_COLOR:
 		_properties[propType] = value;
+		if (_win && _win->_stream)
+			_win->_stream->setZColors(_properties[TRUE_FG_COLOR], _properties[TRUE_BG_COLOR]);
 		break;
 
 	default:





More information about the Scummvm-git-logs mailing list