Commit Graph

429 Commits

Author SHA1 Message Date
Michael Bayne 3c203cccd7 Changed project name to Narya.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@429 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-11 03:11:27 +00:00
Michael Bayne 78b62b5da1 Don't need to reference constant through ChatService.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@428 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-11 03:10:55 +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 5c79f8f082 Sorted out some basic invitation stuff so that we can force an invitation
to take place for testing. Will flesh all the rest out later.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@426 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 20:22:51 +00:00
Michael Bayne 9d34d6c770 We now specify the GameConfig class to use when creating games from a
particular lobby.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@425 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 20:21:49 +00:00
Michael Bayne 05d2d84353 For now, just head directly to the game room when we are notified that our
game is ready.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@424 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 20:20:52 +00:00
Michael Bayne c69b6a2a32 Log something when we create a game manager.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@423 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 20:20:35 +00:00
Michael Bayne 9bb91d5eac Lose the chatbox label.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@422 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 19:49:59 +00:00
Michael Bayne 9249e17d3c Put the logoff button in the side panel. Actually put the main panel in
the UI.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@421 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 19:24:54 +00:00
Michael Bayne e7bc462545 Keep track of a "default" lobby which is presently the first one created.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@420 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 19:24:11 +00:00
Michael Bayne 758bac6f28 Extend PartyClient, do the right thing with our BootstrapData.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@419 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 19:23:50 +00:00
Michael Bayne 8eb3dba6dc Move logoff handling into ClientController.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@418 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 19:23:26 +00:00
Michael Bayne ce5bcd95d5 Can't report unhandled events or event just message events because there
are a number of them that just aren't meant to be handled by the place
manager. Alas.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@417 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 18:41:01 +00:00
Michael Bayne 696065f104 Report failures in iterate() but don't let the thread die.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@416 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 18:27:25 +00:00
Michael Bayne 9884571f6e Moved things into lobby from client. Sorted out a better (but still
temporary) mechanism for getting into the first lobby after we logon.
Other cleanups.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@415 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 18:20:08 +00:00
Michael Bayne 2653f9a416 Doc update.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@414 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 18:18:07 +00:00
Michael Bayne 747f8b50fb Use the proper toString() method.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@413 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 18:17:52 +00:00
Michael Bayne e75e442f0c Make the bootstrap data available to external entities.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@412 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 18:17:33 +00:00
Michael Bayne f8846ab016 Making things work; moving lobby stuff entirely into lobby; simplifying.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@411 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-09 17:47:33 +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 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