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 |
|
jason@long.name
|
52794b9c25
|
toolstroke: show the tool's effect as a preview when mouse is down
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@645 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:45:35 +00:00 |
|
jason@long.name
|
d0a6bb2303
|
toolstroke: uniform mechanism for keeping tool cursor updated
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@644 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:45:25 +00:00 |
|
jason@long.name
|
082e05f63c
|
toolstroke: fix how tool results are reported
also, fix query tool functionality
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@643 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:45:13 +00:00 |
|
jason@long.name
|
1b19af8057
|
toolstroke: add sound support for tooleffect class
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@642 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:44:54 +00:00 |
|
jason@long.name
|
4d3649884d
|
toolstroke: convert apply1 method
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@641 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:44:44 +00:00 |
|
jason@long.name
|
8c5d7c1ba8
|
toolstroke: replace apply3x3, etc. functions with generic applyZone()
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@640 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:44:35 +00:00 |
|
jason@long.name
|
422a6e96f9
|
toolstroke: convert RoadLikeTool completely to use ToolEffect
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@639 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:44:28 +00:00 |
|
jason@long.name
|
90ab295364
|
toolstroke: layWire, layRail: convert to ToolEffect
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@638 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:44:20 +00:00 |
|
jason@long.name
|
81bc4319b3
|
toolstroke: layRoad: convert to use ToolEffect
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@637 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:44:12 +00:00 |
|
jason@long.name
|
5c85cd0a64
|
toolstroke: continue refactoring for ToolEffect
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@636 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:44:03 +00:00 |
|
jason@long.name
|
5b5e278393
|
toolstroke: apply ToolEffect-conversion to fixZone()
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@635 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:43:46 +00:00 |
|
jason@long.name
|
c9b21e4f23
|
ToolPreview: fix a bug in how arrays are re-allocated
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@634 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:42:38 +00:00 |
|
jason@long.name
|
00738461cb
|
toolstroke: convert fixSingle to use ToolEffect class
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@633 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:42:30 +00:00 |
|
jason@long.name
|
eb63e3817a
|
ToolStroke: update Park tool to use new ToolEffect class
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@632 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:42:21 +00:00 |
|
jason@long.name
|
b3522c514c
|
ToolEffect: stores effect of tool and then applies it as transaction
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@631 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:42:13 +00:00 |
|
jason@long.name
|
76c96640c1
|
ToolPreview: a helper class for translating the effect of a tool
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@630 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:42:06 +00:00 |
|
jason@long.name
|
1aa2e3d30f
|
ToolPreview: a class for holding the effect of a tool
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@629 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:41:57 +00:00 |
|
jason@long.name
|
f6b55fa380
|
toolstroke: separate class for road-like tools
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@628 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:41:49 +00:00 |
|
jason@long.name
|
0fe2c2fe1d
|
toolstroke: move bulldozer tool code to a separate file
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@627 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:41:40 +00:00 |
|
jason@long.name
|
6e585924a7
|
toolstroke: start implementing a check() method
This checks the overall result of applying a tool to see if there's
enough money for the whole operating, before applying any of it.
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@626 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:41:33 +00:00 |
|
jason@long.name
|
0f0d063957
|
toolstroke: rename getPreview to getBounds
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@625 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:41:24 +00:00 |
|
jason@long.name
|
86a2f05201
|
toolstroke: on mouse up, fill the selected area with the tool
also- for roads, rails, and wires, force the selected area to be
single-unit width or height.
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@624 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:36:36 +00:00 |
|
jason@long.name
|
67e7792be5
|
toolstroke: apply at end of mouse click, show drag preview
not completely there yet
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@623 d9718cc8-9f43-0410-858b-315f434eb58c
|
2013-05-16 23:36:27 +00:00 |
|