<URL: http://bugs.freeciv.org/Ticket/Display.html?id=37436 >

> [EMAIL PROTECTED] - Sat Mar 03 21:50:23 2007]:
> 
> On 3/3/07, Per I. Mathisen <[EMAIL PROTECTED]> wrote:
> >
> > On Sat, 3 Mar 2007, Marko Lindqvist wrote:
> > > Remove hardcoded unit type flag requirements for building base.
> > > Instead ruleset defined "UnitFlag" requirements are used. As flag
> > > "Airbase" no longer has any hardcoded behavior, it is renamed as
> > > "User1".
> >
> > That makes no sense to me. User1?
> 
>  Flag behavior is completely defined by user (ruleset author). It is
> given to unit only for matching UnitFlag req.
> 
>  Do you have better naming convention for such flags? I think we
> should provide several such flags in the future.

How about allowing for ruleset definable flag names? That would make the
rulesets more readable when doing this kind of stuff and not require
changing the source code to add just one more ruleset specific flag.

---
Vasco Alexandre da Silva Costa


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to