train-sprite: use constants

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@902 d9718cc8-9f43-0410-858b-315f434eb58c
tiles.rc: dynamically determine number of tiles

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@903 d9718cc8-9f43-0410-858b-315f434eb58c
tiles: keep a mapping of tile names to the tile spec

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@904 d9718cc8-9f43-0410-858b-315f434eb58c
refactor: make TileSpec do its own reference resolving

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@905 d9718cc8-9f43-0410-858b-315f434eb58c
tiles: parse 'building' attribute at initialize time

rather than per-use

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@906 d9718cc8-9f43-0410-858b-315f434eb58c
graphics: begin work on making source images for 3x3px tile array

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@907 d9718cc8-9f43-0410-858b-315f434eb58c
graphics: more 3x3px source images

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@908 d9718cc8-9f43-0410-858b-315f434eb58c
graphics: 3x3px versions of the road/traffic graphics

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@909 d9718cc8-9f43-0410-858b-315f434eb58c
graphics: use generated 3x3px tile array

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@910 d9718cc8-9f43-0410-858b-315f434eb58c
overlay-map: remove upper tile number limit

also- refactor a for-loop into a separate method to avoid having
code indented too far

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@911 d9718cc8-9f43-0410-858b-315f434eb58c
tornado: add logic for when tornado runs out of steam

This is code from the original C/C++ release, modified to fix
what I perceived as a bug. After the tornado runs for 200 ticks,
there is a 0.2% chance of termination each tick.

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@912 d9718cc8-9f43-0410-858b-315f434eb58c
tools: define size/cost of tool as regular properties of the tool

rather than using a giant switch block to determine size/cost

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@913 d9718cc8-9f43-0410-858b-315f434eb58c
tools: define default tool colors

so that colors do not need to be explicitly specified every time
a new tool is defined.

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@914 d9718cc8-9f43-0410-858b-315f434eb58c
tools: make translation strings optional for tools

If a translation string is not defined for the tool name, icon name,
or tool description, then an automatic string is generated.

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@915 d9718cc8-9f43-0410-858b-315f434eb58c
update TODO file

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@917 d9718cc8-9f43-0410-858b-315f434eb58c
docs: add inline documentation for various Sprite classes

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@918 d9718cc8-9f43-0410-858b-315f434eb58c
docs: document the Tiles class

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@919 d9718cc8-9f43-0410-858b-315f434eb58c
docs: document the CityRect class

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@920 d9718cc8-9f43-0410-858b-315f434eb58c
TODO file- document where to find original Scenario stuff
tiles: add name property to spec