Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] Re: (PR#9627) PATCH: correct some parameters in map genera
Home

[Freeciv-Dev] Re: (PR#9627) PATCH: correct some parameters in map genera

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: mburda@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#9627) PATCH: correct some parameters in map generator and clean-up
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 8 Sep 2004 09:09:38 -0700
Reply-to: rt@xxxxxxxxxxx

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

Marcelo Burda wrote:

> Les fichiers freeciv/manual/civmanual et freeciv_/manual/civmanual sont 
> différents.
> diff -ruN -Xfreeciv/diff_ignore freeciv/server/mapgen.c 
> freeciv_/server/mapgen.c
> --- freeciv/server/mapgen.c   2004-09-08 09:45:36.744334760 +0200
> +++ freeciv_/server/mapgen.c  2004-09-08 09:51:49.449674936 +0200
> @@ -34,10 +34,10 @@
>  #include "mapgen.h"
>  
>  /* Old-style terrain enumeration: deprecated. */
> -enum {
> +typedef enum {
>    T_ARCTIC, T_DESERT, T_FOREST, T_GRASSLAND, T_HILLS, T_JUNGLE,
>    T_MOUNTAINS, T_OCEAN, T_PLAINS, T_SWAMP, T_TUNDRA,
> -};
> +} tile_terrain_type;

Don't do this!  Just use Terrain_type_id.

jason




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