[Freeciv-Dev] [patch #2404] update debugging of upkeep calculation

2011-01-26 Thread Matthias Pfafferodt

Update of patch #2404 (project freeciv):

  Status:  Ready For Test = Done   
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/patch/?2404

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


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


[Freeciv-Dev] [patch #2404] update debugging of upkeep calculation

2011-01-24 Thread Matthias Pfafferodt

URL:
  http://gna.org/patch/?2404

 Summary: update debugging of upkeep calculation
 Project: Freeciv
Submitted by: syntron
Submitted on: Mo 24 Jan 2011 11:36:25 CET
Category: general
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: syntron
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.4.0

___

Details:

* print reachability of techs (now/ever)
* fix it for rooted techs

to see the information you have to do the following in the code
(techtools.c):

-#undef TECH_UPKEEP_DEBUGGING
+#define TECH_UPKEEP_DEBUGGING



___

File Attachments:


---
Date: Mo 24 Jan 2011 11:36:25 CET  Name:
20110124-update-debugging-of-upkeep-calculation.patch  Size: 3kB   By: syntron

http://gna.org/patch/download.php?file_id=12069

___

Reply to this item at:

  http://gna.org/patch/?2404

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


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


[Freeciv-Dev] [patch #2404] update debugging of upkeep calculation

2011-01-24 Thread Matthias Pfafferodt

Follow-up Comment #1, patch #2404 (project freeciv):

exemplary output for the experimental ruleset (tech cost style 1) with the
follwoing command:

# ./ser -d 4:techtools.c
[...]
(freeciv) rulesetdir experimmental
(freeciv) set minp 0
(freeciv) set aifill 1


4: [player 0] None  (ID:   0) cost:  0 - reachable:
yes (now) / yes (ever)
4: [player 0] Advanced Flight   (ID:   1) cost:   4303 - reachable:
no  (now) / yes (ever)
4: [player 0] Alphabet  (ID:   2) cost: 28 - reachable:
yes (now) / yes (ever)
4: [player 0] Amphibious Warfare(ID:   3) cost:   2342 - reachable:
no  (now) / yes (ever)
4: [player 0] Astronomy (ID:   4) cost:185 - reachable:
no  (now) / yes (ever)
4: [player 0] Atomic Theory (ID:   5) cost:828 - reachable:
no  (now) / yes (ever)
4: [player 0] Automobile(ID:   6) cost:   3119 - reachable:
no  (now) / yes (ever)
4: [player 0] Banking   (ID:   7) cost:316 - reachable:
no  (now) / yes (ever)
4: [player 0] Bridge Building   (ID:   8) cost:226 - reachable:
no  (now) / yes (ever)
4: [player 0] Bronze Working(ID:   9) cost: 28 - reachable:
yes (now) / yes (ever)
4: [player 0] Ceremonial Burial (ID:  10) cost: 28 - reachable:
yes (now) / yes (ever)
4: [player 0] Chemistry (ID:  11) cost:640 - reachable:
no  (now) / yes (ever)
4: [player 0] Chivalry  (ID:  12) cost:270 - reachable:
no  (now) / yes (ever)
4: [player 0] Code of Laws  (ID:  13) cost: 51 - reachable:
no  (now) / yes (ever)
4: [player 0] Combined Arms (ID:  14) cost:   4647 - reachable:
no  (now) / yes (ever)
4: [player 0] Combustion(ID:  15) cost:   2625 - reachable:
no  (now) / yes (ever)
4: [player 0] Communism (ID:  16) cost:   1895 - reachable:
no  (now) / yes (ever)
4: [player 0] Computers (ID:  17) cost:   4417 - reachable:
no  (now) / yes (ever)
4: [player 0] Conscription  (ID:  18) cost:   1402 - reachable:
no  (now) / yes (ever)
4: [player 0] Construction  (ID:  19) cost:111 - reachable:
no  (now) / yes (ever)
4: [player 0] Currency  (ID:  20) cost: 51 - reachable:
no  (now) / yes (ever)
4: [player 0] Democracy (ID:  21) cost:700 - reachable:
no  (now) / yes (ever)
4: [player 0] Economics (ID:  22) cost:700 - reachable:
no  (now) / yes (ever)
4: [player 0] Electricity   (ID:  23) cost:   1643 - reachable:
no  (now) / yes (ever)
4: [player 0] Electronics   (ID:  24) cost:   2529 - reachable:
no  (now) / yes (ever)
4: [player 0] Engineering   (ID:  25) cost:226 - reachable:
no  (now) / yes (ever)
4: [player 0] Environmentalism  (ID:  26) cost:   5361 - reachable:
no  (now) / yes (ever)
4: [player 0] Espionage (ID:  27) cost:   2070 - reachable:
no  (now) / yes (ever)
4: [player 0] Explosives(ID:  28) cost:   1250 - reachable:
no  (now) / yes (ever)
4: [player 0] Feudalism (ID:  29) cost:185 - reachable:
no  (now) / yes (ever)
4: [player 0] Flight(ID:  30) cost:   2819 - reachable:
no  (now) / yes (ever)
4: [player 0] Fusion Power  (ID:  31) cost:   4078 - reachable:
no  (now) / yes (ever)
4: [player 0] Genetic Engineering   (ID:  32) cost:   2250 - reachable:
no  (now) / yes (ever)
4: [player 0] Guerilla Warfare  (ID:  33) cost:   2918 - reachable:
no  (now) / yes (ever)
4: [player 0] Gunpowder (ID:  34) cost:640 - reachable:
no  (now) / yes (ever)
4: [player 0] Horseback Riding  (ID:  35) cost: 28 - reachable:
yes (now) / yes (ever)
4: [player 0] Industrialization (ID:  36) cost:   1726 - reachable:
no  (now) / yes (ever)
4: [player 0] Invention (ID:  37) cost:468 - reachable:
no  (now) / yes (ever)
4: [player 0] Iron Working  (ID:  38) cost: 80 - reachable:
no  (now) / yes (ever)
4: [player 0] Labor Union   (ID:  39) cost:   4303 - reachable:
no  (now) / yes (ever)
4: [player 0] Laser (ID:  40) cost:   3858 - reachable:
no  (now) / yes (ever)
4: [player 0] Leadership(ID:  41) cost:962 - reachable:
no  (now) / yes (ever)
4: [player 0] Literacy  (ID:  42) cost:111 - reachable:
no  (now) / yes (ever)
4: [player 0] Machine Tools (ID:  43) cost:   3119 - reachable:
no  (now) / yes (ever)
4: [player 0] Magnetism (ID:  44) cost:828 - reachable:
no  (now) / yes (ever)
4: [player 0] Map Making(ID:  45) cost: 51 - reachable:
no  (now) / yes (ever)
4: [player 0] Masonry   (ID:  46) cost: 28 - reachable:
yes (now) / yes (ever)
4: [player 0] Mass Production   (ID:  47) cost:   3222 - reachable:
no