Commit Graph

55 Commits

Author SHA1 Message Date
Michael Bayne 3eea4dcaad Moved sprite stuff into media package, removed coupling between miso stuff
and sprite stuff by added some interfaces in the sprite stuff and
implementing them with the miso stuff.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@245 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-14 23:35:22 +00:00
Michael Bayne 89293034c8 A whirlwind of whirled updates. Moving from scene to scene seems to mostly
work now. Scene activation is implemented. Some tests are written.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@242 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-14 06:51:07 +00:00
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
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
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 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 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 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 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
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 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
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 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 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
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
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 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
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
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
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
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
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 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 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
Michael Bayne a643dfd7e3 Further implementation of body/place/chat stuff. Mostly location related.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@109 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-23 21:14:27 +00:00
Walter Korman 00388caaa5 Removed now-unused placeholder image.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@102 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-21 02:07:18 +00:00
Michael Bayne 1f610d73e9 Log class jockeying; implemented a test client at the party layer that
does proper context object creation; small progress on locmgr stuff.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@95 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-20 23:23:50 +00:00
Walter Korman 758b9667e4 Initial version of runjava (taken directly from samskivert/bin) and a
script to launch the miso scene editor application.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@86 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-20 07:22:10 +00:00
Walter Korman 32c659ec86 Added another test tileset with various wacky images.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@80 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 23:46:54 +00:00
Michael Bayne 41488822dc Modified invocation request procedure to provide a reference to the client
object that initiated the request. Implemented the invocation notification
side of things.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@76 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 19:18:07 +00:00
Michael Bayne f8ccff8f23 More progress on the invocation services.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@74 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 18:08:20 +00:00
Michael Bayne 3a6af15176 Whoops. Fergot return value.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@72 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 07:48:58 +00:00
Michael Bayne d55ce27b2b Created a test service and provider and sorted out further details.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@71 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 07:48:25 +00:00
Michael Bayne 6663aae772 Beginnings of invocation services implementation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@67 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 05:56:20 +00:00
Walter Korman f91e1b41d1 Fixed up image loading to use the now-non-static ImageManager class.
Modified TileManager to store the height of a tile in the Tile
object's member data when the tile is initially created since we
would like to be able to reference it speedily.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@63 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-18 22:45:35 +00:00
Walter Korman a23f6588bc Initial test tileset description file.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@55 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-17 17:16:53 +00:00
Walter Korman 51a2ea511f Updated test miso properties and added a test base tile image file.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@45 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-12 22:41:32 +00:00
Michael Bayne c8af354d2d A nice image to have around to keep the directory from disappearing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@43 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-12 17:49:57 +00:00
Michael Bayne 7cb9d84d54 Wired up the remainder of event dispatch and added facilities for cleaning
up after objects when they have no more subscribers.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@38 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-13 05:17:55 +00:00