Commit Graph

101 Commits

Author SHA1 Message Date
Michael Bayne 804505890f We love to revamp! Created a set of listener interfaces which are used
with distributed objects rather than having a single handleEvent() by
which all subscribers are forced to hear about all events. Now one
subscribes separately and then adds onesself as any of a few types of
listener once they have access to the subscribed object reference.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@439 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-12 00:03:03 +00:00
Michael Bayne de8d9dabd1 Missed a spot.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@438 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-11 21:12:29 +00:00
Michael Bayne 6634eb3fc9 Moved Parlor game stuff into parlor.game package instead of spreading it
across parlor.client, parlor.server and parlor.data.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@437 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-11 21:08:22 +00:00
Walter Korman bc9a03988a Removed unused test panels.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@435 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-11 16:20:06 +00:00
Walter Korman 057256e2fe Removed obsolete test tilesets.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@434 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-11 15:22:44 +00:00
Michael Bayne 8a4c46badc The first great Three Rings renaming. Cocktail changed to Narya, Cher
changed to Presents and Party changed to Crowd. Whee!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@431 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-11 04:07:54 +00:00
Walter Korman ad7b64d4a1 Initial work on support for objects whose images span multiple tiles.
Made TileSet an interface.  Throw exceptions for unknown tile or tile
set requests.  General clean-up and documentation.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@427 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-11 00:41:27 +00:00
Michael Bayne 0546a29259 Added blank setPlaceView() implementations.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@410 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 17:20:58 +00:00
Michael Bayne c9dfd6ef45 Added code to handle displaying the user interface for a place once we
have actually entered the place. It's not tied to a particular UI toolkit
and this requires coordination between the client implementation and the
place implementation, but that seems better than the alternative of tying
the Parlor code to Swing or similar.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@408 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 17:20:03 +00:00
Walter Korman 95ba5ef9cf Separate the notion of tile passability from tile objects since
passability is specific to the miso layer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@405 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-08 21:04:26 +00:00
Michael Bayne 7d3e13dba4 More progress. Brought things into line with the Party services which now
provide some of what we were going to provide with the Parlor services.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@403 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-06 00:25:29 +00:00
Michael Bayne 7d02b3d30b Major surgery to bring Whirled into line with the new PlaceConfig world
order. Also moved stuff from whirled.client.test and whirled.server.test
into whirled.test because it's silly having two separate test directories.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@401 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-05 23:59:37 +00:00
Michael Bayne 7636e33a7c Switch to testing the parlor services.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@398 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-05 23:55:12 +00:00
Michael Bayne c39d9eb67a Created some code to test out the Parlor services.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@390 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-03 03:45:44 +00:00
Michael Bayne 6620936a04 We've always been at war with Eurasia. Changed InvocationManager to
InvocationDirector (please god let the renaming be done). Removed IntMap
and modified code to use samskivert's HashIntMap.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@375 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-02 02:08:16 +00:00
Michael Bayne 6d81a6e571 Can't highlight clicked tile for testing anymore because we're not using
an EditableSceneView. The comment said it was a hack anyway. :)


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@371 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-01 22:18:24 +00:00
Michael Bayne 64bed2eb12 Created SceneCodes, moved scene invocation service codes into there.
Changed SceneManager to SceneDirector. Updated to deal with
LocationManager name change. Clean, clean, clean.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@369 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-01 22:16:02 +00:00
Michael Bayne 027bb29769 Created fooCodes interfaces to go along with invocation service
packages. These contain all the message codes as well as error response
codes that are used by a particular invocation service.

Also changed client.LocationManager to client.LocationDirector and
chat.ChatManager to chat.ChatDirector to go along with the new philosophy
of naming the client-side managing entity for an invocation service a
director.

