Sat Dec 31 10:01:11 2016 UTC ()
Fix message display color. PKGREVISION -> 11
(dholland)
diff -r1.14 -r1.15 pkgsrc/games/qonk/Makefile
diff -r1.4 -r1.5 pkgsrc/games/qonk/distinfo
diff -r0 -r1.1 pkgsrc/games/qonk/patches/patch-src_messages.cpp
--- pkgsrc/games/qonk/Makefile 2016/12/13 19:17:42 1.14
+++ pkgsrc/games/qonk/Makefile 2016/12/31 10:01:11 1.15
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2016/12/13 19:17:42 dholland Exp $
+# $NetBSD: Makefile,v 1.15 2016/12/31 10:01:11 dholland Exp $
#
DISTNAME= qonk-0.3.1
-PKGREVISION= 10
+PKGREVISION= 11
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qonk/}
--- pkgsrc/games/qonk/distinfo 2015/11/03 20:57:02 1.4
+++ pkgsrc/games/qonk/distinfo 2016/12/31 10:01:11 1.5
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2015/11/03 20:57:02 agc Exp $
+$NetBSD: distinfo,v 1.5 2016/12/31 10:01:11 dholland Exp $
SHA1 (qonk-0.3.1.tar.gz) = 703fc8282642ff20986c9a395dc6626d4b087ed9
RMD160 (qonk-0.3.1.tar.gz) = 6ed1ad1fb67cea6677d39d1201da1eca9ea4479b
@@ -20,4 +20,5 @@
SHA1 (patch-src_lisp_lexer.cpp) = 3bc2da31dbb72487a96655d0494083a357c10a28
SHA1 (patch-src_lisp_lisp_cpp) = 4dfa6c287a221c38348531ef5bceb55d7d20f872
SHA1 (patch-src_lisp_parser.cpp) = 4cafcda558d3b4a1bc0efb1ecbad55f045b58532
+SHA1 (patch-src_messages.cpp) = b8a5a4c37c2e12da57def85184344ed7fb79dda8
SHA1 (patch-src_sdl__driver.cpp) = 338a2aa7fa17761ff88d088cdd701be8d7c5fedf
$NetBSD: patch-src_messages.cpp,v 1.1 2016/12/31 10:01:11 dholland Exp $
Fix display color of (some) messages.
--- src/messages.cpp.orig 2007-09-14 05:43:03.000000000 +0000
+++ src/messages.cpp
@@ -21,8 +21,8 @@ Message::Message( Uint32 time, string me
Message::Message( Uint32 time, string message, Uint32 displayTime, Uint32 color ) {
this->message = string( "[" ) + Timer::getTimeMMSS(time) + "] " + message;
this->displayTime = displayTime;
- this->r = getGreen( color );
- this->g = getRed( color );
+ this->r = getRed( color );
+ this->g = getGreen( color );
this->b = getBlue( color );
}
@@ -37,8 +37,8 @@ Message::Message( Uint32 time, string me
Message::Message( Uint32 time, string message, Uint32 color ) {
this->message = string( "[" ) + Timer::getTimeMMSS(time) + "] " + message;
this->displayTime = 10000;
- this->r = getGreen( color );
- this->g = getRed( color );
+ this->r = getRed( color );
+ this->g = getGreen( color );
this->b = getBlue( color );
}