Commit Graph

  • 8a67066c57 Do the right thing if subscribers remove themselves after we've been destroyed. Michael Bayne 2001-08-11 00:11:53 +00:00
  • 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. Michael Bayne 2001-08-11 00:05:58 +00:00
  • 9f4d4e3ac0 Fixed reference to old exit member data. Walter Korman 2001-08-11 00:01:40 +00:00
  • 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. Walter Korman 2001-08-11 00:00:13 +00:00
  • 356f15595e Draw locations such that orientation is apparent. Added support for editing existing location information. CVS: ---------------------------------------------------------------------- Walter Korman 2001-08-10 23:07:04 +00:00
  • 8d7c2fc4e9 Fixed bug in saving clusters to XML. Added checkbox to editor to allow display of locations and cluster indexes. Walter Korman 2001-08-10 21:17:07 +00:00
  • ff101fb4ef Renamed Spot to Cluster, replaced SpotGroup with ClusterUtil. Walter Korman 2001-08-10 01:31:25 +00:00
  • ebab858d1f Initial design notes for Whirled. Michael Bayne 2001-08-10 01:23:22 +00:00
  • 9df1deef66 More work on editor support for location creation and editing. Walter Korman 2001-08-10 00:47:34 +00:00
  • 593d17aeb5 Reworking exits and locations en route to editor support for placement within a scene. Walter Korman 2001-08-09 21:17:06 +00:00
  • 506623be27 Fixed positioning bug in fineToPixel(), minor clean-up. Walter Korman 2001-08-09 17:04:56 +00:00
  • 0f6f771636 Highlight the fine coordinate on mouse-over when placing a location. Walter Korman 2001-08-09 06:26:52 +00:00
  • 6e7c8e29c5 Implemented tile deletion from the scene. Walter Korman 2001-08-09 05:44:07 +00:00
  • d9b1d29a10 Shuffled around tile images. Added initial icons for editor toolbar. Walter Korman 2001-08-09 04:33:11 +00:00
  • a668f65991 Fixed javadoc @see. Michael Bayne 2001-08-09 00:59:53 +00:00
  • c38123f3e2 Fixed up scene loading/saving to use paths relative to the scene root directory. Walter Korman 2001-08-09 00:01:58 +00:00
  • b2d0ddee27 The conmgr now gets its listening port number from the config file. Michael Bayne 2001-08-08 23:56:20 +00:00
  • aa9799e8c6 Use inherited properties when we bind 'em. Michael Bayne 2001-08-08 23:48:51 +00:00
  • 4fd41d4699 Remove dist/rsrc from the classpath because it doesn't exist anyway. Michael Bayne 2001-08-08 23:48:12 +00:00
  • 5770a15d3c Added more support for full and fine coordinates. Constrain path destinations to full coordinates. Walter Korman 2001-08-08 22:29:39 +00:00
  • 65b95f5698 Note updates. Michael Bayne 2001-08-08 21:59:28 +00:00
  • 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. Michael Bayne 2001-08-08 21:56:48 +00:00
  • 3cbd25edf9 Draw top-to-bottom, left-to-right to preserve proper image overlaying. Walter Korman 2001-08-08 21:24:20 +00:00
  • 49764d7b79 Use an array to mark dirty tiles. Added double-buffering to the SceneViewPanel. Walter Korman 2001-08-08 03:19:39 +00:00
  • 6b423cd53a Modified to save element contents on endElement() rather than when character data is read since character data may come in chunks. Walter Korman 2001-08-08 00:33:54 +00:00
  • 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. Michael Bayne 2001-08-08 00:28:49 +00:00
  • 91d5813b37 Altered animation manager to draw directly to the target's graphics context. Walter Korman 2001-08-08 00:10:50 +00:00
  • 5320567957 Commented out some debug logging. Michael Bayne 2001-08-07 21:25:13 +00:00
  • 71de825456 Finished up session termination processing; added code to track subscriptions and clear them out when the client disconnects. Michael Bayne 2001-08-07 21:20:48 +00:00
  • 782e9501d6 Implemented object destruction; wired up some missing stuff; created a test server to make some testing easier; various other cleanups. Michael Bayne 2001-08-07 20:38:58 +00:00
  • b3e7f12f08 Work on dirty-tile rendering optimization. Added placeholder panels to the viewer. Walter Korman 2001-08-07 18:29:18 +00:00
  • 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. Walter Korman 2001-08-06 18:57:39 +00:00
  • 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. Michael Bayne 2001-08-04 03:26:00 +00:00
  • 897748bf57 Notes. Michael Bayne 2001-08-04 03:25:20 +00:00
  • 6b468393aa Finished wiring up tell capabilities. Michael Bayne 2001-08-04 03:13:26 +00:00
  • 65cee92ba6 Account for invocation id in invocation response methods. Michael Bayne 2001-08-04 03:06:39 +00:00
  • bdb8625ffd Beginnings of the tell (client to client messaging) implementation. Michael Bayne 2001-08-04 02:54:28 +00:00
  • 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. Michael Bayne 2001-08-04 02:54:01 +00:00
  • 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. Michael Bayne 2001-08-04 02:31:20 +00:00
  • d2d9de37c1 Added code to track a username to body object mapping for all users with active sessions (even if they are currently disconnected). Michael Bayne 2001-08-04 01:55:41 +00:00
  • 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. Michael Bayne 2001-08-04 01:54:34 +00:00
  • 42967815e1 Created base SceneViewPanel that the editor and viewer apps extend. Added fringe layer to scenes. Walter Korman 2001-08-04 01:41:02 +00:00
  • 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. Michael Bayne 2001-08-04 01:13:36 +00:00
  • c1dd28330f Register the ReleaseLockEvent. Michael Bayne 2001-08-04 01:05:25 +00:00
  • b164f2abc6 No need to tell subscribers about lock release. Michael Bayne 2001-08-04 01:05:12 +00:00
  • 8d5beffad7 Fixed a bug with removing oids. Michael Bayne 2001-08-04 01:04:49 +00:00
  • 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. Michael Bayne 2001-08-04 00:39:44 +00:00
  • 5d5b1cf0a4 Ignore path nodes if we're already there. Walter Korman 2001-08-04 00:36:33 +00:00
  • a831089362 Revamped toString() to be more derived class friendly. Added a ReleaseLockEvent which will be used by the distributed object locking facilities. Michael Bayne 2001-08-04 00:32:11 +00:00
  • 31d1aa1edb Cleaned up editor user interface layout. Walter Korman 2001-08-04 00:22:19 +00:00
  • 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. Walter Korman 2001-08-03 22:23:47 +00:00
  • 4a1e7458bb Made a note to check on the NBIO wackiness. Michael Bayne 2001-08-03 17:03:27 +00:00
  • 973504e06a Fixed some bugs related to reading partial frames. Michael Bayne 2001-08-03 03:10:15 +00:00
  • 3990a2d4c3 Log a stack trace if we have a network error. Michael Bayne 2001-08-03 03:09:58 +00:00
  • 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. Michael Bayne 2001-08-03 02:28:20 +00:00
  • 162b179fa7 Changed Client to CherClient. Michael Bayne 2001-08-03 02:25:49 +00:00
  • 9520eca656 Add hooks for derived classes to do things at the start of a client session and when it resumes. Michael Bayne 2001-08-03 02:21:16 +00:00
  • 9788e18e1a More support for chatting. Michael Bayne 2001-08-03 02:14:41 +00:00
  • aa8011efce Use a really fast select time so that things are snappy when testing. Michael Bayne 2001-08-03 02:12:52 +00:00
  • ae73c73ac4 Commented out debug logging. Michael Bayne 2001-08-03 02:12:27 +00:00
  • 44f19a5d68 Make nextInvocationId() public so that others have access to monotonically increasing request ids if they need 'em. Michael Bayne 2001-08-03 02:12:12 +00:00
  • bd4ed274bc Bad monkey. Checked in something that didn't compile. Michael Bayne 2001-08-02 23:47:21 +00:00
  • 234432858c Progress on chat support. Michael Bayne 2001-08-02 23:46:47 +00:00
  • 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. Walter Korman 2001-08-02 23:12:19 +00:00
  • 254433f5fb Renamed MobileSprite to AmbulatorySprite and fixed up to face the proper direction while following a path. Walter Korman 2001-08-02 21:02:57 +00:00
  • c41c097cd4 Create and have the sprite follow a path rather than explicitly setting the sprite destination. Walter Korman 2001-08-02 20:43:03 +00:00
  • 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. Walter Korman 2001-08-02 18:59:00 +00:00
  • ba74e4600b Modified toString() to be extensible. Michael Bayne 2001-08-02 06:01:13 +00:00
  • d718b2000b Register the OidListFieldMarshaller. Michael Bayne 2001-08-02 05:13:29 +00:00
  • db022bb268 OidList fields should be initialized to an empty oid list at construct time. Michael Bayne 2001-08-02 05:10:30 +00:00
  • 59ad4a7955 Added support for marshalling oid lists. Michael Bayne 2001-08-02 05:09:21 +00:00
  • 499646fe94 Fixed axis slope calculation to be based on tile width/height as it should be. Made tile coordinate painting be centered within tile and spaced based on actual font dimensions. Walter Korman 2001-08-02 05:08:23 +00:00
  • 0bdda14562 Updated sample tiles to reflect our current chosen 64x48 dimensions. Walter Korman 2001-08-02 05:05:44 +00:00
  • e08138875f More location observer stuff. Michael Bayne 2001-08-02 04:59:54 +00:00
  • 9d93650b65 Fixed javadoc @see syntax. Michael Bayne 2001-08-02 04:49:08 +00:00
  • d6e9207a26 Need ability to enumerate over place managers. Michael Bayne 2001-08-02 01:48:08 +00:00
  • 7aabc94008 Whoops. plreg should be static. Michael Bayne 2001-08-02 01:47:56 +00:00
  • 51665c58d8 Return a reference to the place manager after creating a new place. Michael Bayne 2001-08-02 01:21:03 +00:00
  • 343eb1b38f Added default tileset and tile id to the editor properties. Added more sample tiles with ingenious "daniel"-based naming scheme for testing purposes. Walter Korman 2001-08-02 01:19:47 +00:00
  • 1032b8f325 Moved much of the IsoSceneView data into the IsoSceneModel. More work on sprites and animation. Walter Korman 2001-08-02 00:42:02 +00:00
  • ad506a13d5 Added mechanism for passing configuration information in to place managers. This will be used for dynamic server side configuration and an additional mechanism will provide for dynamic client side configuration. Michael Bayne 2001-08-01 20:37:35 +00:00
  • 9653971ddd Documentation updates; name changes. Michael Bayne 2001-08-01 17:00:59 +00:00
  • 51f410cbd9 Initial pass at place registry and place manager stuff. Michael Bayne 2001-08-01 03:22:54 +00:00
  • 82831f3baf Work on rendering a character in the scene and moving them about with mouse-click events. Walter Korman 2001-07-31 01:38:28 +00:00
  • 11800e8a43 Added simple test character sprite to viewer application, and render any involved sprites in IsoSceneView after each set of tiles is drawn. Exit the viewer and editor applications on window close. Walter Korman 2001-07-30 15:38:52 +00:00
  • c76ae0ccf5 Initial version of mostly-placeholder sprite-related classes. Walter Korman 2001-07-28 01:50:07 +00:00
  • f39087cfc3 Removed verbose logging. Walter Korman 2001-07-28 01:35:06 +00:00
  • 92e46c6eae Added row-based tile width, image offset, and image row/column gap distance parameters to tile sets. Removed constant tile width/height references except, for now, for isometric tile rendering which still requires tiles that are 32x16. Walter Korman 2001-07-28 01:31:51 +00:00
  • e9ab0b343b Updated tileset descriptions to include tile width, offset, and gap distance. Walter Korman 2001-07-28 01:26:24 +00:00
  • a82e5f656d Added tileToScreen() and moved drawing of highlighted tile out of the main tile-drawing loop now that we can. Added comments. Walter Korman 2001-07-27 17:54:08 +00:00
  • 01f0d88213 Removed verbose logging. Walter Korman 2001-07-27 17:52:07 +00:00
  • a8ef12d483 Whoops. Was putting wrong thing in client map. Michael Bayne 2001-07-25 17:59:30 +00:00
  • e64de857ab Build javadocs on com.threerings.* Michael Bayne 2001-07-25 17:58:54 +00:00
  • 9eba46d700 Initial version of viewer application to allow playtesting of scenes. Walter Korman 2001-07-25 17:38:15 +00:00
  • 9bec86fe87 Completed parsing of multi-layer scene XML files. Walter Korman 2001-07-25 01:38:08 +00:00
  • 14d47f8c85 Allow credentials to be set after creating the client. Michael Bayne 2001-07-25 00:51:05 +00:00
  • 0c59e20f23 Logon not login. Michael Bayne 2001-07-25 00:26:44 +00:00
  • 15bb149600 More work on parsing scene XML files. Walter Korman 2001-07-24 22:52:02 +00:00
  • 0be5c2f654 Added mnemonics and accelerators to menus. Fixed log message syntax in XMLSceneWriter. Walter Korman 2001-07-24 20:12:18 +00:00
  • f31efe3a32 Added sparse layer tile format in XML output for layers other than BASE. Refresh the scene view when coordinates are toggled. Walter Korman 2001-07-24 19:15:51 +00:00