Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2005:
[Freeciv-Dev] Re: (PR#12546) Divide handicaps to real handicaps and chea
Home

[Freeciv-Dev] Re: (PR#12546) Divide handicaps to real handicaps and chea

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: marko.lindqvist@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#12546) Divide handicaps to real handicaps and cheats
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Sat, 19 Mar 2005 06:40:16 -0800
Reply-to: bugs@xxxxxxxxxxx

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

On Sat, 19 Mar 2005, Marko Lindqvist wrote:
> Handicaps need cleanup.
>
> Currently some handicaps really are handicaps (relative to rules) and
> some are cheats. It's not always clear if given 'handicap' is positive
> or negative thing to have. For more self documenting code there should
> be separate ai_handicap() and ai_cheat() functions.
> Further, ai_handicap() currently returns TRUE for human players. For
> some (current) handicaps this is ok, for some it's wrong. So sometimes
> it's callers responsibility to check that human players are handled
> correctly, sometimes caller can rely on ai_handicap() return value.

I am thinking this should be done simultaneously or after adding player
effects.

  - Per





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