Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Re: Pop cost patch (resending via bug system) (PR#897)
Home

[Freeciv-Dev] Re: Pop cost patch (resending via bug system) (PR#897)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Erik Sigra <sigra@xxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Pop cost patch (resending via bug system) (PR#897)
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 22 Aug 2001 08:45:36 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Wed, Aug 22, 2001 at 08:33:03AM +0200, Erik Sigra wrote:
> onsdagen den 22 augusti 2001 08:26 skrev Raimar Falke:
> > On Tue, Aug 21, 2001 at 04:44:19PM -0700, Arien Malec wrote:
> > > +enum add_to_city_status {
> > > +  ADD_OK, /* Unit OK to add to city */
> > > +  ADD_NO_MOVES, /* Unit does not have moves left */
> > > +  ADD_NOT_AT_CITY, /* Unit is not at a city */
> > > +  ADD_NOT_OWNER, /* Owner of unit is not owner of city */
> > > +  ADD_NOT_ADDABLE_UNIT, /* Unit is not one that can be added to cities
> > > */ +  ADD_TOO_BIG, /* City is too big to be added to */
> > > +  ADD_NO_AQUEDUCT, /* Adding takes city past limit for aquaduct but
> > > +               city has no aquaduct */
> > > +  ADD_NO_SEWER /* Adding takes city past limit for sewer but city
> > > +           has no sewer */
> > > +};
> 
> You mean you are going to hardcode city improvements?

The current code in can_unit_add_to_city is hardcoded. It is hardcoded
in the messages. It is hardcoded in "struct civ_game".

Please don't let the good be the enemy of the perfect.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx


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