Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] (PR#9444) remove put_one_tile_full
Home

[Freeciv-Dev] (PR#9444) remove put_one_tile_full

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#9444) remove put_one_tile_full
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 20 Jul 2004 10:34:32 -0700
Reply-to: rt@xxxxxxxxxxx

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

This patch removes put_one_tile_full from gtk, gtk2, and win32 clients. 
  This function is no longer used (and is equivalent to 
pixmap_put_tile_iso).

jason

Index: client/gui-gtk/mapview.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk/mapview.c,v
retrieving revision 1.226
diff -u -r1.226 mapview.c
--- client/gui-gtk/mapview.c    20 Jul 2004 17:17:49 -0000      1.226
+++ client/gui-gtk/mapview.c    20 Jul 2004 17:33:38 -0000
@@ -388,15 +388,6 @@
 }
 
 /**************************************************************************
-Only used for isometric view.
-**************************************************************************/
-void put_one_tile_full(GdkDrawable *pm, int x, int y,
-                      int canvas_x, int canvas_y, int citymode)
-{
-  pixmap_put_tile_iso(pm, x, y, canvas_x, canvas_y, citymode);
-}
-
-/**************************************************************************
   Draw some or all of a tile onto the canvas.
 **************************************************************************/
 void put_one_tile_iso(struct canvas *pcanvas,
Index: client/gui-gtk/mapview.h
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk/mapview.h,v
retrieving revision 1.27
diff -u -r1.27 mapview.h
--- client/gui-gtk/mapview.h    30 Mar 2004 02:01:27 -0000      1.27
+++ client/gui-gtk/mapview.h    20 Jul 2004 17:33:38 -0000
@@ -33,8 +33,6 @@
 void put_unit_gpixmap(struct unit *punit, GtkPixcomm *p);
 
 void put_unit_gpixmap_city_overlays(struct unit *punit, GtkPixcomm *p);
-void put_one_tile_full(GdkDrawable *pm, int x, int y,
-                      int canvas_x, int canvas_y, int citymode);
 
 void scrollbar_jump_callback(GtkAdjustment *adj, gpointer hscrollbar);
 void update_map_canvas_scrollbars_size(void);
Index: client/gui-gtk-2.0/mapview.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/mapview.c,v
retrieving revision 1.132
diff -u -r1.132 mapview.c
--- client/gui-gtk-2.0/mapview.c        20 Jul 2004 17:17:50 -0000      1.132
+++ client/gui-gtk-2.0/mapview.c        20 Jul 2004 17:33:38 -0000
@@ -404,15 +404,6 @@
 }
 
 /**************************************************************************
-Only used for isometric view.
-**************************************************************************/
-void put_one_tile_full(GdkDrawable *pm, int x, int y,
-                      int canvas_x, int canvas_y, int citymode)
-{
-  pixmap_put_tile_iso(pm, x, y, canvas_x, canvas_y, citymode);
-}
-
-/**************************************************************************
   Draw some or all of a tile onto the canvas.
 **************************************************************************/
 void put_one_tile_iso(struct canvas *pcanvas,
Index: client/gui-gtk-2.0/mapview.h
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/mapview.h,v
retrieving revision 1.17
diff -u -r1.17 mapview.h
--- client/gui-gtk-2.0/mapview.h        30 Mar 2004 02:01:27 -0000      1.17
+++ client/gui-gtk-2.0/mapview.h        20 Jul 2004 17:33:38 -0000
@@ -36,8 +36,6 @@
 void put_unit_gpixmap(struct unit *punit, GtkPixcomm *p);
 
 void put_unit_gpixmap_city_overlays(struct unit *punit, GtkPixcomm *p);
-void put_one_tile_full(GdkDrawable *pm, int x, int y,
-                      int canvas_x, int canvas_y, int citymode);
 
 void scrollbar_jump_callback(GtkAdjustment *adj, gpointer hscrollbar);
 void update_map_canvas_scrollbars_size(void);
Index: client/gui-win32/mapview.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-win32/mapview.c,v
retrieving revision 1.126
diff -u -r1.126 mapview.c
--- client/gui-win32/mapview.c  20 Jul 2004 17:17:50 -0000      1.126
+++ client/gui-win32/mapview.c  20 Jul 2004 17:33:39 -0000
@@ -62,8 +62,6 @@
 extern int seconds_to_turndone;   
 void update_map_canvas_scrollbars_size(void);
 void refresh_overview_viewrect_real(HDC hdcp);
-void put_one_tile_full(HDC hdc, int x, int y,
-                             int canvas_x, int canvas_y, int citymode);
 static void pixmap_put_tile_iso(HDC hdc, int x, int y,
                                 int canvas_x, int canvas_y,
                                 int citymode);
@@ -752,15 +750,6 @@
 }
 
 /**************************************************************************
-Only used for isometric view.
-**************************************************************************/
-void put_one_tile_full(HDC hdc, int x, int y,
-                       int canvas_x, int canvas_y, int citymode)
-{
-  pixmap_put_tile_iso(hdc, x, y, canvas_x, canvas_y, citymode);
-}
-
-/**************************************************************************
   Draw some or all of a tile onto the canvas.
 **************************************************************************/
 void put_one_tile_iso(struct canvas *pcanvas,
Index: client/gui-win32/mapview.h
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-win32/mapview.h,v
retrieving revision 1.15
diff -u -r1.15 mapview.h
--- client/gui-win32/mapview.h  17 Mar 2004 09:10:57 -0000      1.15
+++ client/gui-win32/mapview.h  20 Jul 2004 17:33:39 -0000
@@ -15,8 +15,6 @@
 
 #include "mapview_g.h"
 
-void put_one_tile_full(HDC hdc, int x, int y,
-                      int canvas_x, int canvas_y, int citymode);
 void check_mapstore(void);
 void map_resize(void);
 void init_map_win(void);

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#9444) remove put_one_tile_full, Jason Short <=