[Freeciv-Dev] Re: [FreeCiv-Cvs] per: Calculate the AI's need for various
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sat, Jul 20, 2002 at 05:51:02PM -0700, freeciv@xxxxxxxxxxxxxxxxxxx wrote:
> This is an automated notification of a change to freeciv cvs,
> on Sat Jul 20 17:48:39 PDT 2002 = Sun Jul 21 00:48:40 2002 (GMT)
> by Per I. Mathisen <per@xxxxxxxxxxx>
>
> ---- Files affected:
>
> freeciv/ai advdomestic.c advdomestic.h aicity.c
> freeciv/common player.h
> freeciv/server stdinhand.c
>
> ---- Log message:
>
> Calculate the AI's need for various military buildings, instead of
> assigning them fixed values.
> + bool have_antisea = can_player_build_improvement(pplayer, B_COASTAL);
> + bool have_antiair = can_player_build_improvement(pplayer, B_SAM);
> + bool have_antinuke = can_player_build_improvement(pplayer, B_SDI);
> + bool have_antimissile = can_player_build_improvement(pplayer, B_SDI);
These are more "can_build_anti_foo". After first reading I got the
impression that we already have the given defense.
> + if (pplayers_allied(pplayer, aplayer)) continue;
Missing {}. Also in various other places.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"How about the new language C&? No, that's not 'c ampersand', 'c reference',
'reference to c' or 'c and'. It's pronounced 'campersand', to confuse the
hell out of people who are unfamiliar with it, and it will, of course,
have no pointers."
-- Xazziri in comp.lang.c++ about C#
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] Re: [FreeCiv-Cvs] per: Calculate the AI's need for various military bu...,
Raimar Falke <=
|
|