f51a2e0d0c
Created utility classes that unify our direction constant handling so that we can interchange direction constants without requiring conversion and so that we only have to define this stuff once.
Michael Bayne
2001-12-17 03:32:32 +00:00
65401007de
Javadoc edits.
Michael Bayne
2001-12-17 01:06:35 +00:00
ae5ab433a1
Added toString().
Michael Bayne
2001-12-17 00:58:04 +00:00
661f63373b
Created Log object for Zone services.
Michael Bayne
2001-12-17 00:56:19 +00:00
6ffaab86f5
Wasn't terminating function when it discovers that the target user is not online.
Michael Bayne
2001-12-17 00:52:43 +00:00
50873b116c
Utility to dump component bundles.
Walter Korman
2001-12-16 23:12:37 +00:00
589915a9ee
Clear out last known location id when we leave a scene as well.
Michael Bayne
2001-12-16 22:09:17 +00:00
c8148d9ea0
Report whether or not a cluster speak request was issued.
Michael Bayne
2001-12-16 21:59:25 +00:00
2f6199cf06
Register our cluster chat objects with their own happy chat message type.
Michael Bayne
2001-12-16 21:47:37 +00:00
227a8addfd
Handle (by ignoring) the new type information associated with chat messages.
Michael Bayne
2001-12-16 21:47:13 +00:00
0a920a9b75
Modified chat services to support auxilliary chat objects with associated types. Chat messages arriving on the auxilliary chat objects will be tagged with the type that was associated with said objects when they were registered with the chat director and chat displays can then render those chat messages accordingly.
Michael Bayne
2001-12-16 21:46:46 +00:00
178639e0c8
Clear out our cluster chat object subscription when we leave a place and added some checks to avoid sending cluster speak requests unless we currently occupy a location that is in a cluster.
Michael Bayne
2001-12-16 21:23:27 +00:00
5082bb817f
Added convenience functions for looking up a location by id and a location index by id.
Michael Bayne
2001-12-16 21:22:31 +00:00
5b37850773
Added support for receiving chat notifications from multiple objects. This will probably need to be enhanced so that we can differentiate between notifications from different objects on the client and render them differently.
Michael Bayne
2001-12-16 21:02:57 +00:00
1c02c2d6f4
Got cluster chat support working. Made it an invocation service rather than a place service (which may be changed back when place services improve or I may change the main chat stuff to be an invocation service).
Michael Bayne
2001-12-16 21:02:18 +00:00
4f716cd540
Added a callback method that allows derived classes to paint things after the base tiles have been painted, but before anything else. This allows us to paint things that appear to be on the ground (like locations).
Michael Bayne
2001-12-16 08:31:17 +00:00
4769609931
Revamped code to watch OCCUPANT_INFO rather than OCCUPANTS which was necessary to make occupantUpdated() work.
Michael Bayne
2001-12-16 08:09:10 +00:00
caa0da51f2
Clear out a user's previous location when they move to a new location or flee the scene.
Michael Bayne
2001-12-16 08:07:53 +00:00
75c9c55dc4
Moved setVelocity() into the Path interface.
Michael Bayne
2001-12-16 08:05:46 +00:00
64a5b78526
Added toString().
Michael Bayne
2001-12-16 08:05:20 +00:00
60c9a91c20
Pulled starting and stopping code out into start() and stop().
Michael Bayne
2001-12-16 08:05:06 +00:00
2a3b329f41
Catch a case where getGraphics() returns null.
Michael Bayne
2001-12-16 08:04:25 +00:00
aceff062e1
Set the character manager character class at construction time.
Walter Korman
2001-12-16 06:52:11 +00:00
9753d54608
Minor reformatting.
Walter Korman
2001-12-16 06:10:33 +00:00
36a3283bb7
Minor syntax edits, added comment.
Walter Korman
2001-12-16 05:43:00 +00:00
1e1b5e1d4a
Rejiggered the iso scene rendering yet again to address objects in the scene that may partition two items, and to address the lack of a proper total ordering of dirty items in the non-partitioned comparison case.
Walter Korman
2001-12-16 05:42:16 +00:00
3c4c71b3c7
Modified the SceneProvider to take its managers at construct time and made the scene registry automatically register the scene provider when it is constructed.
Michael Bayne
2001-12-16 05:39:16 +00:00
c105a3d882
Pass an object manager to the provider at construct time and use that one rather than accessing the one in WhirledServer.
Michael Bayne
2001-12-16 05:38:26 +00:00
769b2e8895
Blag! Both the ZoneDirector and the SpotSceneDirector needed to extend the SceneDirector which, without multiple inheritance, would make it impossible to use both in a single client. Of course, we need to use both in Yohoho!
Michael Bayne
2001-12-16 05:18:20 +00:00
e7b7364141
Modified the way locations are assigned when entering a scene. The SpotSceneManager now actually does the proper assignment in populateOccupantInfo and it does so having been warned that a body is entering via a particular location by the SpotProvider when it processes a traversePortal request. If the user enters a scene via some other mechanism (like a zoned moveTo request), they will be assigned to the default entrance for the scene, which is what we want. We also avoid the extra occupant update that was necessary with the previous method. Yay!
Michael Bayne
2001-12-16 05:15:27 +00:00
750ff00b3d
Visual documentation!
Michael Bayne
2001-12-16 04:59:11 +00:00
37b9ff1d20
Added getScreenCoords(), invalidateRect().
Michael Bayne
2001-12-15 04:20:55 +00:00
c60c0a557b
Added invalidateRect().
Michael Bayne
2001-12-15 04:20:26 +00:00
fa0506c85a
Add support for clone().
Michael Bayne
2001-12-15 04:20:00 +00:00
b00fdc6ab5
Use String.valueOf(int) to convert int to string.
Walter Korman
2001-12-14 23:31:04 +00:00
efd1a69caa
Finished up implementation of portal traversal back-end.
Michael Bayne
2001-12-14 23:12:39 +00:00
17ad791035
Oops, _rnd should be protected.
Walter Korman
2001-12-14 16:46:01 +00:00
af4b1175d7
Use AncestorAdapter.
Walter Korman
2001-12-14 16:08:00 +00:00
e5d514aa8a
Added facility for setting whether the chat text entry field should request keyboard focus. Expanded imports.
Walter Korman
2001-12-14 04:33:53 +00:00
9737db1e0e
Need this to prevent circumvention (which is not quite as bad as circumcision nor as fun as circumnavigation).
Michael Bayne
2001-12-14 02:44:10 +00:00
8e27b7e740
Wired up rest of location change stuff.
Michael Bayne
2001-12-14 01:51:46 +00:00
b9b0d9cd69
Revised counter piece placement and end game determination.
Walter Korman
2001-12-14 01:14:50 +00:00
a38684db5e
Beginnings of Spot invocation services to allow moving between locations, tracking and reporting locations of bodies within a scene and handling chatting between users in a cluster. Other minor cleanups.
Michael Bayne
2001-12-14 00:12:32 +00:00
6e962013a9
Minor cleanups; added PlaceManager to MessageHandler callback.
Michael Bayne
2001-12-14 00:11:18 +00:00
2c1e5c1ba5
Bollocks! I forgot that using the memory cache with the ImageIO stuff somehow borks the zip decompressor and all hell breaks loose. What a PITA.
Michael Bayne
2001-12-13 07:31:53 +00:00
748a0855a1
Orient the sprite WEST rather than SOUTHWEST so that we get a nice angle-on view.
Michael Bayne
2001-12-13 06:35:52 +00:00
1731756712
Improved error checking and reporting.
Michael Bayne
2001-12-13 06:34:40 +00:00
c64256a6e9
Made the documentation clearer with respect to fully qualified zone ids.
Michael Bayne
2001-12-13 05:49:50 +00:00
366914b4d1
Created ZoneUtil for composing and decomposing qualified zone ids.
Michael Bayne
2001-12-13 05:46:11 +00:00
e670b076e6
Made toString() extendable. Oh God, how I wish I had multiple inheritance and could just fold in a Stringable class instead of rewriting the same code thousands of times. Three cheers for code reuse!
Michael Bayne
2001-12-13 05:32:28 +00:00
18b32fff62
Need to catch Throwable rather than Exception because apparently ClassNotFoundException is a runtime exception.
Michael Bayne
2001-12-13 05:15:16 +00:00
279b3b07c0
Need to reference ImageIO in the constructor to ensure that the classloading is attempting at construct time. So we do so by disabling disk caching which will hopefully allow ImageIO stuff to work in the applet.
Michael Bayne
2001-12-13 05:14:53 +00:00
1ebc240198
Prepended rsrc to our test resource paths.
Michael Bayne
2001-12-13 01:35:52 +00:00
d4b714fab4
Forgot to make ImageIOLoader implement ImageLoader. Output the exception associated with failure to make use of the ImageIOLoader.
Walter Korman
2001-12-13 01:14:30 +00:00
41e122c18b
Another esoteric library. We love 'em!
Michael Bayne
2001-12-12 23:28:59 +00:00
54b02ad1ff
Not to freak out if we have no scene.
Michael Bayne
2001-12-12 19:53:11 +00:00
563100559f
Catch and report errors.
Michael Bayne
2001-12-12 19:52:50 +00:00
a96f0f5af3
An uncommon library that we'd rather provide directly than provide documentation on how to obtain.
Michael Bayne
2001-12-12 19:46:04 +00:00
4a7792f4d6
Moved the scene name into the basic scene model from the editable scene model as we'll be having scene names in the runtime system.
Michael Bayne
2001-12-12 19:06:15 +00:00
d31ebd2b54
Added facilities for a simple robot player to optionally run rampant in the sword game.
Walter Korman
2001-12-12 18:09:20 +00:00
0432219e99
Added row at top of board to show floating block entry and killing piece placement. Went back to not allowing the player to be killed by shaft pieces. Initial work on improved keyboard input.
Walter Korman
2001-12-12 16:55:06 +00:00
3af0d8b1ee
Added support for cloning scene models (we love doing multiple inheritance by hand!).
Michael Bayne
2001-12-12 02:47:17 +00:00
a11f21fb02
The time has come to check in the version of external libraries upon which our libraries depend. We're using external libraries that are too bleeding edge to simply have people install the publicly available versions.
Michael Bayne
2001-12-07 23:23:38 +00:00
509fb5c47e
Was missing the name attribute.
Michael Bayne
2001-12-07 05:14:57 +00:00
7831d150e5
If there are no target scene or portal names, don't write them out. Also fixed naming of <portal> element.
Michael Bayne
2001-12-07 05:11:25 +00:00
548acf53e8
Have to update _nextLocationId when a location is added, in case its location id is bigger than the biggest we've seen.
Michael Bayne
2001-12-07 02:10:14 +00:00
940154d7e3
The image manager now falls back to loading images via the Toolkit if it can't load the ImageIO classes. This unfortunately means that we're back to passing a Component instance to the ImageManager at construct time. Whee!
Michael Bayne
2001-12-07 01:33:29 +00:00
14b9708e9e
Added facilities for obtaining a valid location id from the scene because it's the one that knows which location ids are in use.
Michael Bayne
2001-12-05 09:20:10 +00:00
7fcc918797
The fancy equals() turned out not to be useful based on the semantics of List.indexOf(), etc.
Michael Bayne
2001-12-05 09:14:29 +00:00
fba773c4a2
Make Location.equals() do fancy stuff to make life easier elsewhere.
Michael Bayne
2001-12-05 09:06:30 +00:00
2c27824718
Sweet Mary, mother of Jesus! Another fucking refactor. It turns out that the way I was doing inheritance between the display and editable scene implementations was not copacetic. The new method (which is for every editable scene impl to delegate to a display scene impl so that regardless of how far along you are on the inheritance chain, there are only ever two actual objects, the display impl and the editable impl) is somewhat cleaner, but makes it clear that no method can work as nicely as it would were we to have mutliple inheritance.
Michael Bayne
2001-12-05 08:45:06 +00:00
7c60cb5df2
Comment edit.
Michael Bayne
2001-12-05 07:38:54 +00:00
f1b92df3d1
Disected and reassembled things so that a miso scene can be constructed without a tile manager, which can be provided later, at which point all of the tiles will be resolved. Also made it possible to replace the model in a partially constructed scene. How's that for a turn of phrase: partially constructed scene. Wheee!
Michael Bayne
2001-12-05 07:29:06 +00:00
a8e66a4191
Modified scene writer code.
Michael Bayne
2001-12-05 04:45:13 +00:00
3af703d31b
Minor edit.
Michael Bayne
2001-12-05 03:49:29 +00:00
7e415d9655
Documentation update.
Michael Bayne
2001-12-05 03:40:32 +00:00
dd69489de4
More scene and spot scene refactoring. Got parsers working for those in the new new style (or was that the new new new style).
Michael Bayne
2001-12-05 03:38:10 +00:00
ec9986a365
Put test code first in classpath.
Michael Bayne
2001-12-05 03:37:14 +00:00
7dfff1decb
Editable mania! I love to delegate.
Michael Bayne
2001-12-04 22:34:04 +00:00
a0bdcb9627
Don't claim to have authed a connection unless we accepted the auth request.
Michael Bayne
2001-12-04 07:32:10 +00:00
60f8cca7a5
Added a means by which to set the authenticator in the auth manager.
Michael Bayne
2001-12-04 01:48:51 +00:00
0bdbfce246
No more LocatioProvider entry.
Michael Bayne
2001-12-04 01:12:50 +00:00
862595e9c9
Add the system classes (/usr/share/java) to the classpath as well.
Michael Bayne
2001-12-04 01:12:35 +00:00
b36362c966
Extracted classpath into its own deal; added a target for generating a viztool visualization.
Michael Bayne
2001-12-04 01:12:02 +00:00
5ab828b270
Notes on zone management.
Michael Bayne
2001-12-04 01:09:42 +00:00
1bf2c4b727
Automatically create and register a zone provider in the zone registry.
Michael Bayne
2001-12-04 01:06:33 +00:00
69b4f7fa86
Modified location services such that the registry and the provider are supplied with the managers they need at initialization time and such that the location provider is automatically registered by the place registry rather than requiring you to put a line in a config file which was a silly idea in the first place.
Michael Bayne
2001-12-04 01:02:59 +00:00
5d2f302218
Created RootDObjectManager interface for those entities that want to look up objects directly by oid. They, of course, must be on the server if they are doing this.
Michael Bayne
2001-12-04 01:01:54 +00:00
0748521613
Zones! Scenes can be grouped into zones which are traversed via a higher-level mechanism. Zones provide zone summaries which can be used to generate maps of the zones on the client.
Michael Bayne
2001-12-04 00:31:58 +00:00
9de32d32ea
Factored some of the move preparation code out so that the new ZoneDirector can extend the moveTo process to incorporate zones.
Michael Bayne
2001-12-04 00:30:27 +00:00
a308079d70
Utilities for streaming streamables.
Michael Bayne
2001-12-03 23:48:38 +00:00
68d492dff3
Created a WhirledClient even though it doesn't yet do anything so that we can extend it when extending the Whirled services rather than having to go down to CrowdClient and cut Whirled out of the loop.
Michael Bayne
2001-12-03 22:07:31 +00:00
16efe382bd
Augmenting the AuthResponseData with server stuff turned out to be a bad idea because that class is shared between the client and the server, so instead we provide a blank object reference in which the authenticator can provide whatever information it wants to the client services.
Michael Bayne
2001-12-03 22:01:57 +00:00
a0ba41c31d
Provide a mechanism for the authenticator to pass information to the client object by way of passing the auth response data up to the client after the completion of the authentication phase. This allows information loaded by an authenticator (like a user record) to make its way into the real world.
Michael Bayne
2001-12-03 20:14:51 +00:00
1c823ae349
Updates related to non-global-uniquifying location ids.
Michael Bayne
2001-12-03 19:40:11 +00:00
7d108a256f
Serialization jockeying.
Michael Bayne
2001-11-30 21:54:34 +00:00
64be43162e
Modifications now that things once again take an image manager in addition to a resource manager.
Michael Bayne
2001-11-30 02:35:37 +00:00
9a02d456e5
Obtain our images through the image manager. We may be back later to have the image manager cache them as well.
Michael Bayne
2001-11-30 02:34:58 +00:00