Commit Graph

746 Commits

Author SHA1 Message Date
Michael Bayne f497ce128f Add direction information to the scene summary.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@820 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-17 03:38:50 +00:00
Michael Bayne 7d079a2bec Switch to new unified direction constants.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@818 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-17 03:34:04 +00:00
Michael Bayne 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.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@817 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-17 03:32:32 +00:00
Michael Bayne 65401007de Javadoc edits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@816 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-17 01:06:35 +00:00
Michael Bayne ae5ab433a1 Added toString().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@815 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-17 00:58:04 +00:00
Michael Bayne 661f63373b Created Log object for Zone services.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@814 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-17 00:56:19 +00:00
Michael Bayne 6ffaab86f5 Wasn't terminating function when it discovers that the target user is not
online.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@813 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-17 00:52:43 +00:00
Walter Korman 50873b116c Utility to dump component bundles.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@812 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 23:12:37 +00:00
Michael Bayne 589915a9ee Clear out last known location id when we leave a scene as well.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@811 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 22:09:17 +00:00
Michael Bayne c8148d9ea0 Report whether or not a cluster speak request was issued.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@810 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 21:59:25 +00:00
Michael Bayne 2f6199cf06 Register our cluster chat objects with their own happy chat message type.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@809 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 21:47:37 +00:00
Michael Bayne 227a8addfd Handle (by ignoring) the new type information associated with chat
messages.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@808 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 21:47:13 +00:00
Michael Bayne 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.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@807 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 21:46:46 +00:00
Michael Bayne 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.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@806 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 21:23:27 +00:00
Michael Bayne 5082bb817f Added convenience functions for looking up a location by id and a location
index by id.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@805 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 21:22:31 +00:00
Michael Bayne 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.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@804 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 21:02:57 +00:00
Michael Bayne 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).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@803 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 21:02:18 +00:00
Michael Bayne 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).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@802 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 08:31:17 +00:00
Michael Bayne 4769609931 Revamped code to watch OCCUPANT_INFO rather than OCCUPANTS which was
necessary to make occupantUpdated() work.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@801 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 08:09:10 +00:00
Michael Bayne caa0da51f2 Clear out a user's previous location when they move to a new location or
flee the scene.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@800 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 08:07:53 +00:00
Michael Bayne 75c9c55dc4 Moved setVelocity() into the Path interface.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@799 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 08:05:46 +00:00
Michael Bayne 64a5b78526 Added toString().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@798 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 08:05:20 +00:00
Michael Bayne 60c9a91c20 Pulled starting and stopping code out into start() and stop().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@797 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 08:05:06 +00:00
Michael Bayne 2a3b329f41 Catch a case where getGraphics() returns null.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@796 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 08:04:25 +00:00
Walter Korman 9753d54608 Minor reformatting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@794 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 06:10:33 +00:00
Walter Korman 36a3283bb7 Minor syntax edits, added comment.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@793 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 05:43:00 +00:00
Walter Korman 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.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@792 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 05:42:16 +00:00
Michael Bayne 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.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@791 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 05:39:16 +00:00
Michael Bayne c105a3d882 Pass an object manager to the provider at construct time and use that one
rather than accessing the one in WhirledServer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@790 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 05:38:26 +00:00
Michael Bayne 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!

So I refactored the whole enchilada to delegate rather than extend, which
blows because various methods must now be made public and a particular
failure case for the moveTo request now requires that a special failure
handler interface be made available so that LocationDirector "extensions"
can inject themselves into the failure handling process.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@789 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 05:18:20 +00:00
Michael Bayne 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!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@788 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 05:15:27 +00:00
Michael Bayne 37b9ff1d20 Added getScreenCoords(), invalidateRect().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@785 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-15 04:20:55 +00:00
Michael Bayne c60c0a557b Added invalidateRect().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@784 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-15 04:20:26 +00:00
Michael Bayne fa0506c85a Add support for clone().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@783 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-15 04:20:00 +00:00
Walter Korman b00fdc6ab5 Use String.valueOf(int) to convert int to string.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@782 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-14 23:31:04 +00:00
Michael Bayne efd1a69caa Finished up implementation of portal traversal back-end.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@781 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-14 23:12:39 +00:00
Walter Korman 17ad791035 Oops, _rnd should be protected.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@780 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-14 16:46:01 +00:00
Walter Korman af4b1175d7 Use AncestorAdapter.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@779 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-14 16:08:00 +00:00
Walter Korman e5d514aa8a Added facility for setting whether the chat text entry field should
request keyboard focus.  Expanded imports.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@778 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-14 04:33:53 +00:00
Michael Bayne 9737db1e0e Need this to prevent circumvention (which is not quite as bad as
circumcision nor as fun as circumnavigation).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@777 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-14 02:44:10 +00:00
Michael Bayne 8e27b7e740 Wired up rest of location change stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@776 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-14 01:51:46 +00:00
Walter Korman b9b0d9cd69 Revised counter piece placement and end game determination.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@775 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-14 01:14:50 +00:00
Michael Bayne 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.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@774 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-14 00:12:32 +00:00
Michael Bayne 6e962013a9 Minor cleanups; added PlaceManager to MessageHandler callback.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@773 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-14 00:11:18 +00:00
Michael Bayne 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.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@772 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-13 07:31:53 +00:00
Michael Bayne 60eddd8f85 *** empty log message ***
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@771 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-13 07:23:25 +00:00
Michael Bayne 748a0855a1 Orient the sprite WEST rather than SOUTHWEST so that we get a nice
angle-on view.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@770 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-13 06:35:52 +00:00
Michael Bayne 1731756712 Improved error checking and reporting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@769 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-13 06:34:40 +00:00
Michael Bayne c64256a6e9 Made the documentation clearer with respect to fully qualified zone ids.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@768 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-13 05:49:50 +00:00
Michael Bayne 366914b4d1 Created ZoneUtil for composing and decomposing qualified zone ids.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@767 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-13 05:46:11 +00:00