Commit Graph

750 Commits

Author SHA1 Message Date
Michael Bayne 548acf53e8 Have to update _nextLocationId when a location is added, in case its
location id is bigger than the biggest we've seen.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@750 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-07 02:10:14 +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 14b9708e9e Added facilities for obtaining a valid location id from the scene because
it's the one that knows which location ids are in use.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@748 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-05 09:20:10 +00:00
Michael Bayne 7fcc918797 The fancy equals() turned out not to be useful based on the semantics of
List.indexOf(), etc.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@747 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-05 09:14:29 +00:00
Michael Bayne fba773c4a2 Make Location.equals() do fancy stuff to make life easier elsewhere.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@746 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-05 09:06:30 +00:00
Michael Bayne 2c27824718 Sweet Mary, mother of Jesus! Another fucking refactor. It turns out that
the way I was doing inheritance between the display and editable scene
implementations was not copacetic. The new method (which is for every
editable scene impl to delegate to a display scene impl so that regardless
of how far along you are on the inheritance chain, there are only ever two
actual objects, the display impl and the editable impl) is somewhat
cleaner, but makes it clear that no method can work as nicely as it would
were we to have mutliple inheritance.

The basic problem is that the editable versions of the scenes have to be
able to manipulate the instance variables in the display versions of the
scenes because they have to keep them up to date so that they are
displaying the right thing. As the editable versions are in different
packages, they don't have access to the display instance variables, so the
display versions simply have to make available enough "editable"
functionality to allow the editable versions to get their job done. It's
more coupling that I'd like, but at least it's only between the display
and editable versions across the inheritance hierarchy rather than down
the hierarchy.

Blah.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@745 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-05 08:45:06 +00:00
Michael Bayne 7c60cb5df2 Comment edit.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@744 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-05 07:38:54 +00:00
Michael Bayne f1b92df3d1 Disected and reassembled things so that a miso scene can be constructed
without a tile manager, which can be provided later, at which point all of
the tiles will be resolved. Also made it possible to replace the model in
a partially constructed scene. How's that for a turn of phrase: partially
constructed scene. Wheee!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@743 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-05 07:29:06 +00:00
Michael Bayne a8e66a4191 Modified scene writer code.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@742 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-05 04:45:13 +00:00
Michael Bayne 3af703d31b Minor edit.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@741 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-05 03:49:29 +00:00
Michael Bayne 7e415d9655 Documentation update.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@740 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-05 03:40:32 +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 7dfff1decb Editable mania! I love to delegate.
Augmented standard scene and spot scene models with versions that provide
access to data only needed by the editor and loader. Filtered that whole
paradigm down through the locations and portals and all that.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@737 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-04 22:34:04 +00:00
Michael Bayne a0bdcb9627 Don't claim to have authed a connection unless we accepted the auth
request.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@736 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-04 07:32:10 +00:00
Michael Bayne 60f8cca7a5 Added a means by which to set the authenticator in the auth manager.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@735 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-04 01:48:51 +00:00
Michael Bayne 0bdbfce246 No more LocatioProvider entry.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@734 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-04 01:12:50 +00:00
Michael Bayne 862595e9c9 Add the system classes (/usr/share/java) to the classpath as well.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@733 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-04 01:12:35 +00:00
Michael Bayne b36362c966 Extracted classpath into its own deal; added a target for generating a
viztool visualization.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@732 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-04 01:12:02 +00:00
Michael Bayne 5ab828b270 Notes on zone management.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@731 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-04 01:09:42 +00:00
Michael Bayne 1bf2c4b727 Automatically create and register a zone provider in the zone registry.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@730 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-04 01:06:33 +00:00
Michael Bayne 69b4f7fa86 Modified location services such that the registry and the provider are
supplied with the managers they need at initialization time and such that
the location provider is automatically registered by the place registry
rather than requiring you to put a line in a config file which was a silly
idea in the first place.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@729 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-04 01:02:59 +00:00
Michael Bayne 5d2f302218 Created RootDObjectManager interface for those entities that want to look
up objects directly by oid. They, of course, must be on the server if they
are doing this.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@728 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-04 01:01:54 +00:00
Michael Bayne 0748521613 Zones! Scenes can be grouped into zones which are traversed via a
higher-level mechanism. Zones provide zone summaries which can be used to
generate maps of the zones on the client.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@727 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-04 00:31:58 +00:00
Michael Bayne 9de32d32ea Factored some of the move preparation code out so that the new
ZoneDirector can extend the moveTo process to incorporate zones.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@726 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-04 00:30:27 +00:00
Michael Bayne a308079d70 Utilities for streaming streamables.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@725 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-03 23:48:38 +00:00
Michael Bayne 68d492dff3 Created a WhirledClient even though it doesn't yet do anything so that we
can extend it when extending the Whirled services rather than having to go
down to CrowdClient and cut Whirled out of the loop.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@724 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-03 22:07:31 +00:00
Michael Bayne 16efe382bd Augmenting the AuthResponseData with server stuff turned out to be a bad
idea because that class is shared between the client and the server, so
instead we provide a blank object reference in which the authenticator can
provide whatever information it wants to the client services.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@723 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-03 22:01:57 +00:00
Michael Bayne a0ba41c31d Provide a mechanism for the authenticator to pass information to the
client object by way of passing the auth response data up to the client
after the completion of the authentication phase. This allows information
loaded by an authenticator (like a user record) to make its way into the
real world.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@722 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-03 20:14:51 +00:00
Michael Bayne 1c823ae349 Updates related to non-global-uniquifying location ids.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@721 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-03 19:40:11 +00:00
Michael Bayne 7d108a256f Serialization jockeying.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@720 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-30 21:54:34 +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 9a02d456e5 Obtain our images through the image manager. We may be back later to have
the image manager cache them as well.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@718 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-30 02:34:58 +00:00
Michael Bayne 783e3d9799 Obtain the information for our display device and create images optimized
for display on it.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@717 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-30 02:33:34 +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 e3c84e212f Ok. Now we've *really* got the x,y vs. col,row business sorted out.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@715 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 23:35:59 +00:00
Michael Bayne 7ce8846420 If we're showing coordinates, also outline the tiles.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@714 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 23:35:37 +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 d2dff11867 Fixed x,y vs. col,row thing once and for all. Also cleaned up object tile
footprint setting.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@711 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 23:08:28 +00:00
Michael Bayne 0905d5c0ce Added ability to dump tiles in addition to tilesets.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@710 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 23:07:38 +00:00
Michael Bayne 70f6e9091d Was assigning object tile dimensions incorrectly.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@709 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 23:07:12 +00:00
Michael Bayne 8d30af6db4 Added bundle dumper.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@708 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 22:10:54 +00:00
Michael Bayne be165a5c12 Added toString().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@707 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 22:10:42 +00:00
Michael Bayne fef4803767 Extended the wrong class.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@706 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 22:10:28 +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 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