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

                 Summary: [patch] update for migration
                 Project: Freeciv
            Submitted by: syntron
            Submitted on: Samstag 06.06.2009 um 13:09
                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:

this patch updates the migration calculation

changes:

- minimum for mgr_*change is 0
- changed logic of the function calls
- score calculation is moved and only executed if
  the value of mgr_score_calc_turn (a new variable
  in the city struct) is not equal to the current
  turn
- define default values for city->migration_score
  and city->mgr_score_calc_turn

I also added information about the used equations
to http://freeciv.wikia.com/wiki/Math_of_Freeciv



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Samstag 06.06.2009 um 13:09  Name: migration.patch.diff  Size: 9kB  
By: syntron

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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