[Freeciv-Dev] Re: Tech cost patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
--- Juha Litola <slave@xxxxxxxxxxxx> wrote:
> Here is a patch implementing consistent tech costs.
>
> It moves tech cost functionality to tech_cost in common/tech.c.
> It introduces new game.ruleset variable tech_cost_style.
> 0 is old style, each invention increase cost by game.researchcost.
> 1 means tech costs game.researchcost*(1+numparenttechs) where
> numparenttechs is number requirement technologies counted recursively
> Each technology is only counted once.
> 2 is same as 1 but it is additionally multiplied by
> (numplayers-civswithtech)/numplayers. This is what civ3 does if
> I have understood correctly.
>
> Gtk-client is also modified to show cost of technology in
> science dialog.
>
> Comments?
1. I thought C++ - style comments are not encouraged
2. You compute numparenttech dynamically. How about doing it once and
for all and recording it in struct advance?
3. I remember someone mentioning research_leakage variable or something
like this... I cannot find it but maybe I am not looking well.
4. Will AI understand the new tech costs?
Best,
G.
>
> --
> // Juha Litola
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page from News and Sport to Email and
Music Charts
http://uk.my.yahoo.com
- [Freeciv-Dev] Re: Tech cost patch v3, (continued)
- [Freeciv-Dev] Re: Tech cost patch v3, Raimar Falke, 2001/11/28
- [Freeciv-Dev] Why not C++ style comments?, Raahul Kumar, 2001/11/29
- [Freeciv-Dev] Re: Why not C++ style comments?, Raimar Falke, 2001/11/29
- [Freeciv-Dev] C/C++ Compilers used with Freeciv, Raahul Kumar, 2001/11/29
- [Freeciv-Dev] Re: Why not C++ style comments?, Reinier Post, 2001/11/29
- [Freeciv-Dev] Re: Why not C++ style comments?, Reinier Post, 2001/11/29
- [Freeciv-Dev] Re: Why not C++ style comments?, Jules Bean, 2001/11/29
- [Freeciv-Dev] Say Yes to C++ style comments, Raahul Kumar, 2001/11/30
- [Freeciv-Dev] Re: Say Yes to C++ style comments, Daniel Sjölie, 2001/11/30
- [Freeciv-Dev] Re: Say Yes to C++ style comments, Reinier Post, 2001/11/30
[Freeciv-Dev] Re: Tech cost patch,
Gregory Berkolaiko <=
|
|