summaryrefslogtreecommitdiffstats
path: root/games/einstein/patches/09_colors.diff
diff options
context:
space:
mode:
Diffstat (limited to 'games/einstein/patches/09_colors.diff')
-rw-r--r--games/einstein/patches/09_colors.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/games/einstein/patches/09_colors.diff b/games/einstein/patches/09_colors.diff
new file mode 100644
index 0000000000..5f1ddcebc3
--- /dev/null
+++ b/games/einstein/patches/09_colors.diff
@@ -0,0 +1,22 @@
+--- ../orig/einstein-2.0.dfsg.2/descr.cpp 2007-08-31 11:02:45.000000000 +0200
++++ descr.cpp 2007-08-31 13:48:19.000000000 +0200
+@@ -11,6 +11,7 @@
+ #include "convert.h"
+ #include "utils.h"
+ #include "tokenizer.h"
++#include "storage.h"
+
+
+ #define WIDTH 600
+@@ -259,7 +260,10 @@
+ {
+ if (0 < line.length()) {
+ page->add(new Label(&font, offsetX, offsetY + curPosY,
+- 255,255,255, line, false));
++ getStorage()->get(L"text_red", 0),
++ getStorage()->get(L"text_green", 0),
++ getStorage()->get(L"text_blue", 100),
++ line, false));
+ line.clear();
+ curPosY += 10 + charHeight;
+ lineWidth = 0;