[Scummvm-cvs-logs] SF.net SVN: scummvm: [30230] scummvm/trunk/engines/lure/hotspots.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Sat Jan 5 11:37:36 CET 2008
Revision: 30230
http://scummvm.svn.sourceforge.net/scummvm/?rev=30230&view=rev
Author: dreammaster
Date: 2008-01-05 02:37:36 -0800 (Sat, 05 Jan 2008)
Log Message:
-----------
Fix to use correct EGA/VGA colour when displaying talk conversation options
Modified Paths:
--------------
scummvm/trunk/engines/lure/hotspots.cpp
Modified: scummvm/trunk/engines/lure/hotspots.cpp
===================================================================
--- scummvm/trunk/engines/lure/hotspots.cpp 2008-01-05 10:36:36 UTC (rev 30229)
+++ scummvm/trunk/engines/lure/hotspots.cpp 2008-01-05 10:37:36 UTC (rev 30230)
@@ -3375,8 +3375,9 @@
screen.screen().fillRect(r, 0);
// Display line
- byte colour = (lineNum+1 == selectedLine) ?
- DIALOG_WHITE_COLOUR : DIALOG_TEXT_COLOUR;
+ byte colour = LureEngine::getReference().isEGA() ?
+ ((lineNum + 1 == selectedLine) ? EGA_DIALOG_WHITE_COLOUR : EGA_DIALOG_TEXT_COLOUR) :
+ ((lineNum + 1 == selectedLine) ? VGA_DIALOG_WHITE_COLOUR : VGA_DIALOG_TEXT_COLOUR);
screen.screen().writeString(r.left, r.top, buffer, false, colour);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list