Commit Graph

394 Commits

Author SHA1 Message Date
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
Michael Bayne c847e468e5 Added code to create a connection provider and use that when creating the
scene repository. Also added example config for the static connection
provider that's used by default.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@359 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 22:23:48 +00:00
Michael Bayne c7dfb31972 Added documentation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@358 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 22:15:57 +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
Michael Bayne e5849ab0b6 Added ability to set scene id and version to EditableScene.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@356 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 01:46:10 +00:00
Michael Bayne cdaea4bbab Waffle waffle. Changed MisoScene back to returning lists rather than
arrays for locations, portals and clusters.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@355 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 01:31:32 +00:00
Michael Bayne b567223419 Added an id member which will be used to track the location's unique
identifier. (We'll need to be able to look locations up by id.)


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@354 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 01:25:26 +00:00
Michael Bayne b22ccb7b71 Return a List rather than an ArrayList.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@353 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 01:24:54 +00:00
Michael Bayne c69e46be21 Added getTileId() which returns the fully qualified tile id.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@352 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 01:24:27 +00:00
Walter Korman 2c98b8ce10 Revamped node map and scene node map to share a single scene map
manager and obtain building information from the config object.
Separated test code from base scene node map code.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@351 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 00:46:54 +00:00
Walter Korman da1484a019 Don't attempt to put a tile in the tile cache if we didn't retrieve it
from the tileset manager successfully.  Cleaned up comments.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@350 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 00:44:31 +00:00
Walter Korman 33854265f8 Added config values detailing the building types and icon tileset id.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@349 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 00:43:19 +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 56238e7820 Read tileset id and name from attributes of the tileset tag.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@347 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-27 18:43:08 +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 da5cc91882 Use PersistenceException rather than IOException.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@345 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-21 03:15:02 +00:00