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.
Michael Bayne
2001-10-09 18:41:01 +00:00
696065f104
Report failures in iterate() but don't let the thread die.
Michael Bayne
2001-10-09 18:27:25 +00:00
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.
Michael Bayne
2001-10-09 18:20:08 +00:00
2653f9a416
Doc update.
Michael Bayne
2001-10-09 18:18:07 +00:00
747f8b50fb
Use the proper toString() method.
Michael Bayne
2001-10-09 18:17:52 +00:00
e75e442f0c
Make the bootstrap data available to external entities.
Michael Bayne
2001-10-09 18:17:33 +00:00
f8846ab016
Making things work; moving lobby stuff entirely into lobby; simplifying.
Michael Bayne
2001-10-09 17:47:33 +00:00
0546a29259
Added blank setPlaceView() implementations.
Michael Bayne
2001-10-09 17:20:58 +00:00
1d64794349
Cast our context and config references before calling super.init() so that things are set up properly when createPlaceView() is called.
Michael Bayne
2001-10-09 17:20:39 +00:00
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.
Michael Bayne
2001-10-09 17:20:03 +00:00
61a2c30859
Structured handleEvent() so that we can report unhandled events.
Michael Bayne
2001-10-09 17:18:44 +00:00
31a0177480
Updated to conform to new place services provided by party. Getting closer to being able to launch a game.
Michael Bayne
2001-10-09 00:48:34 +00:00
95ba5ef9cf
Separate the notion of tile passability from tile objects since passability is specific to the miso layer.
Walter Korman
2001-10-08 21:04:26 +00:00
d7fb56d203
Override willEnterPlace() and subscribe to the place object. Override didLeavePlace() and unsubscribe.
Michael Bayne
2001-10-06 01:36:19 +00:00
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.
Michael Bayne
2001-10-06 00:25:29 +00:00
def7b5802d
Documentation edits.
Michael Bayne
2001-10-06 00:24:46 +00:00
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.
Michael Bayne
2001-10-05 23:59:37 +00:00
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.
Michael Bayne
2001-10-05 23:58:36 +00:00
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.
Michael Bayne
2001-10-05 23:57:26 +00:00
7636e33a7c
Switch to testing the parlor services.
Michael Bayne
2001-10-05 23:55:12 +00:00
e8071b5ad6
More progress on MiCasa services. Have lobby selection working now.
Michael Bayne
2001-10-04 23:41:44 +00:00
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.)
Michael Bayne
2001-10-04 23:02:07 +00:00
681d851b08
Documentation fixes.
Michael Bayne
2001-10-04 22:47:49 +00:00
64e66dc98a
Created a mechanism for dispatching notifications to user interface elements when the client enters and leaves a place.
Michael Bayne
2001-10-04 20:02:49 +00:00
20b6650dad
Deal with a null arguments array being provided to invoke().
Michael Bayne
2001-10-04 20:02:13 +00:00
7e3805f069
More basic stuff.
Michael Bayne
2001-10-04 00:29:07 +00:00
cc53626cab
Initial revision of MiCasa game hosting service.
Michael Bayne
2001-10-03 23:24:09 +00:00
c39d9eb67a
Created some code to test out the Parlor services.
Michael Bayne
2001-10-03 03:45:44 +00:00
208e351c9e
Initialize the game manager after we create it.
Michael Bayne
2001-10-03 03:45:16 +00:00
e705c83c43
Fixed typo, added and then commented out some debug logging.
Michael Bayne
2001-10-03 03:44:52 +00:00
882b2b79e2
Need to let the PlaceRegistry know that we want a GameObject, not just a PlaceObject.
Michael Bayne
2001-10-03 03:44:27 +00:00
4450d47d16
Needed a comma in toString().
Michael Bayne
2001-10-03 03:43:37 +00:00
1303278ce7
Register ourselves as an invocation handler and handle failed invitations.
Michael Bayne
2001-10-03 03:43:14 +00:00
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.
Michael Bayne
2001-10-03 03:42:31 +00:00
09859cd1b9
Need to call super in toString().
Michael Bayne
2001-10-03 03:41:04 +00:00
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.
Michael Bayne
2001-10-03 03:40:44 +00:00
ceca4b549a
Modified Reader and Writer not to die if they have a problem reading or writing a message.
Michael Bayne
2001-10-03 03:39:39 +00:00
3c3fd1abf4
Added ability to marshall Streamable instances.
Michael Bayne
2001-10-03 03:38:55 +00:00
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.
Michael Bayne
2001-10-03 03:38:21 +00:00
f59e08fc69
More notes.
Michael Bayne
2001-10-03 03:37:14 +00:00
db81e60bcb
More progress on game creation and match making.
Michael Bayne
2001-10-02 21:52:33 +00:00
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.
Michael Bayne
2001-10-02 02:09:06 +00:00
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.
Michael Bayne
2001-10-02 02:08:16 +00:00
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.
Michael Bayne
2001-10-02 02:07:50 +00:00
9e7b10b31c
Mo' notes.
Michael Bayne
2001-10-02 02:04:43 +00:00
f54628c2ba
Added a ServiceFailedException for use by invocation services.
Michael Bayne
2001-10-01 23:06:23 +00:00
6d81a6e571
Can't highlight clicked tile for testing anymore because we're not using an EditableSceneView. The comment said it was a hack anyway. :)
Michael Bayne
2001-10-01 22:18:24 +00:00
a2f4a2cb7a
Moved parlor invocation service codes into ParlorCodes. Started work on server side of parlor invocation services.
Michael Bayne
2001-10-01 22:17:34 +00:00
64bed2eb12
Created SceneCodes, moved scene invocation service codes into there. Changed SceneManager to SceneDirector. Updated to deal with LocationManager name change. Clean, clean, clean.
Michael Bayne
2001-10-01 22:16:02 +00:00
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.
Michael Bayne
2001-10-01 22:14:55 +00:00
543f977475
Design notes.
Michael Bayne
2001-10-01 22:11:53 +00:00
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!
Michael Bayne
2001-10-01 06:19:15 +00:00
23ccfde6c8
More progress on parlor services (mostly invitation handling).
Michael Bayne
2001-10-01 05:07:13 +00:00
27adf03bc1
Whoops. Missed an import.
Michael Bayne
2001-10-01 02:57:37 +00:00
2139d4883a
Progress on Ye Olde Parlor services.
Michael Bayne
2001-10-01 02:56:35 +00:00
278e1f0f6e
More notes.
Michael Bayne
2001-10-01 02:56:11 +00:00
c08207c40a
Initial overview of Parlor services.
Michael Bayne
2001-09-30 00:08:10 +00:00
f4cc436137
Allow the throwing of Exception rather than IOException during the server init process.
Michael Bayne
2001-09-28 22:32:28 +00:00
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.
Michael Bayne
2001-09-28 22:23:48 +00:00
c7dfb31972
Added documentation.
Michael Bayne
2001-09-28 22:15:57 +00:00
e041c72900
Changed sword piece tileset image back to .png.
Walter Korman
2001-09-28 03:46:02 +00:00
e5849ab0b6
Added ability to set scene id and version to EditableScene.
Michael Bayne
2001-09-28 01:46:10 +00:00
cdaea4bbab
Waffle waffle. Changed MisoScene back to returning lists rather than arrays for locations, portals and clusters.
Michael Bayne
2001-09-28 01:31:32 +00:00
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.)
Michael Bayne
2001-09-28 01:25:26 +00:00
b22ccb7b71
Return a List rather than an ArrayList.
Michael Bayne
2001-09-28 01:24:54 +00:00
c69e46be21
Added getTileId() which returns the fully qualified tile id.
Michael Bayne
2001-09-28 01:24:27 +00:00
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.
Walter Korman
2001-09-28 00:46:54 +00:00
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.
Walter Korman
2001-09-28 00:44:31 +00:00
33854265f8
Added config values detailing the building types and icon tileset id.
Walter Korman
2001-09-28 00:43:19 +00:00
2ec74a8347
Removed now-unused image.
Walter Korman
2001-09-28 00:42:55 +00:00
56238e7820
Read tileset id and name from attributes of the tileset tag.
Walter Korman
2001-09-27 18:43:08 +00:00
77378d1d5e
Changed tileset ids and names to be attributes of the tileset element. Removed separate sword block tileset and updated sword piece tileset description.
Walter Korman
2001-09-27 18:41:13 +00:00
da5cc91882
Use PersistenceException rather than IOException.
Michael Bayne
2001-09-21 03:15:02 +00:00
2fb833fd5b
Serious scene surgery.
Michael Bayne
2001-09-21 02:30:35 +00:00
fda93f4445
Use file= rather than jarfile=.
Michael Bayne
2001-09-21 00:21:55 +00:00
7c96663f44
Minor scene changes.
Michael Bayne
2001-09-21 00:21:40 +00:00
ae5c9ba187
Minor comment edits.
Walter Korman
2001-09-17 23:55:45 +00:00
b9ac6f9e24
Added getOrientation() and a more extensible toString(). Fixed notifyObservers() header comment to use correct parameter name.
Walter Korman
2001-09-17 23:25:26 +00:00
ec1cf5c667
Changed IntMap to HashIntMap.
Michael Bayne
2001-09-17 05:18:21 +00:00
00fde3eeb3
Modified sprite event mechanism to used classes derived from SpriteEvent rather than codes to indicate different types of events. Also modified name of sprite observer callback as spriteChanged() implies that the sprite actually changed which it may not have, whereas handleEvent() doesn't imply anything other than the sprite observer is being asked to deal with a sprite event.
Michael Bayne
2001-09-13 19:36:20 +00:00
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.
Michael Bayne
2001-09-13 19:10:26 +00:00
2fc86f89b3
Documentation edit.
Michael Bayne
2001-09-13 19:08:30 +00:00
4553c01d6d
Handle all sprite events at the end of each SpriteManager.tick() so that observers can do things like remove sprites without unhappy side-effects.
Walter Korman
2001-09-07 23:01:53 +00:00
45ee2f682b
Fixed block piece tileset and shading colors.
Walter Korman
2001-09-07 18:21:20 +00:00
5966b128c3
Added shatter blocks and basic blocks used to build joined block images.
Walter Korman
2001-09-06 01:36:13 +00:00
627896ce59
Renamed Graphics2D variable to conform to naming elsewhere.
Walter Korman
2001-09-06 01:35:05 +00:00
1c5d03317b
Allow specifying the units associated with the sprite velocity.
Walter Korman
2001-09-05 21:51:43 +00:00
025de7d088
Fixed typo in toString().
Walter Korman
2001-09-05 01:08:30 +00:00
84f2a373cd
Allow specifying the scene file to load on the command-line.
Walter Korman
2001-09-05 00:45:27 +00:00
87de9dc3ea
Renamed method for retrieving images associated with ambulatory sprites for increased specificity and modified comment accordingly.
Walter Korman
2001-09-05 00:44:37 +00:00
4f92224a8f
Minor comment re-formatting.
Walter Korman
2001-09-05 00:40:33 +00:00
24df6a0968
Added convenience method to allow adding a node to a path without specifying a direction.
Walter Korman
2001-09-05 00:40:17 +00:00
37f18c3c3c
Initial images for the first sword puzzle.
Walter Korman
2001-09-05 00:38:35 +00:00
3d32769ec5
Pass along command-line arguments in the appropriate location.
Walter Korman
2001-09-05 00:37:49 +00:00
eaf6a8d987
Test data for sliced building as we explore how best to handle building inclusion in a scene.
Walter Korman
2001-08-30 19:15:11 +00:00
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.
Walter Korman
2001-08-30 01:15:19 +00:00
6d5a41d834
Return a null tile if a non-existent tile id is requested.
Walter Korman
2001-08-30 01:13:08 +00:00
528e32b22e
Removed now-unnecessary scene view model accessors and simplified set-up and precalculating of view model data.
Walter Korman
2001-08-29 20:07:54 +00:00
a7c639ffe0
Modified MisoScene and related classes to obtain the scene tile dimensions from the scene view data model.
Walter Korman
2001-08-29 19:50:46 +00:00
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.
Walter Korman
2001-08-29 18:41:46 +00:00