Ray Greenwell
595aa68539
we love to comment.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1224 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-09 04:37:38 +00:00
Ray Greenwell
b1d7c171f0
added getMultiTilePolygon, which returns a Polygon describing a rectangle
...
bounding the two specified tiles.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1223 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-09 04:36:06 +00:00
Ray Greenwell
dc82aa0a98
We needn't add the first vertex of a polygon again at the end.
...
Quoth the java.awt.Polygon documentation:
The first and final pairs of (x, y) points are joined by a line
segment that closes the polygon.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1222 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-09 03:12:43 +00:00
Ray Greenwell
8adde69e3b
make sure we fringe when a base tile is deleted.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1221 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-09 01:58:37 +00:00
Ray Greenwell
94feee3436
Moved the bits -> index reverse lookup from FringeConfiguration to
...
AutoFringer because our fringe tileset is hardcoded now.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1220 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-08 19:41:52 +00:00
Ray Greenwell
41185335c7
Don't parse the 'tiles' attribute, we decide to just hardcode the tiles
...
since the autofringer can create any fringe now anyway.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1219 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-08 19:40:04 +00:00
Ray Greenwell
03579fa0ef
Oops: our variables were still defined as 'static'.
...
Changed private to protected.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1218 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-08 18:41:58 +00:00
Michael Bayne
1cf81e9882
Report the config file we're using to configure database connections.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1217 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-08 18:36:42 +00:00
Michael Bayne
03a68efe7c
Switched to doing serialization by hand because I got tired of Java's
...
fucking serialization crapping out when the class was recompiled and its
panties got into a bunch.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1216 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-07 23:15:29 +00:00
Ray Greenwell
e3bd4dfcfd
configure fringe as part of the tsbundles target.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1215 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 22:18:51 +00:00
Ray Greenwell
aac9c7231d
ignore the generated fringeconf.dat
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1214 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 22:18:07 +00:00
Ray Greenwell
ba8e515b6f
added test fringe tilesets
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1213 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 22:17:09 +00:00
Ray Greenwell
b69d195665
test fringe configuration
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1212 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 22:14:38 +00:00
Ray Greenwell
601d515df2
If we fail on a lookup of turning fringebits into a fringe index,
...
try decomposing the bits into contiguous regions and see if we
can't get fringe indexes for those regions.
This makes everything always fringes everywhere.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1211 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 22:07:41 +00:00
Ray Greenwell
0768f82fd9
Use the FringeTile multi-image functionality to allow different base tilesets
...
to simultaneously fringe upon another base.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1210 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 20:50:30 +00:00
Michael Bayne
341660db3f
Not to be undecorated.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1209 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 04:53:05 +00:00
Michael Bayne
e2239e292a
Reference new ocean tiles.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1208 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 04:52:41 +00:00
Michael Bayne
20e39601c8
Changed AnimatedPanel to a JComponent from a Canvas because we no longer
...
need to extend the latter.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1207 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 04:49:43 +00:00
Ray Greenwell
79cde8f9eb
cleanup
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1206 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 03:52:28 +00:00
Ray Greenwell
30556274df
Obsolete. Functionality made more generic and moved to
...
com.threerings.media.util.ImageUtil.composeMaskedImage()
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1205 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 03:44:41 +00:00
Ray Greenwell
91b7065486
Store images in our mask cache, use the new FringeTile object and
...
ImageUtil.composeMaskedImage() to create the masked fringe images.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1204 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 03:43:24 +00:00
Ray Greenwell
3474c9c199
FringeTile- a Tile object that may contain multiple images.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1203 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 03:41:58 +00:00
Ray Greenwell
d4df933e28
added composeMaskedImage() to composite the alpha from one image and the
...
RGB from a second.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1202 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 03:41:18 +00:00
Ray Greenwell
af777c5ab6
bugfix
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1201 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 02:43:34 +00:00
Ray Greenwell
9106842c04
initial revision
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1200 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 02:15:37 +00:00
Ray Greenwell
e61181ed5e
fixed import; implemented setBaseTiles in the Impl
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1199 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 02:08:21 +00:00
Ray Greenwell
07eb05ce27
compiles now!
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1198 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 02:07:13 +00:00
Michael Bayne
b6c69d1fca
Return a MisoTileManager now.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1197 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 02:04:23 +00:00
Michael Bayne
3a9c0180a3
Need to use MisoTileManager now.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1196 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 02:03:54 +00:00
Michael Bayne
d21b5d1db1
Added tileSetMapped().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1195 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 02:03:32 +00:00
Michael Bayne
168b16d006
Screw the miso tileset repository; we'll just have the miso tile manager
...
load the fringe configuration from a standard place in the classpath.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1194 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 01:56:46 +00:00
Ray Greenwell
825cbb969d
Added method to fill a rectangle with a base tile. Will only fringe once
...
the entire rectangle is set.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1193 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 01:55:28 +00:00
Ray Greenwell
7bac770744
The AutoFringer!
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1192 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 01:53:58 +00:00
Michael Bayne
b06c592a1b
Display and editable miso scenes now take a miso tile manager so that they
...
can do their fringing business.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1191 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 01:52:34 +00:00
Michael Bayne
b4d6464075
Miso tile manager extends regular tile manager and provides access to an
...
auto fringer; miso tileset repository does same and provides access to
fringe configuration.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1190 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 01:46:56 +00:00
Michael Bayne
bab3b54d41
Moved into miso.tile from miso.scene.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1189 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 01:38:32 +00:00
Ray Greenwell
b2180b0072
Added method to get a whole random FringeTileSetRecord, instead of getting
...
the fringe tsid.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1188 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 01:34:12 +00:00
Ray Greenwell
3ca8de355e
Fixed turning a String into a boolean value.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1187 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-05 23:18:36 +00:00
Ray Greenwell
5805f6bd5b
Moved code to determine if the records are fully specified into
...
FringeConfiguration- the parser now just reports the error but doesn't
know exactly what it did wrong.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1186 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-05 01:45:53 +00:00
Ray Greenwell
d92f623f17
Moved all validation into the parser.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1185 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-05 01:35:11 +00:00
Ray Greenwell
42e773579a
Fixed bug with bogus tileset ids being inserted into fringe configuration.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1184 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-05 00:34:57 +00:00
Ray Greenwell
833aa75ff4
Added code to read configuration of which fringing tiles we have images
...
for.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1183 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-04 04:06:57 +00:00
Ray Greenwell
b153d22a10
An image to help explain fringe bits, because ascii art sucks.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1182 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-04 02:33:22 +00:00
Ray Greenwell
006c25a8d8
Fringe configuration class and supporting classes to read in the xml
...
specification file and turn it into a serializable object.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1181 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-03 22:52:44 +00:00
Michael Bayne
50012b1cd1
Only rewrite out the tileset map if it has changed.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1180 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-03 22:42:22 +00:00
Michael Bayne
1303897d3d
The tileset bundler task is called differently now.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1179 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-03 22:25:22 +00:00
Michael Bayne
b18c6dc7bf
Blow away the test tileset map file so that it's recreated consistently
...
every time.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1178 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-03 22:24:17 +00:00
Michael Bayne
5d55a29da4
Generate the name of the bundle.jar file from the bundle description file
...
so that we can generate a whole set of bundles in a directory tree in one
fell swoop.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1177 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-03 22:21:35 +00:00
Michael Bayne
f495557624
Report the file on which we choked when we choke.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1176 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-03 22:20:50 +00:00
Michael Bayne
507920843d
Added method for checking to see if a tileset is mapped to an id.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1175 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-03 22:03:23 +00:00