Deavid: Patch 1. Various improvements.
commit9e2bd512cd6aee2ac48909b7d0cb5e72a8605380
authorDavid Martínez Martí <deavidsedice@gmail.com>
Fri, 27 Jun 2008 13:44:03 +0000 (27 15:44 +0200)
committerDavid Martínez Martí <deavidsedice@gmail.com>
Fri, 27 Jun 2008 13:44:03 +0000 (27 15:44 +0200)
treeae1d3def06749a16d2241a007decf01bc5591292
parentfec73e6e210d03a490feb66133c3b0d5e2124e11
Deavid: Patch 1. Various improvements.

 ** Game.py **

 - g=Game_data now is global.
 - Added definitions for work unit size, node max tech level & pipes
 - some work to know when the work units were working.

 ** map_items.py **

 - Added AutoUpgradeWhenIdle Feature for nodes and pipes.
 - Added things for *_MAX_TECH_LEVEL constants

 ** network.py **

 - Changed the way that the city is created. Now it has two nodes.

 ** primitives.py **

 - Some constants tuned

 ** sound.py **

 - Limited FX to play once per second as a maximum

 ** steam_model.py **

 - Better simulation of steam model. Better precision, and less CPU usage.
code/game.py
code/map_items.py
code/network.py
code/primitives.py
code/sound.py
code/steam_model.py