Commit Graph

376 Commits

Author SHA1 Message Date
Michael Bayne 563100559f Catch and report errors.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@759 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-12 19:52:50 +00:00
Michael Bayne 940154d7e3 The image manager now falls back to loading images via the Toolkit if it
can't load the ImageIO classes. This unfortunately means that we're back
to passing a Component instance to the ImageManager at construct time.
Whee!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@749 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-07 01:33:29 +00:00
Michael Bayne dd69489de4 More scene and spot scene refactoring. Got parsers working for those in
the new new style (or was that the new new new style).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@739 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-05 03:38:10 +00:00
Michael Bayne ec9986a365 Put test code first in classpath.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@738 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-05 03:37:14 +00:00
Michael Bayne 64be43162e Modifications now that things once again take an image manager in addition
to a resource manager.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@719 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-30 02:35:37 +00:00
Michael Bayne 220060716f Show coordinates in the viewer.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@716 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 23:36:31 +00:00
Michael Bayne 2ff427128e Added a more interesting test scene.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@713 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 23:14:43 +00:00
Michael Bayne 60ee968d48 Added object tilesets bundle to tilesets resource set.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@712 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 23:14:36 +00:00
Michael Bayne f192023132 More object tile fixups.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@705 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 22:10:11 +00:00
Michael Bayne 1203c32fa8 No more MisoUtil.createConfig().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@704 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 22:01:59 +00:00
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 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 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 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 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 6dccfe70ed It's gapSize now not gapDist.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@653 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 22:11:43 +00:00
Michael Bayne 14cb492cd3 New classes and associated new components.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@648 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 20:05:53 +00:00
Michael Bayne 28d53e469c Wired things back up in the viewer now that we have a component
repository.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@647 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 08:49:58 +00:00
Michael Bayne 1bf37c0129 Now creates a bundled component repository and fixed up some other stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@645 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 08:41:49 +00:00
Michael Bayne 67b388cadc We'll be compiling the builder app now.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@644 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 08:41:18 +00:00
Michael Bayne be313f8922 *** empty log message ***
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@639 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 08:06:57 +00:00
Michael Bayne 7ad2acca11 Bundles! Got all the tileset bundle stuff working and wrote some tests to
inrease my confidence in the use of the word "working".


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@635 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-21 02:42:16 +00:00
Michael Bayne 39c6b9d9b1 Need to define application.root property for things that want to use a
resource manager.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@634 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-21 02:40:53 +00:00
Michael Bayne 2d064262a4 Need to define the application.root system property in case tests want to
use a resource manager.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@633 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-21 02:40:33 +00:00
Michael Bayne ae1052a371 Oh the vast sweeping changes, and they're not even close to complete, but
things compile and most things run so this is a good time to checkpoint.
Let me recall:

- Refactored the whole scene deal.
- Revamped the XML parser stuff (now uses Digester).
- Rethought the tile management.
- Started tile bundle stuff.
- Wrote some tests.
- Did a bit of Mike-ification.

Onward and moreward.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@621 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-18 04:09:23 +00:00
Michael Bayne 45251dba8c Add system jars to classpath.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@620 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-18 04:05:42 +00:00
Michael Bayne 0010525ee7 Run JUnit in a separate JVM to avoid XML parser jar file conflicts.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@619 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-18 04:05:26 +00:00
Michael Bayne 281c00d3a3 Converted the rest of the tests to JUnit unit tests.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@610 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 05:40:07 +00:00
Michael Bayne a85ba5e2c6 Fetch things via the resource manager. Modified code to create resource
manager and then create image manager as well where appropriate.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@604 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 02:58:24 +00:00
Michael Bayne f206129062 Package jockeying.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@603 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 02:57:14 +00:00
Michael Bayne dd1737c357 Turned into JUnit unit test.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@602 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 02:21:23 +00:00
Michael Bayne 39815115d3 Test stuff comes first in the classpath, then narya stuff, then standard
libraries.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@601 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 02:21:03 +00:00
Walter Korman 1059e197ec Added an additional test torso component.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@600 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 02:15:59 +00:00
Walter Korman c4ebe4b1a8 Initial test images.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@599 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 02:15:31 +00:00
Michael Bayne 99a0730696 First pass at moving all of Narya test stuff into the tests directory.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@598 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 02:07:36 +00:00
Walter Korman f6c08bfbbd Initial version.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@597 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 01:14:02 +00:00