Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2004:
[Freeciv-Dev] (PR#9000) fix gui-stub
Home

[Freeciv-Dev] (PR#9000) fix gui-stub

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#9000) fix gui-stub
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 15 Jun 2004 19:49:05 -0700
Reply-to: rt@xxxxxxxxxxx

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

This patch updates gui-stub and allows it to compile.

jason

Index: client/gui-stub/dialogs.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-stub/dialogs.c,v
retrieving revision 1.13
diff -u -r1.13 dialogs.c
--- client/gui-stub/dialogs.c   17 May 2004 01:29:47 -0000      1.13
+++ client/gui-stub/dialogs.c   16 Jun 2004 02:48:33 -0000
@@ -69,8 +69,7 @@
   In the nation selection dialog, make already-taken nations unavailable.
   This information is contained in the packet_nations_used packet.
 **************************************************************************/
-void races_toggles_set_sensitive(int num_nations_used,
-                                Nation_Type_id * nations_used)
+void races_toggles_set_sensitive(bool *nations_used)
 {
   /* PORTME */
 }
Index: client/gui-stub/mapview.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-stub/mapview.c,v
retrieving revision 1.43
diff -u -r1.43 mapview.c
--- client/gui-stub/mapview.c   17 May 2004 07:16:43 -0000      1.43
+++ client/gui-stub/mapview.c   16 Jun 2004 02:48:33 -0000
@@ -319,9 +319,13 @@
 }
 
 /****************************************************************************
-  Draw in information about city workers on the mapview in the given color.
+  Draw a single tile of the citymap onto the mapview.  The tile is drawn
+  as the given color with the given worker on it.  The exact method of
+  drawing is left up to the GUI.
 ****************************************************************************/
-void put_city_workers(struct city *pcity, int color)
+void put_city_worker(struct canvas *pcanvas,
+                    enum color_std color, enum city_tile_type worker,
+                    int canvas_x, int canvas_y)
 {
   /* PORTME */
 }

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#9000) fix gui-stub, Jason Short <=