Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2004:
[Freeciv-Dev] (PR#11080) FOW BUG
Home

[Freeciv-Dev] (PR#11080) FOW BUG

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Watershape@xxxxxxx
Subject: [Freeciv-Dev] (PR#11080) FOW BUG
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 19 Nov 2004 14:19:56 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=11080 >

Try out this patch.

This is just a stab in the dark.

jason

? diff
Index: client/gui-gtk-2.0/gui_main.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/gui_main.c,v
retrieving revision 1.81.2.10
diff -u -r1.81.2.10 gui_main.c
--- client/gui-gtk-2.0/gui_main.c       14 Nov 2004 16:48:21 -0000      
1.81.2.10
+++ client/gui-gtk-2.0/gui_main.c       19 Nov 2004 22:19:30 -0000
@@ -1124,13 +1124,13 @@
   gdk_gc_set_fill(fill_tile_gc, GDK_STIPPLED);
 
   {
-    unsigned char d1[] = {0x03, 0x0c, 0x03, 0x0c};
-    unsigned char d2[] = {0x08, 0x02, 0x08, 0x02};
+    unsigned char d1[] = {0x33, 0xcc, 0x33, 0xcc};
+    unsigned char d2[] = {0x88, 0x22, 0x88, 0x22};
     unsigned char d3[] = {0xAA, 0x55, 0xAA, 0x55};
 
-    gray50 = gdk_bitmap_create_from_data(root_window, d1, 4, 4);
-    gray25 = gdk_bitmap_create_from_data(root_window, d2, 4, 4);
-    black50 = gdk_bitmap_create_from_data(root_window, d3, 4, 4);
+    gray50 = gdk_bitmap_create_from_data(root_window, d1, 8, 4);
+    gray25 = gdk_bitmap_create_from_data(root_window, d2, 8, 4);
+    black50 = gdk_bitmap_create_from_data(root_window, d3, 8, 4);
   }
 
   {

[Prev in Thread] Current Thread [Next in Thread]