Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] Re: [FreeCiv-Cvs] matusik: Mapgen inits all tiles to T_GRA
Home

[Freeciv-Dev] Re: [FreeCiv-Cvs] matusik: Mapgen inits all tiles to T_GRA

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [FreeCiv-Cvs] matusik: Mapgen inits all tiles to T_GRASSLAND, then...
From: Jason Dorje Short <jdorje@xxxxxxxxxxxx>
Date: Mon, 30 Aug 2004 01:19:02 -0400

freeciv@xxxxxxxxxxxxxxxxxxx wrote:
This is an automated notification of a change to freeciv cvs, on Sat Aug 28 09:50:49 PDT 2004 = Sat Aug 28 16:50:49 2004 (GMT)
by Mateusz Stefek <matusik_s@xxxxx>

---- Files affected:

freeciv/server mapgen.c

---- Log message:
      Tag: HEAD

Mapgen inits all tiles to T_GRASSLAND, then overwrites them with other
terrains. T_GRASSLAND is thus just a flag meaning
"terrain-not-placed-here". This should be T_UNKNOWN instead.

See also PR#9627. That patch has a

#define T_NOT_PLACED T_UNKNOWN

and

#define not_placed(x, y) (map_get_terrain(x, y) == T_NOT_PLACED)


Patch by Jason in PR#9797 with correction from Marcelo

To clarify, this patch was all by Marcelo (with correction from Marcelo).

jason


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: [FreeCiv-Cvs] matusik: Mapgen inits all tiles to T_GRASSLAND, then..., Jason Dorje Short <=