Commit Graph

6670 Commits

Author SHA1 Message Date
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
Michael Bayne d718b2000b Register the OidListFieldMarshaller.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@149 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 05:13:29 +00:00
Michael Bayne db022bb268 OidList fields should be initialized to an empty oid list at construct
time.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@148 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 05:10:30 +00:00
Michael Bayne 59ad4a7955 Added support for marshalling oid lists.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@147 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 05:09:21 +00:00
Walter Korman 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.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@146 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 05:08:23 +00:00
Walter Korman 0bdda14562 Updated sample tiles to reflect our current chosen 64x48 dimensions.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@145 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 05:05:44 +00:00
Michael Bayne e08138875f More location observer stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@144 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 04:59:54 +00:00
Michael Bayne 9d93650b65 Fixed javadoc @see syntax.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@143 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 04:49:08 +00:00
Michael Bayne d6e9207a26 Need ability to enumerate over place managers.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@142 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 01:48:08 +00:00
Michael Bayne 7aabc94008 Whoops. plreg should be static.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@141 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 01:47:56 +00:00
Michael Bayne 51665c58d8 Return a reference to the place manager after creating a new place.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@140 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 01:21:03 +00:00
Walter Korman 343eb1b38f Added default tileset and tile id to the editor properties. Added
more sample tiles with ingenious "daniel"-based naming scheme for
testing purposes.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@139 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 01:19:47 +00:00
Walter Korman 1032b8f325 Moved much of the IsoSceneView data into the IsoSceneModel. More work
on sprites and animation.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@138 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 00:42:02 +00:00
Michael Bayne 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.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@137 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-01 20:37:35 +00:00
Michael Bayne 9653971ddd Documentation updates; name changes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@136 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-01 17:00:59 +00:00
Michael Bayne 51f410cbd9 Initial pass at place registry and place manager stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@135 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-01 03:22:54 +00:00
Walter Korman 82831f3baf Work on rendering a character in the scene and moving them about with
mouse-click events.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@134 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-31 01:38:28 +00:00
Walter Korman 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.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@133 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-30 15:38:52 +00:00
Walter Korman c76ae0ccf5 Initial version of mostly-placeholder sprite-related classes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@132 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-28 01:50:07 +00:00
Walter Korman f39087cfc3 Removed verbose logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@131 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-28 01:35:06 +00:00
Walter Korman 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.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@130 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-28 01:31:51 +00:00
Walter Korman e9ab0b343b Updated tileset descriptions to include tile width, offset, and gap
distance.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@129 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-28 01:26:24 +00:00
Walter Korman a82e5f656d Added tileToScreen() and moved drawing of highlighted tile out of the
main tile-drawing loop now that we can.  Added comments.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@128 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-27 17:54:08 +00:00
Walter Korman 01f0d88213 Removed verbose logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@127 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-27 17:52:07 +00:00
Michael Bayne a8ef12d483 Whoops. Was putting wrong thing in client map.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@126 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-25 17:59:30 +00:00
Michael Bayne e64de857ab Build javadocs on com.threerings.*
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@125 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-25 17:58:54 +00:00
Walter Korman 9eba46d700 Initial version of viewer application to allow playtesting of scenes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@124 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-25 17:38:15 +00:00
Walter Korman 9bec86fe87 Completed parsing of multi-layer scene XML files.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@123 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-25 01:38:08 +00:00
Michael Bayne 14d47f8c85 Allow credentials to be set after creating the client.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@122 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-25 00:51:05 +00:00
Michael Bayne 0c59e20f23 Logon not login.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@121 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-25 00:26:44 +00:00