[Scummvm-cvs-logs] scummvm master -> 54a3e3aa5171a5f7182b3f1f87133f7224656f41

Strangerke Strangerke at scummvm.org
Fri Jun 3 22:49:02 CEST 2011


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:
54a3e3aa51 TSAGE: Fix font color in GfxMessage(), in later versions of the engine (like the CD version of ringworld)


Commit: 54a3e3aa5171a5f7182b3f1f87133f7224656f41
    https://github.com/scummvm/scummvm/commit/54a3e3aa5171a5f7182b3f1f87133f7224656f41
Author: Strangerke (strangerke at scummvm.org)
Date: 2011-06-03T13:47:27-07:00

Commit Message:
TSAGE: Fix font color in GfxMessage(), in later versions of the engine (like the CD version of ringworld)

Changed paths:
    engines/tsage/graphics.cpp



diff --git a/engines/tsage/graphics.cpp b/engines/tsage/graphics.cpp
index f69d243..d3c0d9b 100644
--- a/engines/tsage/graphics.cpp
+++ b/engines/tsage/graphics.cpp
@@ -786,7 +786,10 @@ void GfxMessage::draw() {
 	// Set the font and color
 	gfxManager.setFillFlag(false);
 	gfxManager._font.setFontNumber(_fontNumber);
-	gfxManager._font._colors.foreground = this->_colors.foreground;
+
+	gfxManager._font._colors.foreground = this->_unkColor1;
+	gfxManager._font._colors2.background = this->_unkColor2;
+	gfxManager._font._colors2.foreground = this->_unkColor3;
 
 	// Display the text
 	gfxManager._font.writeLines(_message.c_str(), _bounds, _textAlign);






More information about the Scummvm-git-logs mailing list