TODO/FIXME- document some tasks that need to be looked at later

git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@541 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
jason@long.name 2013-02-18 01:56:22 +00:00
parent 0255ae0744
commit 082d752c21
2 changed files with 12 additions and 0 deletions

8
TODO
View file

@ -2,6 +2,14 @@ Autodoze-
*Do not autodoze for roads,rails, or wire if not enough money to actually
build it
Micropolis::map[] array-
*Consider changing type from 'char' to 'short'
Simulator speeds-
*Do not change behavior of sim based on speed, i.e. crime scans
should be done every cycle, even at the high speeds.
*Do not have sprite's movement speed be dependent on speed.
Budget dialog-
*Press escape to close

View file

@ -64,6 +64,10 @@ class TrafficGen
int z = engine.trfDensity[mapY/2][mapX/2];
z += 50;
//FIXME- why is this only capped to 240
// by random chance. why is there no cap
// the rest of the time?
if (z > 240 && engine.PRNG.nextInt(6) == 0)
{
z = 240;