Commit Graph

199 Commits

Author SHA1 Message Date
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
Walter Korman 31d1aa1edb Cleaned up editor user interface layout.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@168 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 00:22:19 +00:00
Walter Korman 17e402121c Determine proper compass direction to assign path nodes. Added
conversion routines for fine and full coordinates, and moved
iso-related utility functions to IsoUtil.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@167 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-03 22:23:47 +00:00
Michael Bayne 4a1e7458bb Made a note to check on the NBIO wackiness.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@166 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-03 17:03:27 +00:00
Michael Bayne 973504e06a Fixed some bugs related to reading partial frames.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@165 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-03 03:10:15 +00:00
Michael Bayne 3990a2d4c3 Log a stack trace if we have a network error.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@164 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-03 03:09:58 +00:00
Michael Bayne 3751f0ad9b Created a party client which sets up the username in the body object.
Modified the party server to configure the cher services to use our party
client.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@163 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-03 02:28:20 +00:00
Michael Bayne 162b179fa7 Changed Client to CherClient.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@162 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-03 02:25:49 +00:00
Michael Bayne 9520eca656 Add hooks for derived classes to do things at the start of a client
session and when it resumes.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@161 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-03 02:21:16 +00:00
Michael Bayne 9788e18e1a More support for chatting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@160 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-03 02:14:41 +00:00
Michael Bayne aa8011efce Use a really fast select time so that things are snappy when testing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@159 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-03 02:12:52 +00:00
Michael Bayne ae73c73ac4 Commented out debug logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@158 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-03 02:12:27 +00:00
Michael Bayne 44f19a5d68 Make nextInvocationId() public so that others have access to monotonically
increasing request ids if they need 'em.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@157 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-03 02:12:12 +00:00
Michael Bayne bd4ed274bc Bad monkey. Checked in something that didn't compile.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@156 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 23:47:21 +00:00
Michael Bayne 234432858c Progress on chat support.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@155 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 23:46:47 +00:00
Walter Korman 5b390ea2ec Reworked AnimationManager's tick to make sure all action takes place
on the AWT thread.  Explicitly set the panel to be opaque and
non-double-buffered for better performance.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@154 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 23:12:19 +00:00
Walter Korman 254433f5fb Renamed MobileSprite to AmbulatorySprite and fixed up to face the
proper direction while following a path.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@153 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 21:02:57 +00:00
Walter Korman c41c097cd4 Create and have the sprite follow a path rather than explicitly
setting the sprite destination.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@152 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 20:43:03 +00:00
Walter Korman efb1881507 Use a polygon to determine whether a sprite is within a particular
tile.  Updated scene/tile dimensions and default scene to use 64x48
tiles.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@151 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 18:59:00 +00:00
Michael Bayne ba74e4600b Modified toString() to be extensible.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@150 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 06:01:13 +00:00