Commit Graph

6668 Commits

Author SHA1 Message Date
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
Walter Korman 91d5813b37 Altered animation manager to draw directly to the target's graphics
context.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@191 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-08 00:10:50 +00:00
Michael Bayne 5320567957 Commented out some debug logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@190 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-07 21:25:13 +00:00
Michael Bayne 71de825456 Finished up session termination processing; added code to track
subscriptions and clear them out when the client disconnects.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@189 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-07 21:20:48 +00:00
Michael Bayne 782e9501d6 Implemented object destruction; wired up some missing stuff; created a
test server to make some testing easier; various other cleanups.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@188 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-07 20:38:58 +00:00
Walter Korman b3e7f12f08 Work on dirty-tile rendering optimization. Added placeholder panels
to the viewer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@187 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-07 18:29:18 +00:00
Walter Korman c09986bab0 Altered animation manager to separate construction from the start of
actual animation so that animating components can call
AnimationManager.start() when they know they're fully laid out and
ready to be regularly re-painted.  Return desired dimensions based on
requested scene bounds in SceneViewPanel.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@186 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-06 18:57:39 +00:00
Michael Bayne 17135945d1 Had to modify the way control is transferred to the dobjmgr thread during
session resumption because the client is not subscribed to the client
object at that time. This way is cleaner anyway.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@185 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 03:26:00 +00:00
Michael Bayne 897748bf57 Notes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@184 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 03:25:20 +00:00
Michael Bayne 6b468393aa Finished wiring up tell capabilities.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@183 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 03:13:26 +00:00
Michael Bayne 65cee92ba6 Account for invocation id in invocation response methods.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@182 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 03:06:39 +00:00
Michael Bayne bdb8625ffd Beginnings of the tell (client to client messaging) implementation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@181 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 02:54:28 +00:00
Michael Bayne db9f2283f3 Modified the client side of the invocation services to communicate the
invocation request id to the invocation requester and then also to pass it
along when delivering the invocation response.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@180 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 02:54:01 +00:00
Michael Bayne 7f82de4146 Changed InvocationReceiver into an interface because it needn't be a class
and that allows classes that normally do other things to register
themselves as an invocation receiver.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@179 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 02:31:20 +00:00
Michael Bayne d2d9de37c1 Added code to track a username to body object mapping for all users with
active sessions (even if they are currently disconnected).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@178 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 01:55:41 +00:00
Michael Bayne 7688865b96 Modified client internals to ensure that sessionWillStart(),
sessionWillResume() and sendBootstrapData() are all consistently called on
the dobjmgr thread because that is the most useful. Added
sessionDidTerminate() but session termination is not implemented yet.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@177 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 01:54:34 +00:00
Walter Korman 42967815e1 Created base SceneViewPanel that the editor and viewer apps extend.
Added fringe layer to scenes.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@176 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 01:41:02 +00:00
Michael Bayne e52ab9a739 Finished up handling of bodies moving from place to place. Added callback
methods into PlaceManager that can be overridden to do things when bodies
enter or leave a place.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@175 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 01:13:36 +00:00
Michael Bayne c1dd28330f Register the ReleaseLockEvent.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@174 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 01:05:25 +00:00
Michael Bayne b164f2abc6 No need to tell subscribers about lock release.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@173 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 01:05:12 +00:00
Michael Bayne 8d5beffad7 Fixed a bug with removing oids.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@172 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 01:04:49 +00:00
Michael Bayne 7873ee98f7 Added facilities for creating named locks on distributed objects that will
allow services to prevent repeated invocations of themselves from stepping
on one another because of the serial nature of event processing.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@171 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 00:39:44 +00:00
Walter Korman 5d5b1cf0a4 Ignore path nodes if we're already there.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@170 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 00:36:33 +00:00
Michael Bayne a831089362 Revamped toString() to be more derived class friendly. Added a
ReleaseLockEvent which will be used by the distributed object locking
facilities.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@169 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 00:32:11 +00:00