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
Michael Bayne
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.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@236 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-14 06:47:15 +00:00
Michael Bayne
fc1432ddfe
Modified location manager to make it more amenable to being extended and
...
frobbed.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@235 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-14 03:23:06 +00:00
Michael Bayne
0da19f558e
Documented class.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@234 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-14 03:22:19 +00:00
Michael Bayne
b11dcb28e7
Notes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@233 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-14 03:21:40 +00:00
Michael Bayne
5a1cef4e39
Made a file for general notes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@232 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-14 03:21:14 +00:00
Walter Korman
18e6b0b95b
Added passability to tile objects. Changed TileSetManager to retrieve
...
tiles in their entirety from their TileSet.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@231 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-13 19:54:39 +00:00
Walter Korman
d54d562992
Updated comments.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@230 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-13 15:00:24 +00:00
Walter Korman
546e39b0bb
Added support for creating and editing exits.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@229 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-13 05:42:36 +00:00
Michael Bayne
5a2196bd0c
Beginnings of Whirled service which is a system for building worlds made
...
of interconnected scenes on top of the Cocktail services.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@228 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-11 04:09:51 +00:00
Michael Bayne
5daf0d734f
Throw an instantiation exception rather than returning null if there's an
...
error while creating a place manager.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@227 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-11 04:03:25 +00:00
Michael Bayne
5e60f1ef02
Notes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@226 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-11 04:02:44 +00:00
Michael Bayne
f28c645067
Fail requests to move to the location a client already occupies.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@225 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-11 02:07:20 +00:00
Michael Bayne
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.)
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@224 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-11 02:02:24 +00:00
Michael Bayne
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.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@223 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-11 01:20:38 +00:00
Michael Bayne
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.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@222 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-11 01:00:26 +00:00
Michael Bayne
15e84da041
Notes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@221 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-11 00:59:20 +00:00
Michael Bayne
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.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@220 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-11 00:22:55 +00:00
Michael Bayne
8ba65f8304
Scripts to run the test server and client.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@219 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-11 00:12:37 +00:00
Michael Bayne
c0334d178d
Comment fiddling.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@218 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-11 00:12:11 +00:00
Michael Bayne
8a67066c57
Do the right thing if subscribers remove themselves after we've been
...
destroyed.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@217 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-11 00:11:53 +00:00
Michael Bayne
a44e552eb8
Modified invocation services such that providers are responsible for
...
delivering their own responses. They now have all the information
necessary to do so which means that they can delay the delivery of a
response until some other asynchronous event has taken place (like a
database load completing). Prior to this, they were required to complete
their service immediately and return the response back to the invocation
manager.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@216 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-11 00:05:58 +00:00
Walter Korman
9f4d4e3ac0
Fixed reference to old exit member data.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@215 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-11 00:01:40 +00:00
Walter Korman
60b47ff298
Reworked location placement so that the editor knows only about
...
Location objects and needn't muck about with full coordinates.
Beginning work on exit placement.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@214 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-11 00:00:13 +00:00
Walter Korman
356f15595e
Draw locations such that orientation is apparent. Added support for
...
editing existing location information.
CVS: ----------------------------------------------------------------------
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@213 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-10 23:07:04 +00:00
Walter Korman
8d7c2fc4e9
Fixed bug in saving clusters to XML. Added checkbox to editor to
...
allow display of locations and cluster indexes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@212 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-10 21:17:07 +00:00
Walter Korman
ff101fb4ef
Renamed Spot to Cluster, replaced SpotGroup with ClusterUtil.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@211 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-10 01:31:25 +00:00
Michael Bayne
ebab858d1f
Initial design notes for Whirled.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@210 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-10 01:23:22 +00:00
Walter Korman
9df1deef66
More work on editor support for location creation and editing.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@209 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-10 00:47:34 +00:00
Walter Korman
593d17aeb5
Reworking exits and locations en route to editor support for placement
...
within a scene.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@208 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-09 21:17:06 +00:00
Walter Korman
506623be27
Fixed positioning bug in fineToPixel(), minor clean-up.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@207 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-09 17:04:56 +00:00
Walter Korman
0f6f771636
Highlight the fine coordinate on mouse-over when placing a location.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@206 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-09 06:26:52 +00:00
Walter Korman
6e7c8e29c5
Implemented tile deletion from the scene.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@205 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-09 05:44:07 +00:00
Walter Korman
d9b1d29a10
Shuffled around tile images. Added initial icons for editor toolbar.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@204 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-09 04:33:11 +00:00
Michael Bayne
a668f65991
Fixed javadoc @see.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@203 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-09 00:59:53 +00:00
Walter Korman
c38123f3e2
Fixed up scene loading/saving to use paths relative to the scene root
...
directory.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@202 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-09 00:01:58 +00:00
Michael Bayne
b2d0ddee27
The conmgr now gets its listening port number from the config file.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@201 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-08 23:56:20 +00:00
Michael Bayne
aa9799e8c6
Use inherited properties when we bind 'em.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@200 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-08 23:48:51 +00:00
Michael Bayne
4fd41d4699
Remove dist/rsrc from the classpath because it doesn't exist anyway.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@199 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-08 23:48:12 +00:00
Walter Korman
5770a15d3c
Added more support for full and fine coordinates. Constrain path
...
destinations to full coordinates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@198 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-08 22:29:39 +00:00
Michael Bayne
65b95f5698
Note updates.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@197 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-08 21:59:28 +00:00
Michael Bayne
5dfb32d739
Modified event helper mechanism to allow helpers to abort the event
...
dispatch. Added code to abort object added events that are trying to add a
non-existent object to an oid list. Wrote test driver for this and
duplicate object add request handling.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@196 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-08 21:56:48 +00:00
Walter Korman
3cbd25edf9
Draw top-to-bottom, left-to-right to preserve proper image overlaying.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@195 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-08 21:24:20 +00:00
Walter Korman
49764d7b79
Use an array to mark dirty tiles. Added double-buffering to the
...
SceneViewPanel.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@194 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-08 03:19:39 +00:00
Walter Korman
6b423cd53a
Modified to save element contents on endElement() rather than when
...
character data is read since character data may come in chunks.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@193 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-08 00:33:54 +00:00
Michael Bayne
6fe9ad8a6e
Finished wiring up oid list tracking; made shutdown() work on the cher
...
server; added an easy mechanism to write test modules and invoke them on
the server.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@192 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-08 00:28:49 +00:00