Walter Korman
7ba9618ac9
Expanded imports and removed obsolete imports and member data.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@842 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-20 01:10:52 +00:00
Walter Korman
04cc7acdb3
Disable debug logging by default.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@841 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-19 23:33:02 +00:00
Walter Korman
d4837512f6
Initialize the simulant with the game config as well as their body object.
...
Have the simulant notify the game object when it's ready rather than doing
it in the SimulatorManager so that game-specific Simulant variants can set
themselves up in timely fashion.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@840 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-19 23:30:47 +00:00
Michael Bayne
e90189fd2c
Added convenience function for looking up an occupant's info by body oid.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@839 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-19 23:11:59 +00:00
Walter Korman
0f8a78bf7c
Let the game manager know when the simulant is ready for the game to
...
begin. Give the simulant body objects their correct username. Cleaned up
logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@838 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-19 10:02:53 +00:00
Walter Korman
3e1e1dea83
Initial version of game simulator to facilitate game testing. Runs a
...
client and game server in a single process, creating as many Simulant
players to round out the game as desired. Still more work to do, but
currently creates simulants, starts up the game, and awaits players.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@837 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-19 09:32:02 +00:00
Michael Bayne
6d350588c2
Added contains() and isMoving().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@836 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-19 07:43:09 +00:00
Michael Bayne
049717d5ec
Added mechanism for displaying nodemap centered on a particular node.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@835 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-18 12:43:12 +00:00
Michael Bayne
995d978a47
Center map when rendering.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@834 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-18 12:21:21 +00:00
Michael Bayne
c6b7212e57
Automatically start up the animation manager, regardless of whether or not
...
we're showing (the animated panel doesn't choke any more if it's asked to
render when not showing). Also leave the animation manager running until
it is explicitly shut down.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@833 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-18 09:46:07 +00:00
Michael Bayne
d75a1d956e
Don't include bundle data in class jar file. Added another visualization
...
target.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@832 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-18 09:27:37 +00:00
Michael Bayne
a14fd63141
Whoops. Didn't want things.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@831 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-18 09:17:20 +00:00
Michael Bayne
de7f29e154
Added a bunch of new object tiles.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@830 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-18 09:16:32 +00:00
Michael Bayne
8a9b56f563
Cope if we have no NodeMap.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@829 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-18 08:39:20 +00:00
Michael Bayne
2b302cef07
Modified code that computes object tile bounds to account for new
...
overridable image origin.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@828 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-18 08:38:57 +00:00
Michael Bayne
4aef9a0d74
Removed commented out location painting code as it's now in its new home.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@827 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-18 08:38:33 +00:00
Michael Bayne
861e8ffb98
Added support for explicitly specifying the offset into the object tile
...
image that should be centered at the origin when the tile is rendered.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@826 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-18 08:37:54 +00:00
Walter Korman
e76c0975ca
Clean-up and easier toggling of debug logging.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@825 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-17 22:13:19 +00:00
Michael Bayne
f3f4ba4c16
Let observers know when we attempt to switch zones as well as when we
...
succeed or fail in those attempts.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@824 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-17 04:11:40 +00:00
Michael Bayne
54565c157a
Created zone observers which are notified of successful or failed zone
...
changes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@823 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-17 04:00:27 +00:00
Michael Bayne
5407731257
Add brackets around a toString()ed array of directions.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@822 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-17 03:51:35 +00:00
Michael Bayne
5f16f988b2
Added a method for obtaining the direction names array.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@821 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-17 03:43:54 +00:00
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
b260ebb9be
Updated to deal with new director organization.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@819 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-17 03:36:36 +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
aceff062e1
Set the character manager character class at construction time.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@795 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 06:52:11 +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