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
Walter Korman
0616f0f464
Moved AmbulatorySprite around and made it implement the Traverser
...
interface. Initial version of AStarPathUtil and hooked it in to
SceneView.getPath(). Not yet tested.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@255 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 02:30:28 +00:00
Michael Bayne
ce7869c279
Change the way we instantiate the resource manager.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@254 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 02:13:51 +00:00
Michael Bayne
a84eadb351
Use File.separator rather than fetching the system property ourself.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@253 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 02:13:36 +00:00
Michael Bayne
84bb54eb0f
Complain if we're unable to load a scene once we've fully entered it.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@252 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 02:13:12 +00:00
Michael Bayne
5feef4694b
Load resources from the classpath rather than from a base URL.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@251 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 02:12:46 +00:00
Michael Bayne
2cbed37cac
Whirled Scene ids are ints. Need to bust the upgrade from shorts.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@250 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 01:10:09 +00:00
Michael Bayne
a07f5d4d13
Changed Scene to MisoScene. Made MisoScene implement Whirled's Scene
...
interface.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@249 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 01:08:49 +00:00
Michael Bayne
1ffbae2cc4
Added note.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@248 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 01:08:00 +00:00
Michael Bayne
8d017e268f
Because only the editor and viewer even care about the scene repository,
...
we're eliminating the concept entirely from the MISO runtime stuff and
having the editor and viewer just talk directly to the XML file scene
repository.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@247 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 00:10:59 +00:00
Michael Bayne
d26dc0372e
Helped the scene manager to depart from the scene. The viewer and editor
...
applications really need to deal directly with the scene repository. The
display part of the MISO code doesn't need a scene manager, per se,
because it is simply told to visualize a particular scene and scene
management happens entirely externally. This is in preparation for making
the MISO code work and place nicely with the Whirled code.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@246 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 00:00:52 +00:00
Michael Bayne
3eea4dcaad
Moved sprite stuff into media package, removed coupling between miso stuff
...
and sprite stuff by added some interfaces in the sprite stuff and
implementing them with the miso stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@245 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-14 23:35:22 +00:00
Michael Bayne
0d0cb7f8ec
Moved sprite stuff into media package. Need to abstract out and remove
...
miso dependencies.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@244 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-14 22:54:45 +00:00
Walter Korman
1502dcaa06
Moved scene util classes into a separate package.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@243 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-14 21:29:40 +00:00
Michael Bayne
89293034c8
A whirlwind of whirled updates. Moving from scene to scene seems to mostly
...
work now. Scene activation is implemented. Some tests are written.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@242 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-14 06:51:07 +00:00
Michael Bayne
5f0e2e2570
We're testing the whirled client/server presently. I should probably make
...
other versions of these scripts or enhance this one to allow selection of
client and server with a flag.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@241 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-14 06:50:21 +00:00
Michael Bayne
24a3d7cf0a
Added getPlaceObject(); changed _place to _plobj; added a method that
...
makes it possible for derived classes to do the right thing if changing
location fails halfway through (meaning we can't subscribe to our place
object).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@240 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-14 06:49:28 +00:00
Michael Bayne
1ba8fed46b
Whoops. Need to create our queue before we use it.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@239 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-14 06:48:31 +00:00
Michael Bayne
744a5f395d
Created a utility function for easily looking up methods.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@238 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-14 06:48:08 +00:00
Michael Bayne
e9909aa34f
Log a stack trace when an invocation handler fails.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@237 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-14 06:47:38 +00:00