URL:
  <http://gna.org/bugs/?13581>

                 Summary: [patch] city_units_upkeep (was PR#40759)
                 Project: Freeciv
            Submitted by: syntron
            Submitted on: Donnerstag 28.05.2009 um 11:36
                Category: general
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
        Operating System: None

    _______________________________________________________

Details:

calculate the upkeep for all units of a city within one function and save the
informatioon in the unit struct. Use the upkeep information there it is
needed.

This only changes the server side. The client side will follow in another
patch.

If I did not miss any place there a recalculation is needed, the function
call each turn (in ./server/cityturn.c:update_city_activities) can be
removed. Please see also the following patches for this.

kind of depends on the updated gold upkeep patch (13580)




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Donnerstag 28.05.2009 um 11:36  Name: gold1.patch.diff  Size: 14kB  
By: syntron

<http://gna.org/bugs/download.php?file_id=5821>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?13581>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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

Reply via email to