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

[Freeciv-Dev] (PR#10470) 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#10470) fix gui-stub
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 7 Oct 2004 14:00:23 -0700
Reply-to: rt@xxxxxxxxxxx

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

This patch allows gui-stub to compile again.

jason

Index: client/gui-stub/dialogs.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-stub/dialogs.c,v
retrieving revision 1.15
diff -u -r1.15 dialogs.c
--- client/gui-stub/dialogs.c   23 Sep 2004 06:40:22 -0000      1.15
+++ client/gui-stub/dialogs.c   7 Oct 2004 20:58:36 -0000
@@ -26,7 +26,7 @@
   location.
 **************************************************************************/
 void popup_notify_goto_dialog(const char *headline, const char *lines,
-                             int map_x, int map_y)
+                             struct tile *ptile)
 {
   /* PORTME */
 }
@@ -112,7 +112,7 @@
   Popup a dialog giving a diplomatic unit some options when moving into
   the target tile.
 **************************************************************************/
-void popup_diplomat_dialog(struct unit *punit, int dest_x, int dest_y)
+void popup_diplomat_dialog(struct unit *punit, struct tile *ptile)
 {
   /* PORTME */
 }
Index: client/gui-stub/mapview.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-stub/mapview.c,v
retrieving revision 1.47
diff -u -r1.47 mapview.c
--- client/gui-stub/mapview.c   26 Jul 2004 04:05:59 -0000      1.47
+++ client/gui-stub/mapview.c   7 Oct 2004 20:58:36 -0000
@@ -331,7 +331,7 @@
 /****************************************************************************
   Draw a cross-hair overlay on a tile.
 ****************************************************************************/
-void put_cross_overlay_tile(int map_x, int map_y)
+void put_cross_overlay_tile(struct tile *ptile)
 {
   /* PORTME */
 }

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