From 082d752c21faaf9f9e365238a4843e5ebddef002 Mon Sep 17 00:00:00 2001 From: "jason@long.name" Date: Mon, 18 Feb 2013 01:56:22 +0000 Subject: [PATCH] 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 --- TODO | 8 ++++++++ src/micropolisj/engine/TrafficGen.java | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/TODO b/TODO index f413969..c0ea622 100644 --- a/TODO +++ b/TODO @@ -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 diff --git a/src/micropolisj/engine/TrafficGen.java b/src/micropolisj/engine/TrafficGen.java index bbace53..48f0df4 100644 --- a/src/micropolisj/engine/TrafficGen.java +++ b/src/micropolisj/engine/TrafficGen.java @@ -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;