Commit Graph

703 Commits

Author SHA1 Message Date
Michael Bayne 2c28736c3f Changed class name so that it doesn't match the JUnit test case class name
pattern.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@703 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 22:01:03 +00:00
Michael Bayne 89f8ef5d68 Changed default target to compile because we don't always want to run the
tests.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@702 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 22:00:37 +00:00
Michael Bayne fbc7d15066 Tileset validation stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@701 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 21:58:49 +00:00
Michael Bayne 46b71392aa Moved some stuff into BundleUtil. Added code to support post-parsing
tileset validation.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@700 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 21:58:15 +00:00
Michael Bayne be5428a2f7 Moved some bundle stuff into BundleUtil. Added methods to support
post-parsing tileset validation.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@699 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 21:57:31 +00:00
Michael Bayne eea46eb827 Enable object tileset parsing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@698 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 21:55:56 +00:00
Michael Bayne 089dc87b38 Turned test into JUnit test.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@697 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 21:55:40 +00:00
Michael Bayne e3d39f9a49 Modified tileset descriptions according to new style.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@696 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 21:55:06 +00:00
Michael Bayne c9b1066ebe Enable the object tileset bundling.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@695 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 21:54:22 +00:00
Michael Bayne 244b301909 Build the objects tileset bundle as well.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@694 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 21:54:07 +00:00
Michael Bayne 4f6e0f7542 Documentation fixes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@693 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 20:39:37 +00:00
Michael Bayne 3b3c852640 A sample tileset description file for the tileset parser test.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@692 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 20:35:45 +00:00
Michael Bayne cafecfefa6 Added a simple miso scene for the viewer to view.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@691 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 20:34:58 +00:00
Michael Bayne 2c8dae0570 Wrote a simple miso scene parser.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@690 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 20:34:13 +00:00
Michael Bayne 60d6140a5e Set the sprite to walking when we start our path.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@689 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 20:33:44 +00:00
Michael Bayne e5c3967f9a Changed _scenemodel to _viewmodel.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@688 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 20:33:16 +00:00
Michael Bayne 7adc7b670f Ignore the created bundle file.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@687 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 20:32:57 +00:00
Michael Bayne d2c4c85efe Set up a bundled tileset repository and added code to parse a miso scene
file which is specified on the command line.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@686 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 20:31:53 +00:00
Michael Bayne 215808c8de Can't create paths until we have a scene. Also changed _scenemodel to
_viewmodel.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@685 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 20:31:22 +00:00
Michael Bayne 225d8dded3 Changed the path to the test bundle.jar.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@684 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 20:30:47 +00:00
Michael Bayne 421c1321e0 Configure the tileset bundle set.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@683 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 20:30:26 +00:00
Michael Bayne 09e00d8f35 Need the test_dir system property.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@682 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 20:29:58 +00:00
Michael Bayne 5d16972518 Cropped and checked in all the walking component images.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@681 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 20:29:40 +00:00
Michael Bayne 2c303a6e91 Added toString().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@680 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 19:32:06 +00:00
Michael Bayne 4134683a40 Created rulesets for parsing scene models.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@679 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 19:31:52 +00:00
Michael Bayne baf655620e Made setPrefix() and ditched constructor.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@678 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 19:31:12 +00:00
Michael Bayne 455062779d Was populating the display scene from the model incorrectly.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@677 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 19:30:51 +00:00
Michael Bayne ef487a6ae1 Javadoc fix.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@676 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 06:38:35 +00:00
Michael Bayne 6bbce232b4 Implemented and/or cleaned up the XML scene writers.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@675 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 06:36:29 +00:00
Michael Bayne f3eeae834a Added header.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@674 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:22:41 +00:00
Michael Bayne 97f4963b4f Added a bunch of test configuration and data for creating tileset bundles.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@673 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:21:15 +00:00
Michael Bayne f49005a40c Added a target for building tileset bundles.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@672 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:19:49 +00:00
Michael Bayne 277d622ef7 Changed name to bant as it's now used to do all bundle building.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@671 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:19:35 +00:00
Michael Bayne 04be7dafec Yet more MisoUtil pruning.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@670 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:19:03 +00:00
Michael Bayne e693afa130 Made the ruleset actually do the right thing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@669 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:18:33 +00:00
Michael Bayne d666b38394 Changed getModel() to getMisoSceneModel() to jive with similar methods in
other model classes; was passing tile coordinates backwards to tile layer
objects.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@668 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:18:15 +00:00
Michael Bayne 538bd697a5 Was using old method signature; added toString().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@667 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:17:32 +00:00
Michael Bayne b94c5d691c Added toString() and a means by which to create a blank miso scene model.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@666 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:17:14 +00:00
Michael Bayne f6888abcb1 Added a means by which to create blank spot scene models.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@665 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:16:46 +00:00
Michael Bayne 573b9821cd Added a name for use in the editor and in XML files.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@664 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:16:31 +00:00
Michael Bayne cdc4adfca8 Added getDefaultEntranceId().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@663 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:16:11 +00:00
Michael Bayne b84b342973 Added means by which to create a blank scene model.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@662 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:15:48 +00:00
Michael Bayne 6b79fc70f0 Spelling and documentation fixes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@661 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:15:25 +00:00
Michael Bayne 09e1a961b8 Picked wrong offset multiplier.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@660 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:15:06 +00:00
Michael Bayne 075ea5e9fe Created a persistent tileset name to id broker implementation; wrote an
ANT task for creating tileset bundles.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@659 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:14:11 +00:00
Michael Bayne b7312882f4 Added enumerateTileSetIds().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@658 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:13:42 +00:00
Michael Bayne 80072f7048 Added methods that take File instances in addition to those that take
String paths.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@657 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:13:20 +00:00
Michael Bayne 38a538a446 Implemented enumerateTileSetIds(); also added sanity check when scanning
the resource bundles at construct time.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@656 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:12:42 +00:00
Michael Bayne 0a5f5794e8 Fixed packages.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@655 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-28 01:13:13 +00:00
Michael Bayne 2ad3f03a34 Changed MisoTile to BaseTile.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@654 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 22:17:42 +00:00