jason@long.name
000036c303
tile animation: cleanup, remove obsolete ANIMBIT constant
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@737 d9718cc8-9f43-0410-858b-315f434eb58c
2013-07-17 20:59:06 +00:00
jason@long.name
6406c12c14
TileConstants: implement isCombustible()
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@725 d9718cc8-9f43-0410-858b-315f434eb58c
2013-07-07 13:16:54 +00:00
jason@long.name
873caa361b
cleanup: move tile value comparisons into TileConstants class
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@688 d9718cc8-9f43-0410-858b-315f434eb58c
2013-05-28 01:55:58 +00:00
jason@long.name
f5e1793592
cleanup: move res/com/ind Zone Pop() functions to TileConstants
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@687 d9718cc8-9f43-0410-858b-315f434eb58c
2013-05-28 01:55:49 +00:00
jason@long.name
25751e73c4
cleanup: do not refetch the tile value when a property exists having it
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@686 d9718cc8-9f43-0410-858b-315f434eb58c
2013-05-28 01:55:41 +00:00
jason@long.name
cd7537768d
road/rail deteriation: use isOverWater() instead of hard-coded numbers
...
Note- this will allow deteriation of bridges even when there is
traffic. This is a change from previous versions.
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@685 d9718cc8-9f43-0410-858b-315f434eb58c
2013-05-28 01:55:33 +00:00
jason@long.name
9ff3e14eb5
cleanup: avoid comparisons with tile constants
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@681 d9718cc8-9f43-0410-858b-315f434eb58c
2013-05-28 01:55:00 +00:00
jason@long.name
906a0c4570
tiles: helper function- isTinyExplosion
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@680 d9718cc8-9f43-0410-858b-315f434eb58c
2013-05-28 01:52:36 +00:00
jason@long.name
6794888026
tiles: helper functions- isFire, isRadioactive, isFlood
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@679 d9718cc8-9f43-0410-858b-315f434eb58c
2013-05-28 01:52:27 +00:00
jason@long.name
32d23d16bd
cleanup: use new isZoneCenter() check instead of testing for ZONEBIT flag
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@617 d9718cc8-9f43-0410-858b-315f434eb58c
2013-05-05 18:52:28 +00:00
jason@long.name
344c34c039
TODO- document a potential bug that needs reviewed some day
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@596 d9718cc8-9f43-0410-858b-315f434eb58c
2013-03-18 22:29:45 +00:00
jason@long.name
d9d42b1af2
cleanup: change Animate.Smoke.AniThis to a boolean array
...
since it only holds true/false values
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@571 d9718cc8-9f43-0410-858b-315f434eb58c
2013-02-23 12:53:57 +00:00
jason@long.name
84fa05500b
javadocs: explain a little more about draw bridges
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@570 d9718cc8-9f43-0410-858b-315f434eb58c
2013-02-23 12:53:51 +00:00
jason@long.name
4158265409
cleanup: make macros isRoad and isRail to test for those tile types
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@569 d9718cc8-9f43-0410-858b-315f434eb58c
2013-02-23 12:53:44 +00:00
jason@long.name
89d6839101
cleanup: rename fireZone to killZone
...
since the function is not about setting fire to a zone,
rather it is about nullifying the ability of the zone
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@568 d9718cc8-9f43-0410-858b-315f434eb58c
2013-02-20 02:05:04 +00:00
jason@long.name
aadacd9210
coalplant- do not eliminate fire when animating smoke
...
This changes the behavior of a coal plant on fire.
Previously, if the smoke tiles were on fire when the coal plant
is activated, the coalSmoke() function would replace the fire tiles
with the animated smoke.
Now, the animated smoke tiles are only set when the tiles are
the original coal plant tiles. Fire needs to burn itself out,
the rubble must be bulldozed, then the plant must call repairZone()
for itself, and only then will the animated smoke be added back in.
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@566 d9718cc8-9f43-0410-858b-315f434eb58c
2013-02-20 02:04:51 +00:00
jason@long.name
41e1321edc
javadoc: fix typo that prevented docs for setSmoke() from being parsed
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@561 d9718cc8-9f43-0410-858b-315f434eb58c
2013-02-18 02:43:08 +00:00
jason@long.name
908ff0b5a1
cleanup: drawStadium: use xpos,ypos properties instead of function arguments
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@558 d9718cc8-9f43-0410-858b-315f434eb58c
2013-02-18 01:58:21 +00:00
jason@long.name
8614e6ff0e
cleanup: rename incrementROG to adjustROG and document it
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@557 d9718cc8-9f43-0410-858b-315f434eb58c
2013-02-18 01:58:15 +00:00
jason@long.name
c48abf0bca
cleanup: coalSmoke: use xpos,ypos properties instead of function arguments
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@556 d9718cc8-9f43-0410-858b-315f434eb58c
2013-02-18 01:58:08 +00:00
jason@long.name
8e9902ef64
cleanup: getCRValue: document and use xpos,ypos properties
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@555 d9718cc8-9f43-0410-858b-315f434eb58c
2013-02-18 01:58:01 +00:00
jason@long.name
ae95b98980
cleanup: evalResidential, etc: use xpos,ypos properties instead of arguments
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@554 d9718cc8-9f43-0410-858b-315f434eb58c
2013-02-18 01:57:54 +00:00
jason@long.name
52365e4c35
cleanup: zonePlop: use xpos,ypos properties instead of parameters
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@553 d9718cc8-9f43-0410-858b-315f434eb58c
2013-02-18 01:57:48 +00:00
jason@long.name
8572c30c60
cleanup: comPlop,indPlop,residentialPlop: use xpos,ypos properties
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@552 d9718cc8-9f43-0410-858b-315f434eb58c
2013-02-18 01:57:41 +00:00
jason@long.name
d2066409b9
cleanup: make buildHouse() use xpos,ypos properties not parameters
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@551 d9718cc8-9f43-0410-858b-315f434eb58c
2013-02-18 01:57:35 +00:00
jason@long.name
deb9738b6f
cleanup: repairZone: use zoneBase variable to place tiles
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@550 d9718cc8-9f43-0410-858b-315f434eb58c
2013-02-18 01:57:27 +00:00
jason@long.name
de8b27d10a
cleanup: repairZone should use xpos,ypos properties
...
instead of using function parameters
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@549 d9718cc8-9f43-0410-858b-315f434eb58c
2013-02-18 01:57:21 +00:00
jason@long.name
889676d9e2
cleanup: doCommericial, doIndustrial, use xpos,ypos properties
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@548 d9718cc8-9f43-0410-858b-315f434eb58c
2013-02-18 01:57:11 +00:00
jason@long.name
273620b6c5
cleanup: doResidential{In,Out} use xpos,ypos properties
...
instead of having them be passed in as parameters
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@547 d9718cc8-9f43-0410-858b-315f434eb58c
2013-02-18 01:57:04 +00:00
jason@long.name
e2c1a7eb6a
cleanup: setSmoke should use xpos,ypos properties
...
instead of requiring them to be passed in as parameters
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@546 d9718cc8-9f43-0410-858b-315f434eb58c
2013-02-18 01:56:54 +00:00
jason@long.name
feb04ae09a
javadocs: document methods in the MapScanner class
...
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@542 d9718cc8-9f43-0410-858b-315f434eb58c
2013-02-18 01:56:29 +00:00
jason@long.name
ed6795dfca
Importing source code for MicropolisJ, the Java rewrite of Micropolis.
...
This edition of Micropolis, written for the Java desktop platform,
is fairly feature complete. I believe the only missing functionality
is that of loading the built-in scenarios, and this can be implemented
if there is any demand for it.
I will soon update the home page at http://code.google.com/p/micropolis/
with downloadable packages of this edition of the software.
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@528 d9718cc8-9f43-0410-858b-315f434eb58c
2013-02-14 21:02:42 +00:00