jason@long.name
|
4c623c92c3
|
MakeTiles: impl generation of different-sized tiles
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@734 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-07-17 20:30:36 +00:00 |
|
jason@long.name
|
3859ca16d7
|
tile animation: animation is now controlled by tiles.rc
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@732 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-07-17 20:11:54 +00:00 |
|
jason@long.name
|
cf6fce279c
|
tiles.rc: rename tiles.dat to tiles.rc, bring TileSpec into main program
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@730 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-07-17 20:11:47 +00:00 |
|
jason@long.name
|
2cef8e368a
|
tiles.rc: revise syntax of tile specification
changed my mind on tile specification syntax
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@728 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-07-17 19:58:14 +00:00 |
|
jason@long.name
|
153e0e48f5
|
tiles.rc: impl TileSpec class for reading tile specification
and rewrite MakeTiles to use the TileSpec class
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@727 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-07-17 19:58:02 +00:00 |
|
jason@long.name
|
8793847415
|
TileConstants: simplify logic in isBridge()
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@726 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-07-07 14:11:02 +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
|
94dc4ea7be
|
timers: try to be more disciplined about starting/stopping the timer
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@724 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-07-05 12:49:40 +00:00 |
|
jason@long.name
|
158e85a784
|
graphics: tile recipe now parsed using Java properties format
This replaces the custom parser with the standard Java properties
parser, which has more features.
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@720 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-06-29 17:55:11 +00:00 |
|
jason@long.name
|
a560ccd1dd
|
graphics: include RearrangeTiles.java (another utility script I wrote)
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@716 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-06-26 22:12:03 +00:00 |
|
jason@long.name
|
4fdc4fb34f
|
graphics: move "MakeTiles" program into src/ directory
(but do not include it in the generated jar file)
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@714 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-06-26 22:11:38 +00:00 |
|
jason@long.name
|
f7c8cb53e2
|
gui: change layout of new-city-dialog to work with wider dialog
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@691 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-06-15 12:41:54 +00:00 |
|
jason@long.name
|
3138b04741
|
translation tool: if language already has translated strings, load them
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@690 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-06-15 12:41:46 +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
|
c272e200bf
|
cleanup: isOverWater() should neutralize traffic, not the caller
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@684 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-28 01:55:25 +00:00 |
|
jason@long.name
|
599ea026f3
|
cleanup: move neutralizeRoad() to TileConstants
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@683 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-28 01:55:17 +00:00 |
|
jason@long.name
|
e2fd24ff10
|
tiles: document the underwater railroad tiles
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@682 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-28 01:55:08 +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
|
f3af16e2e4
|
rail tool: fix bug where laying rail on moving traffic did not work
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@673 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-22 11:33:09 +00:00 |
|
jason@long.name
|
682c9964a5
|
translation-tool: allow Test to work even if java not in path
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@672 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-21 13:37:44 +00:00 |
|
jason@long.name
|
88fc2ae4bb
|
translation-tool: make Submit button show submission instructions
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@671 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-21 13:31:03 +00:00 |
|
jason@long.name
|
a9eaa3021e
|
translation-tool: remove Save btn; instead, auto-save when needed
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@670 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-21 13:30:47 +00:00 |
|
jason@long.name
|
5fddf1d8f1
|
translation-tool: do not allow removing/testing the "C" locale
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@669 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-21 13:30:31 +00:00 |
|
jason@long.name
|
74bc9593b3
|
translation-tool: code for removing locale from tool
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@668 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-21 13:30:15 +00:00 |
|
jason@long.name
|
4f728f229f
|
translation-tool: move StringsModel to separate file
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@667 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-21 13:29:58 +00:00 |
|
jason@long.name
|
88e9186ca1
|
translation-tool: allow running from any working directory
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@666 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-21 13:29:42 +00:00 |
|
jason@long.name
|
ac980de693
|
translation-tool: save working files in user's home directory
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@665 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-21 13:29:26 +00:00 |
|
jason@long.name
|
11a5489fb7
|
translation-tool: abstract the table to a separate class
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@664 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-21 13:29:08 +00:00 |
|
jason@long.name
|
d8a0c8fe45
|
translation-tool: stubs for additional buttons
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@663 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-21 13:28:52 +00:00 |
|
jason@long.name
|
99756b5d0a
|
translations: merge in my older work on the translation tool
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@662 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-21 13:28:32 +00:00 |
|
jason@long.name
|
30a5b6d53c
|
TranslationTool: add a 'Test' button to launch Micropolis with translated strings
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@661 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-21 13:28:14 +00:00 |
|
jason@long.name
|
8f67c73383
|
TranslationTool: now able to load/save strings files
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@660 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-21 13:27:57 +00:00 |
|
jason@long.name
|
b99acad675
|
start of new tool: TranslationTool, for working on strings
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@659 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-21 13:27:42 +00:00 |
|
jason@long.name
|
237b28ebe7
|
translations: add menu item for launching translation tool
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@658 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-21 13:27:23 +00:00 |
|
jason@long.name
|
b20a0f7e77
|
error_popop: added a button for Exiting the program altogether
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@657 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-20 16:12:25 +00:00 |
|
jason@long.name
|
78934b9961
|
error_popup: protect all mouse events from unexpected errors
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@656 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-20 16:12:10 +00:00 |
|
jason@long.name
|
3abbc599f2
|
error_popup: protect all menu items from unexpected errors
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@655 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-20 16:11:53 +00:00 |
|
jason@long.name
|
dce768ef45
|
toolstroke: fix bug in the bounds checking
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@653 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-17 16:47:32 +00:00 |
|
jason@long.name
|
6de75a7947
|
error_popup: show an error message window when simulator crashes
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@652 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-17 11:26:56 +00:00 |
|
jason@long.name
|
4e27a04cc3
|
tiles: CLEAR is not doze-able
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@651 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-17 01:16:06 +00:00 |
|
jason@long.name
|
aacddfa6ef
|
tiles: CLEAR is not a zone-center
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@650 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:46:46 +00:00 |
|
jason@long.name
|
66fc6f58d2
|
toolstroke: actually make sounds when tool is applied
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@649 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:46:33 +00:00 |
|
jason@long.name
|
09932e0f5d
|
toolstroke: suppress auto budget window when mouse is held down
as soon as mouse is released, show the budget window
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@648 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:46:21 +00:00 |
|
jason@long.name
|
47fdf7c3c2
|
toolstroke: do not pick random numbers when generating a tool preview
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@647 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:46:09 +00:00 |
|
jason@long.name
|
59c5547e87
|
toolstroke: fix bulldozer bug introduced by previous commit
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@646 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:45:59 +00:00 |
|