Jason Long
23a569970a
build.xml: prevent Dock icon for Java runtime appearing during build
2015-01-25 08:52:34 -08:00
Jason Long
945cf7a22e
animation: turn IND1's piston tiles into an animation
2015-01-23 18:32:13 -08:00
Jason Long
998e2382b3
animation: turn IND zones' smoke into animations
2015-01-23 18:06:36 -08:00
Jason Long
33a421337e
animation: turn coal smoke into animation
2015-01-23 07:50:51 -08:00
Jason Long
bf0c33fbe9
Animation: implement necessary bits for normalForm()
...
This allows a layered image to specify an animation as one of its
layers, and for it to still be recognized as an animation after
being processed by MakeTiles.
2015-01-20 07:31:34 -08:00
Jason Long
d9761ec54f
TileImage: prepare the way for implementing normalForm()
2015-01-20 07:31:33 -08:00
Jason Long
3d2733436e
animation: turn traffic into an animation
2015-01-20 07:31:32 -08:00
Jason Long
ef7f14413e
TileImages: cache generated sub-images, fixes OS-X performance issue
2015-01-19 09:22:26 -08:00
Jason Long
71161d650e
Animation: fix bug in calculation of frame durations
2015-01-17 15:24:53 -08:00
Jason Long
1824fc2e64
MakeTiles: generalize the XML output of image descriptors
2015-01-17 15:22:54 -08:00
Jason Long
f278a8bc19
TileImage: eliminate redundant Animation class
2015-01-17 15:13:36 -08:00
Jason Long
5863323d2f
Animation format: convert to more xml-ish format
...
and make it consistent with the format used by tiles.idx
2015-01-17 08:48:07 -08:00
Jason Long
ba4a159e34
Animation: catch IOExceptions from loading dependent images
2015-01-17 08:45:45 -08:00
Jason Long
3f2b4957a9
Animation: ability to read animation from an already-open XML file
2015-01-17 07:16:11 -08:00
Jason Long
6d76b43164
TileImage: move Animation class from MakeTools into Graphics package
2015-01-13 20:11:45 -08:00
Jason Long
a99a6f0f1c
TileImageLayer: require both elements to be non-null
...
simplifies some algorithms
2015-01-11 13:18:58 -05:00
Jason Long
744e74267a
MakeTiles: use gui's parser for xml image specs
2015-01-11 12:34:15 -05:00
Jason Long
455fc004de
TileImage: xml: replace offsetX/offsetY attrs with single 'at' attribute
...
I.e. instead of
<image offsetY="32"/>
we use
<image at="0,32"/>
2015-01-11 12:34:14 -05:00
Jason Long
33de15568a
TileImage: new method readTileImage() to read a top-level image tag
2015-01-11 12:33:46 -05:00
Jason Long
860faa1081
TileImage: teach MakeTiles module how to use LoaderContext
2015-01-11 12:33:45 -05:00
Jason Long
92776621d6
TileImage: refactor: LoaderContext now returns a TileImage-derived class
2015-01-11 12:33:44 -05:00
Jason Long
73b2e65e39
TileImages: gui: keep ref to SimpleTileImage
2015-01-11 12:33:43 -05:00
Jason Long
4ec67e92fa
TileImages: refactor: ren SourceImage to ScaledSourceImage
...
to allow a non-scaled version soon
2015-01-11 12:33:42 -05:00
Jason Long
55f054a63e
TileImage: refactor: s/readTileImage/readTileImageM
...
this method is called in the context of the parent tag;
it reads all <image> tags that are children of the current tag
and only returns one of them
2015-01-11 12:33:41 -05:00
Jason Long
030abc4512
TileImages: refactor: move readTileImage() to graphics package
2015-01-11 12:33:40 -05:00
Jason Long
d64126f05e
TileImages: refactor: move AnimatedTile to graphics package
2015-01-11 12:33:39 -05:00
Jason Long
0c29bbfcf8
TileImages: refactor: move SimpleTileImage to graphics package
2015-01-11 12:33:34 -05:00
Jason Long
02ee143ce9
refactor: move LoaderContext to graphics package
2015-01-10 11:53:46 -05:00
Jason Long
21f983d4be
TileImages: make gui classes use same base class as MakeTiles component
2015-01-10 11:21:52 -05:00
Jason Long
20b442f600
cleanup: remove redundant copy of XML_Helper
2015-01-10 11:14:51 -05:00
Jason Long
9a285f18ab
TileImage: s/drawTo/drawFragment
2015-01-09 22:46:59 -05:00
Jason Long
28be533163
MakeTiles: use BufferedImage, to be the same as gui
2015-01-09 18:07:30 -05:00
Jason Long
7592117306
TileImage: refactor: eliminate drawWithTimeTo()
...
having a context (such as time) may come back in the future,
but for now it seems better to not do this.
2015-01-09 13:32:50 -05:00
Jason Long
9e1f735b3f
MakeTiles: refactor tile drawing code into drawFrames() method
2015-01-08 08:44:08 -05:00
Jason Long
e2e67a1810
MakeTiles: impl ComposeFrame class, to track where a composed frame came from
2015-01-08 08:33:04 -05:00
Jason Long
357a58f094
TileImage: remove getFrameEndTime() method
...
use "x instanceof Animation" to determine if a tile is animated
2015-01-07 22:26:12 -05:00
Jason Long
ec7641eadf
MakeTiles: abstract tile mapping into prepareFrames() method
2015-01-07 21:16:40 -05:00
Jason Long
409f338e6b
refactor: make readTileImage() to read any tile image descriptor type
2015-01-07 20:41:12 -05:00
Jason Long
d95ad15b99
TileImage: make some properties final
2015-01-07 20:35:36 -05:00
Jason Long
a3afcde7bb
refactor: move build_tool/TileImage to new package
2015-01-07 15:59:41 -05:00
Jason Long
1ec35c1d56
MakeTiles: abstract composition functionality
2015-01-07 14:14:07 -05:00
Jason Long
0fd637cc95
MakeTiles: prepare to abstract composition functionality
2015-01-07 13:30:02 -05:00
Jason Long
cdcb63124a
TileImages: use new tile-drawing method in drawing-area
2015-01-07 13:26:41 -05:00
Jason Long
7b85b7bbe9
TileImages: load image file directly into BufferedImage
2015-01-07 13:22:22 -05:00
Jason Long
a68c533ef5
TileImages: fix bug (shadowed variable) in LoaderContext.getImage()
2015-01-07 13:22:17 -05:00
Jason Long
fbd3a0dc94
MakeTiles: change meaning of offsetY
2015-01-07 13:21:20 -05:00
Jason Long
7415edeb9e
TileImages: allow having multiple tile image files
2015-01-07 13:20:41 -05:00
Jason Long
dbdad3b37e
TileImages: more object-oriented tile-drawing code
2015-01-07 13:13:19 -05:00
Jason Long
6c0c9203a4
TileImages: share image-loading code between overlay map and main view
...
main view- tiles image is now loaded as a single buffered image,
and selected into "sub-images" where needed
overlay- the rgb drawing code is moved into TileImages class
2015-01-07 13:13:04 -05:00
Jason Long
7cfe0c1dc5
MakeTiles: find and use 128x128 versions of tile images
2015-01-03 21:04:55 -05:00