On 31 December 2012 22:41, slawomir lach <sla...@lach.art.pl> wrote:
>
> Where can I find code to turn support(for example calculate science
> output for given player)?

 Main loop is in srv_main.c:srv_running(). There are calls to
 begin_turn()
    begin_phase()
    end_phase()
 end_turn()

 Science output is calculated in cityturn.c:city_refresh(), and added
for player in cityturn.c:update_city_activity() (city_refresh() +
update_bulbs(pplayer...))


 - ML

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

Reply via email to