Also elimitated cocktail.util.Codes since it's no longer used as a central
repository for codes (instead they are in InvocationCodes and its
derivatives).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@368 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-01 22:14:55 +00:00
Michael Bayne f4cc436137 Allow the throwing of Exception rather than IOException during the server
init process.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@360 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 22:32:28 +00:00
Walter Korman e041c72900 Changed sword piece tileset image back to .png.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@357 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 03:46:02 +00:00
Walter Korman 2ec74a8347 Removed now-unused image.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@348 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 00:42:55 +00:00
Walter Korman 77378d1d5e Changed tileset ids and names to be attributes of the tileset element.
Removed separate sword block tileset and updated sword piece tileset
description.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@346 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-27 18:41:13 +00:00
Michael Bayne 780e39d4e9 Modified animation manager to provide a timestamp with every tick.
Modified sprite and path code to make use of these timestamps to determine
a sprite's progress along the path. Abstracted the path stuff so that
paths other than line segment paths can be cleanly implemented.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@337 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-13 19:10:26 +00:00
Walter Korman 45ee2f682b Fixed block piece tileset and shading colors.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@334 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-07 18:21:20 +00:00
Walter Korman 5966b128c3 Added shatter blocks and basic blocks used to build joined block
images.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@333 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-06 01:36:13 +00:00
Walter Korman 84f2a373cd Allow specifying the scene file to load on the command-line.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@329 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-05 00:45:27 +00:00
Walter Korman 37f18c3c3c Initial images for the first sword puzzle.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@325 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-05 00:38:35 +00:00
Walter Korman 3d32769ec5 Pass along command-line arguments in the appropriate location.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@324 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-05 00:37:49 +00:00
Walter Korman eaf6a8d987 Test data for sliced building as we explore how best to handle
building inclusion in a scene.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@323 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-30 19:15:11 +00:00
Walter Korman 379b9f6e4c Created SelectableButton to allow highlighting a JButton when selected
without having to create a selected icon.  Changed editor and scene
map panel toolbars to make use of SelectableButton.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@322 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-30 01:15:19 +00:00
Walter Korman 8c7efb79fe Made iso scene view configuration part of the miso properties file.
Standardized config key member data names to match those used in the
cocktail code.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@318 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-29 18:41:46 +00:00
Walter Korman 8367338a66 Moved editor toolbar icons into a tileset and cleaned up toolbar icon
creation and appearance.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@315 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-27 21:05:23 +00:00
Walter Korman f15738ca20 Modified the animation manager to monitor the ancestor events
associated with the animated view's component so that the refresh
interval can be registered and unregistered based on component
visibility.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@311 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-23 00:23:58 +00:00
Walter Korman 62309a966c Fixed up new character tilesets. Initial test building icons for node
map.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@304 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 23:35:25 +00:00
Michael Bayne 4e8bab51f7 Added two new character tile sets.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@301 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 22:34:01 +00:00
Michael Bayne eb13ed5cc1 Modified the animation interface not to take a target component and an
animated view, but to combine those so that the animated view provides the
necessary means by which to invalidate and paint. Now the SceneViewPanel
rather than the SceneView is what the animation manager talks to. It then
passes the necessary information on to the SceneView.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@297 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 20:02:39 +00:00
Michael Bayne 30a6e3f3a2 AmbulatorySprite no longer takes a SpriteManager at construct time.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@296 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 19:41:58 +00:00
Michael Bayne 829de84fb6 Updated test clients.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@280 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-20 22:10:49 +00:00
Michael Bayne 8376b6e9fa Extracted tile code from MISO and moved it into it's own package in media
because it's general purpose.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@273 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-16 23:14:21 +00:00
Walter Korman a99829818f Changed exit to portal. Limit tile bounds to something reasonable
when invalidating the scene view.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@270 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-16 18:05:17 +00:00
Walter Korman 8520b2e84b Allow setting the sprite velocity to be used when following a path.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@262 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 22:48:41 +00:00
Walter Korman affc3e82b7 Fixed up path-finding, path-following, and tile coordinate drawing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@260 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 22:06:21 +00:00
Walter Korman 0616f0f464 Moved AmbulatorySprite around and made it implement the Traverser
interface.  Initial version of AStarPathUtil and hooked it in to
SceneView.getPath().  Not yet tested.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@255 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 02:30:28 +00:00
Michael Bayne a07f5d4d13 Changed Scene to MisoScene. Made MisoScene implement Whirled's Scene
interface.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@249 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 01:08:49 +00:00
Michael Bayne 8d017e268f Because only the editor and viewer even care about the scene repository,
we're eliminating the concept entirely from the MISO runtime stuff and
having the editor and viewer just talk directly to the XML file scene
repository.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@247 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 00:10:59 +00:00
Michael Bayne d26dc0372e Helped the scene manager to depart from the scene. The viewer and editor
applications really need to deal directly with the scene repository. The
display part of the MISO code doesn't need a scene manager, per se,
because it is simply told to visualize a particular scene and scene
management happens entirely externally. This is in preparation for making
the MISO code work and place nicely with the Whirled code.


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