[Freeciv-Dev] Re: advdomestic.c cleanup II. (PR#1157)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Dear diary, on Sun, Dec 30, 2001 at 02:46:01AM CET, I got a letter, where
Raahul Kumar <raahul_da_man@xxxxxxxxx> told me, that...
> It's those magic numbers less than 0, 199, and 200 that need explaining. I
> certainly don't know by reading the code what the hell 199 does. A
> descriptive name would help.
199 is just 200 - 1, exactly as I said ;-) - when you want it in a different
way, maximal integer value under 200, which is magic bound I described about
five times already on the list and not going to do it once more ;-). It's used
for adjusting the desire under non-critical bound, so we won't <see comment> -
and this is then highest possible desire we can assign to it.
--
Petr "Pasky" Baudis
UN*X programmer, UN*X administrator, hobbies = IPv6, IRC, FreeCiv, (e)links
.
Firewall in a way is like the doorkeeper of a local pub. If you don't have your
I.D. on you, or if for some reason you do not qualify to enter, the doorkeeper
will not permit you to enter. In some extreme cases these doorkeepers will not
let you out, or at least give you a hard time before they finally let you out.
.
Public PGP key, geekcode and stuff: http://pasky.ji.cz/~pasky/
- [Freeciv-Dev] Re: flying AI, (continued)
- Message not available
- [Freeciv-Dev] Re: advdomestic.c cleanup II. (PR#1157), Petr Baudis, 2001/12/29
- [Freeciv-Dev] Re: advdomestic.c cleanup II. (PR#1157), Chris Richards, 2001/12/29
- [Freeciv-Dev] Re: advdomestic.c cleanup II. (PR#1157), Petr Baudis, 2001/12/29
- [Freeciv-Dev] Re: advdomestic.c cleanup II. (PR#1157), Chris Richards, 2001/12/29
- [Freeciv-Dev] Re: advdomestic.c cleanup II. (PR#1157), Petr Baudis, 2001/12/29
- [Freeciv-Dev] Re: advdomestic.c cleanup II. (PR#1157), Chris Richards, 2001/12/29
- [Freeciv-Dev] Re: advdomestic.c cleanup II. (PR#1157), Raahul Kumar, 2001/12/29
- [Freeciv-Dev] Re: advdomestic.c cleanup II. (PR#1157),
Petr Baudis <=
- [Freeciv-Dev] Re: advdomestic.c cleanup II. (PR#1157), Mike Kaufman, 2001/12/29
- [Freeciv-Dev] Re: advdomestic.c cleanup II. (PR#1157), Raahul Kumar, 2001/12/29
- Message not available
- [Freeciv-Dev] Re: advdomestic.c cleanup II. (PR#1157), Petr Baudis, 2001/12/29
- [Freeciv-Dev] Re: advdomestic.c cleanup II. (PR#1157), Raahul Kumar, 2001/12/29
- [Freeciv-Dev] Re: advdomestic.c cleanup II. (PR#1157), Petr Baudis, 2001/12/29
- [Freeciv-Dev] Re: advdomestic.c cleanup II. (PR#1157), Raahul Kumar, 2001/12/29
- [Freeciv-Dev] Re: advdomestic.c cleanup II. (PR#1157), Petr Baudis, 2001/12/30
|
|