Commit Graph

305 Commits

Author SHA1 Message Date
Michael Bayne 0a1e364e03 Created adapters for the ClientObserver and LocationObserver interfaces to
make handling just one or two of the callbacks for those interfaces
simpler.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@305 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-22 00:08:12 +00:00
Walter Korman 62309a966c Fixed up new character tilesets. Initial test building icons for node
map.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@304 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 23:35:25 +00:00
Michael Bayne 2de7726c4e Removed unneeded import.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@303 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 23:26:21 +00:00
Michael Bayne 4c77daa2b2 Make sure we have message handlers before we go looking at them.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@302 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 22:34:20 +00:00
Michael Bayne 4e8bab51f7 Added two new character tile sets.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@301 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 22:34:01 +00:00
Michael Bayne 8aed4795e1 Modified sprite to use iterator rather than enumerator. Made x and y
members protected and provided accessors. Added toString() to Path.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@300 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 21:18:42 +00:00
Michael Bayne 7f49cfb35a Removed vestigal code.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@299 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 21:18:21 +00:00
Michael Bayne c8e6606056 Need to reset our byte array output stream when we're done with it.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@298 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 21:16:53 +00:00
Michael Bayne eb13ed5cc1 Modified the animation interface not to take a target component and an
animated view, but to combine those so that the animated view provides the
necessary means by which to invalidate and paint. Now the SceneViewPanel
rather than the SceneView is what the animation manager talks to. It then
passes the necessary information on to the SceneView.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@297 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 20:02:39 +00:00
Michael Bayne 30a6e3f3a2 AmbulatorySprite no longer takes a SpriteManager at construct time.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@296 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 19:41:58 +00:00
Michael Bayne bbd1eb9ced Modified sprites not to take a sprite manager reference upon construction
but to have it set by the sprite manager when it is requested to manage
them.

Modified sprite manager to invalidate the view when sprites are added and
removed.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@295 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 19:40:30 +00:00
Michael Bayne 043cb46a4d Start up the place manager *after* we've put it into our place table.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@294 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 19:38:06 +00:00
Michael Bayne fe7bfdc67f Added a toString() implementation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@293 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 19:37:21 +00:00
Michael Bayne 7cac50ee00 Clear out the occupant cache when changing rooms and cache all the
occupants in a room when we first arrive.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@292 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 19:37:08 +00:00
Michael Bayne 70eb9480d8 Made element iteration work properly.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@291 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 19:35:56 +00:00
Michael Bayne a065652ac6 Unbooched subscriber array handling.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@290 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 19:35:02 +00:00
Michael Bayne 9ce3d894bd readExternal() should have been called readFrom().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@289 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 19:33:38 +00:00
Michael Bayne 67a3dabac2 Have the invocation manager pass the client object back to the client when
it is ready. Then the client hangs on to it because the invocation manager
doesn't really need to hang on to the client object.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@288 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 19:33:06 +00:00
Walter Korman 59a6b2b723 Fixed javadoc syntax.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@287 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 01:17:25 +00:00
Walter Korman 56c48c011f Fixed minor bugs in failed attempts to resolve portal bindings. Check
and report errors when attempting to bind entrance portal.
Sanity-check portals in all scenes in the group after bindings are
resolved and report warnings for any still-unbound portals.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@286 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 01:15:16 +00:00
Michael Bayne 4b0f742356 Added a toString() set up to make it easy to stringify place manager
derived classes.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@285 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 01:07:19 +00:00
Michael Bayne bee0ae1ddb Provide a mechanism for unregistering a sprite.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@284 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 00:58:36 +00:00
Michael Bayne dac504c7bb Provide support for iterating over a DSet.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@283 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 00:58:26 +00:00
Michael Bayne abb831bca8 Provide access to the client object instance.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@282 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 00:58:10 +00:00
Walter Korman 67daecdf96 Initial version of node map facilities.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@281 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-20 22:56:55 +00:00
Michael Bayne 829de84fb6 Updated test clients.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@280 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-20 22:10:49 +00:00
Michael Bayne 695a90146c Whoops, called wrong callback on occupant removed.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@279 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-20 21:52:43 +00:00
Michael Bayne 79c320c944 We'll want a reference to the occupant manager in the context.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@278 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-20 21:45:37 +00:00
Michael Bayne b7b78e9f79 Wired up marshalling for DSet objects.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@277 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-20 21:44:10 +00:00
Michael Bayne 04b5bfba8c Initial revision of occupant management services.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@276 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-20 20:54:57 +00:00
Walter Korman 6756d332f8 Sample scene group description.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@275 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-16 23:32:40 +00:00
Michael Bayne d89f7ed454 Moved TileSetManagerImpl into the media.tile package because it's useful
for any derived class implementing TileSetManager.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@274 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-16 23:17:46 +00:00
Michael Bayne 8376b6e9fa Extracted tile code from MISO and moved it into it's own package in media
because it's general purpose.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@273 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-16 23:14:21 +00:00
Walter Korman 5780e57dcf More work on loading scene groups.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@272 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-16 22:05:01 +00:00
Walter Korman 722073eca6 Cleaned up XML parsing to store temporary info more cleanly. Initial
work on scene group parser.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@271 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-16 20:14:06 +00:00
Walter Korman a99829818f Changed exit to portal. Limit tile bounds to something reasonable
when invalidating the scene view.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@270 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-16 18:05:17 +00:00
Michael Bayne 2f7f106271 Server side of occupant management stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@269 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-16 04:28:36 +00:00
Michael Bayne eac3e9aa94 Edits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@268 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-16 04:22:50 +00:00
Michael Bayne 498f2d7626 Notes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@267 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-16 04:22:25 +00:00
Michael Bayne 890bad996e Added ability to update elements in a set.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@266 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-16 03:45:43 +00:00
Michael Bayne 2179599bd6 Edits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@265 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-16 03:33:11 +00:00
Michael Bayne 55c4847a17 Added support for distributed sets: unordered collections of elements
where the elements are user defined objects that know how to read and
write themselves on a stream. Sets are required to contain elements all of
the same type to make network traffic more efficient (avoid sending the
classname every time an element is added or removed).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@264 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-16 03:31:09 +00:00
Michael Bayne 3aa5302b00 Moved the stream related methods into a separate streamable interface that
can be implemented by objects that are streamable but that don't have an
associated type code.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@263 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-16 03:25:14 +00:00
Walter Korman 8520b2e84b Allow setting the sprite velocity to be used when following a path.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@262 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 22:48:41 +00:00
Walter Korman cff9a1fbef Renamed IsoSceneModel to IsoSceneViewModel to reflect reality.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@261 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 22:16:43 +00:00
Walter Korman affc3e82b7 Fixed up path-finding, path-following, and tile coordinate drawing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@260 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 22:06:21 +00:00
Michael Bayne 9f620978e5 Added dist to the all target.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@259 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 18:40:58 +00:00
Michael Bayne 3c413b9f3d Added documentation; modified internal array management to use ListUtil.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@258 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 18:38:54 +00:00
Michael Bayne c2d6e8baad Notes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@257 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 18:38:33 +00:00
Walter Korman c701da25e4 Fixed initial minor bugs in path-finding.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@256 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 03:13:06 +00:00