b882283cd3
Draw tool tips at a most-reasonable position, and updated to use ToolTipProvider interface for Node tool tips.
Walter Korman
2001-08-28 23:50:45 +00:00
00efd9960a
Moved miso scene specific node map classes to the com.threerings.miso.scene.nodemap package.
Walter Korman
2001-08-27 21:38:41 +00:00
8367338a66
Moved editor toolbar icons into a tileset and cleaned up toolbar icon creation and appearance.
Walter Korman
2001-08-27 21:05:23 +00:00
e0f055a461
More progress on scene map layout and interface.
Walter Korman
2001-08-24 22:13:10 +00:00
9f1d5c1534
More work on the scene map.
Walter Korman
2001-08-23 23:44:12 +00:00
19b05150db
Use a unique node identifier rather than hashCode() so that paths are deterministic.
Walter Korman
2001-08-23 00:55:30 +00:00
f15738ca20
Modified the animation manager to monitor the ancestor events associated with the animated view's component so that the refresh interval can be registered and unregistered based on component visibility.
Walter Korman
2001-08-23 00:23:58 +00:00
0e61a42004
Reworked tool tips to make the node map panel the tool tip observer. Early work on evolving the node map into a miniaturized scene display.
Walter Korman
2001-08-23 00:22:30 +00:00
c2fd4ed6c3
Modified sprite management so that if in the course of processing its dirty rectangles, an animated view has to expand the dirty region, it can call back to the sprite manager to determine whether this new, expanded dirty region includes sprites that weren't previously considered to be dirty. If so, those sprites' rendered bounds are added to the dirty rectangle list being processed so that they will be properly redrawn (which may trigger more sprites to be included and so on).
Michael Bayne
2001-08-22 02:14:57 +00:00
5eb0afaace
A postscript program that draws an isometric grid in the shape of our scene that we can use to sketch and fiddle with isometric ideas.
Michael Bayne
2001-08-22 01:13:32 +00:00
90fe366aff
Add chat support by default into the Whirled scene manager. This will probably come out again because it should really be added by the manager used by the target application. They may not want exactly the same kind of chat support.
Michael Bayne
2001-08-22 00:09:52 +00:00
0d1a4ba1db
Not to register ourselves with the invocation manager until we're logged on. Prior to that, it don't exist.
Michael Bayne
2001-08-22 00:08:39 +00:00
0a1e364e03
Created adapters for the ClientObserver and LocationObserver interfaces to make handling just one or two of the callbacks for those interfaces simpler.
Michael Bayne
2001-08-22 00:08:12 +00:00
62309a966c
Fixed up new character tilesets. Initial test building icons for node map.
Walter Korman
2001-08-21 23:35:25 +00:00
2de7726c4e
Removed unneeded import.
Michael Bayne
2001-08-21 23:26:21 +00:00
4c77daa2b2
Make sure we have message handlers before we go looking at them.
Michael Bayne
2001-08-21 22:34:20 +00:00
4e8bab51f7
Added two new character tile sets.
Michael Bayne
2001-08-21 22:34:01 +00:00
8aed4795e1
Modified sprite to use iterator rather than enumerator. Made x and y members protected and provided accessors. Added toString() to Path.
Michael Bayne
2001-08-21 21:18:42 +00:00
7f49cfb35a
Removed vestigal code.
Michael Bayne
2001-08-21 21:18:21 +00:00
c8e6606056
Need to reset our byte array output stream when we're done with it.
Michael Bayne
2001-08-21 21:16:53 +00:00
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.
Michael Bayne
2001-08-21 20:02:39 +00:00
30a6e3f3a2
AmbulatorySprite no longer takes a SpriteManager at construct time.
Michael Bayne
2001-08-21 19:41:58 +00:00
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.
Michael Bayne
2001-08-21 19:40:30 +00:00
043cb46a4d
Start up the place manager *after* we've put it into our place table.
Michael Bayne
2001-08-21 19:38:06 +00:00
fe7bfdc67f
Added a toString() implementation.
Michael Bayne
2001-08-21 19:37:21 +00:00
7cac50ee00
Clear out the occupant cache when changing rooms and cache all the occupants in a room when we first arrive.
Michael Bayne
2001-08-21 19:37:08 +00:00
70eb9480d8
Made element iteration work properly.
Michael Bayne
2001-08-21 19:35:56 +00:00
a065652ac6
Unbooched subscriber array handling.
Michael Bayne
2001-08-21 19:35:02 +00:00
9ce3d894bd
readExternal() should have been called readFrom().
Michael Bayne
2001-08-21 19:33:38 +00:00
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.
Michael Bayne
2001-08-21 19:33:06 +00:00
59a6b2b723
Fixed javadoc syntax.
Walter Korman
2001-08-21 01:17:25 +00:00
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.
Walter Korman
2001-08-21 01:15:16 +00:00
4b0f742356
Added a toString() set up to make it easy to stringify place manager derived classes.
Michael Bayne
2001-08-21 01:07:19 +00:00
bee0ae1ddb
Provide a mechanism for unregistering a sprite.
Michael Bayne
2001-08-21 00:58:36 +00:00
dac504c7bb
Provide support for iterating over a DSet.
Michael Bayne
2001-08-21 00:58:26 +00:00
abb831bca8
Provide access to the client object instance.
Michael Bayne
2001-08-21 00:58:10 +00:00
67daecdf96
Initial version of node map facilities.
Walter Korman
2001-08-20 22:56:55 +00:00
829de84fb6
Updated test clients.
Michael Bayne
2001-08-20 22:10:49 +00:00
695a90146c
Whoops, called wrong callback on occupant removed.
Michael Bayne
2001-08-20 21:52:43 +00:00
79c320c944
We'll want a reference to the occupant manager in the context.
Michael Bayne
2001-08-20 21:45:37 +00:00
b7b78e9f79
Wired up marshalling for DSet objects.
Michael Bayne
2001-08-20 21:44:10 +00:00
04b5bfba8c
Initial revision of occupant management services.
Michael Bayne
2001-08-20 20:54:57 +00:00
6756d332f8
Sample scene group description.
Walter Korman
2001-08-16 23:32:40 +00:00
d89f7ed454
Moved TileSetManagerImpl into the media.tile package because it's useful for any derived class implementing TileSetManager.
Michael Bayne
2001-08-16 23:17:46 +00:00
8376b6e9fa
Extracted tile code from MISO and moved it into it's own package in media because it's general purpose.
Michael Bayne
2001-08-16 23:14:21 +00:00
5780e57dcf
More work on loading scene groups.
Walter Korman
2001-08-16 22:05:01 +00:00
722073eca6
Cleaned up XML parsing to store temporary info more cleanly. Initial work on scene group parser.
Walter Korman
2001-08-16 20:14:06 +00:00
a99829818f
Changed exit to portal. Limit tile bounds to something reasonable when invalidating the scene view.
Walter Korman
2001-08-16 18:05:17 +00:00
2f7f106271
Server side of occupant management stuff.
Michael Bayne
2001-08-16 04:28:36 +00:00
eac3e9aa94
Edits.
Michael Bayne
2001-08-16 04:22:50 +00:00
498f2d7626
Notes.
Michael Bayne
2001-08-16 04:22:25 +00:00
890bad996e
Added ability to update elements in a set.
Michael Bayne
2001-08-16 03:45:43 +00:00
2179599bd6
Edits.
Michael Bayne
2001-08-16 03:33:11 +00:00
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).
Michael Bayne
2001-08-16 03:31:09 +00:00
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.
Michael Bayne
2001-08-16 03:25:14 +00:00
8520b2e84b
Allow setting the sprite velocity to be used when following a path.
Walter Korman
2001-08-15 22:48:41 +00:00
cff9a1fbef
Renamed IsoSceneModel to IsoSceneViewModel to reflect reality.
Walter Korman
2001-08-15 22:16:43 +00:00
affc3e82b7
Fixed up path-finding, path-following, and tile coordinate drawing.
Walter Korman
2001-08-15 22:06:21 +00:00
9f620978e5
Added dist to the all target.
Michael Bayne
2001-08-15 18:40:58 +00:00
3c413b9f3d
Added documentation; modified internal array management to use ListUtil.
Michael Bayne
2001-08-15 18:38:54 +00:00
c2d6e8baad
Notes.
Michael Bayne
2001-08-15 18:38:33 +00:00
c701da25e4
Fixed initial minor bugs in path-finding.
Walter Korman
2001-08-15 03:13:06 +00:00
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.
Walter Korman
2001-08-15 02:30:28 +00:00
ce7869c279
Change the way we instantiate the resource manager.
Michael Bayne
2001-08-15 02:13:51 +00:00
a84eadb351
Use File.separator rather than fetching the system property ourself.
Michael Bayne
2001-08-15 02:13:36 +00:00
84bb54eb0f
Complain if we're unable to load a scene once we've fully entered it.
Michael Bayne
2001-08-15 02:13:12 +00:00
5feef4694b
Load resources from the classpath rather than from a base URL.
Michael Bayne
2001-08-15 02:12:46 +00:00
2cbed37cac
Whirled Scene ids are ints. Need to bust the upgrade from shorts.
Michael Bayne
2001-08-15 01:10:09 +00:00
a07f5d4d13
Changed Scene to MisoScene. Made MisoScene implement Whirled's Scene interface.
Michael Bayne
2001-08-15 01:08:49 +00:00
1ffbae2cc4
Added note.
Michael Bayne
2001-08-15 01:08:00 +00:00
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.
Michael Bayne
2001-08-15 00:10:59 +00:00
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.
Michael Bayne
2001-08-15 00:00:52 +00:00
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.
Michael Bayne
2001-08-14 23:35:22 +00:00
0d0cb7f8ec
Moved sprite stuff into media package. Need to abstract out and remove miso dependencies.
Michael Bayne
2001-08-14 22:54:45 +00:00
1502dcaa06
Moved scene util classes into a separate package.
Walter Korman
2001-08-14 21:29:40 +00:00
89293034c8
A whirlwind of whirled updates. Moving from scene to scene seems to mostly work now. Scene activation is implemented. Some tests are written.
Michael Bayne
2001-08-14 06:51:07 +00:00
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.
Michael Bayne
2001-08-14 06:50:21 +00:00
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).
Michael Bayne
2001-08-14 06:49:28 +00:00
1ba8fed46b
Whoops. Need to create our queue before we use it.
Michael Bayne
2001-08-14 06:48:31 +00:00
744a5f395d
Created a utility function for easily looking up methods.
Michael Bayne
2001-08-14 06:48:08 +00:00
e9909aa34f
Log a stack trace when an invocation handler fails.
Michael Bayne
2001-08-14 06:47:38 +00:00
64691eda21
Look up invocation service methods using the full signature (arguments and all) and no longer cache the lookups because creating the cache key would be as expensive as reflecting the method.
Michael Bayne
2001-08-14 06:47:15 +00:00
fc1432ddfe
Modified location manager to make it more amenable to being extended and frobbed.
Michael Bayne
2001-08-14 03:23:06 +00:00
0da19f558e
Documented class.
Michael Bayne
2001-08-14 03:22:19 +00:00
b11dcb28e7
Notes.
Michael Bayne
2001-08-14 03:21:40 +00:00
5a1cef4e39
Made a file for general notes.
Michael Bayne
2001-08-14 03:21:14 +00:00
18e6b0b95b
Added passability to tile objects. Changed TileSetManager to retrieve tiles in their entirety from their TileSet.
Walter Korman
2001-08-13 19:54:39 +00:00
d54d562992
Updated comments.
Walter Korman
2001-08-13 15:00:24 +00:00
546e39b0bb
Added support for creating and editing exits.
Walter Korman
2001-08-13 05:42:36 +00:00
5a2196bd0c
Beginnings of Whirled service which is a system for building worlds made of interconnected scenes on top of the Cocktail services.
Michael Bayne
2001-08-11 04:09:51 +00:00
5daf0d734f
Throw an instantiation exception rather than returning null if there's an error while creating a place manager.
Michael Bayne
2001-08-11 04:03:25 +00:00
5e60f1ef02
Notes.
Michael Bayne
2001-08-11 04:02:44 +00:00
f28c645067
Fail requests to move to the location a client already occupies.
Michael Bayne
2001-08-11 02:07:20 +00:00
f17562945f
Check to be sure that the client is still around before we send the invocation response. (Better to catch it and report it here than have the dobjmgr complain when it tries to dispatch an event on a non-existent object.)
Michael Bayne
2001-08-11 02:02:24 +00:00
23821aeff6
Created a class that makes it easy to run stuff off of the dobjmgr thread and then deal with the results of it back on the dobjmgr thread.
Michael Bayne
2001-08-11 01:20:38 +00:00
7ad883b4f6
Added the ability to post runnable units of executable code onto the distributed object manager thread. These are slipped into the normal event processing loop.
Michael Bayne
2001-08-11 01:00:26 +00:00
15e84da041
Notes.
Michael Bayne
2001-08-11 00:59:20 +00:00
a5ef549091
Separated the code that does the moveTo from the code that processes the invocation request. This will allow more complicated services to be built atop the same location management system provided by the Party services.
Michael Bayne
2001-08-11 00:22:55 +00:00
8ba65f8304
Scripts to run the test server and client.
Michael Bayne
2001-08-11 00:12:37 +00:00
c0334d178d
Comment fiddling.
Michael Bayne
2001-08-11 00:12:11 +00:00