Commit Graph

409 Commits

Author SHA1 Message Date
Michael Bayne 1d64794349 Cast our context and config references before calling super.init() so that
things are set up properly when createPlaceView() is called.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@409 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 17:20:39 +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
Michael Bayne 61a2c30859 Structured handleEvent() so that we can report unhandled events.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@407 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 17:18:44 +00:00
Michael Bayne 31a0177480 Updated to conform to new place services provided by party. Getting closer
to being able to launch a game.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@406 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 00:48:34 +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 d7fb56d203 Override willEnterPlace() and subscribe to the place object. Override
didLeavePlace() and unsubscribe.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@404 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-06 01:36:19 +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 def7b5802d Documentation edits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@402 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-06 00:24:46 +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 09ef3cd972 Decoupled MISO from Whirled. They now exist in a form that can be easily
combined in a game that wishes to use both of them, but MISO no longer
extends Whirled's Scene interfaces.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@400 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-05 23:58:36 +00:00
Michael Bayne 63191ec610 I love to make vast, sweeping changes. Now the place services incorporate
a place config object which is used to determine the classes of the place
manager and the (newly added) place controller.

Moved PlaceView and PlaceViewUtil into cocktail.party.client from
cocktail.party.util because the controller and the UI (in very abstract
form) are now part of the place services.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@399 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-05 23:57:26 +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 e8071b5ad6 More progress on MiCasa services. Have lobby selection working now.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@397 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-04 23:41:44 +00:00
Michael Bayne b48e5b90a6 Created a list class that can be used to send around an ordered collection
of streamable objects. (They are manipulated all as one unit. For fine
grained distributed set management, use a DSet.)


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@396 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-04 23:02:07 +00:00
Michael Bayne 681d851b08 Documentation fixes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@395 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-04 22:47:49 +00:00
Michael Bayne 64e66dc98a Created a mechanism for dispatching notifications to user interface
elements when the client enters and leaves a place.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@394 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-04 20:02:49 +00:00
Michael Bayne 20b6650dad Deal with a null arguments array being provided to invoke().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@393 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-04 20:02:13 +00:00
Michael Bayne 7e3805f069 More basic stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@392 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-04 00:29:07 +00:00
Michael Bayne cc53626cab Initial revision of MiCasa game hosting service.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@391 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-03 23:24:09 +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 208e351c9e Initialize the game manager after we create it.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@389 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-03 03:45:16 +00:00
Michael Bayne e705c83c43 Fixed typo, added and then commented out some debug logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@388 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-03 03:44:52 +00:00
Michael Bayne 882b2b79e2 Need to let the PlaceRegistry know that we want a GameObject, not just a
PlaceObject.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@387 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-03 03:44:27 +00:00
Michael Bayne 4450d47d16 Needed a comma in toString().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@386 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-03 03:43:37 +00:00
Michael Bayne 1303278ce7 Register ourselves as an invocation handler and handle failed invitations.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@385 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-03 03:43:14 +00:00
Michael Bayne 95f6bf7300 Modified client so that the invocation director is always around rather
than being created after we log on because other code will want to
register itself with the invocation director before we log on. The
invocation director now just handles being reinitialized which is what
will happen when we log off and back on.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@384 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-03 03:42:31 +00:00
Michael Bayne 09859cd1b9 Need to call super in toString().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@383 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-03 03:41:04 +00:00
Michael Bayne 14b8654d3a Modified code that calls objectAvailable() to catch exceptions thrown by
the subscriber so that they don't throw monkey wrenches into anyone's
business.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@382 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-03 03:40:44 +00:00
Michael Bayne ceca4b549a Modified Reader and Writer not to die if they have a problem reading or
writing a message.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@381 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-03 03:39:39 +00:00
Michael Bayne 3c3fd1abf4 Added ability to marshall Streamable instances.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@380 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-03 03:38:55 +00:00
Michael Bayne 76dfd550aa Modified to use MethodFinder (now provided by samskivert library) which
resolves methods based on the types of the arguments fully properly,
rather than in the half-baked way I was doing it.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@379 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-03 03:38:21 +00:00
Michael Bayne f59e08fc69 More notes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@378 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-03 03:37:14 +00:00
Michael Bayne db81e60bcb More progress on game creation and match making.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@377 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-02 21:52:33 +00:00
Michael Bayne e08ea92b23 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. Also more progress on
invitations and all that.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@376 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-02 02:09:06 +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 1f663669c9 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.

Also modified PlaceManager and PlaceRegistry such that there is no
Properties object supplied for configuration (let the derived classes sort
out how they want to configure their managers) and so that the
PlaceManager tells the PlaceRegistry what sort of PlaceObject derived
class it wants to manage rather than having that come from the
configuration.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@374 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-02 02:07:50 +00:00
Michael Bayne 9e7b10b31c Mo' notes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@373 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-02 02:04:43 +00:00
Michael Bayne f54628c2ba Added a ServiceFailedException for use by invocation services.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@372 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-01 23:06:23 +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 a2f4a2cb7a Moved parlor invocation service codes into ParlorCodes. Started work on
server side of parlor invocation services.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@370 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-01 22:17:34 +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 543f977475 Design notes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@367 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-01 22:11:53 +00:00
Michael Bayne 1e7b01ad85 Yet more Parlor progress. Added GameController which manages the flow of
the game on the client side and have started to wire up the DObject stuff.
Whee!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@366 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-01 06:19:15 +00:00
Michael Bayne 23ccfde6c8 More progress on parlor services (mostly invitation handling).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@365 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-01 05:07:13 +00:00
Michael Bayne 27adf03bc1 Whoops. Missed an import.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@364 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-01 02:57:37 +00:00
Michael Bayne 2139d4883a Progress on Ye Olde Parlor services.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@363 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-01 02:56:35 +00:00
Michael Bayne 278e1f0f6e More notes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@362 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-01 02:56:11 +00:00
Michael Bayne c08207c40a Initial overview of Parlor services.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@361 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-30 00:08:10 +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