Michael Bayne
17b7dac87a
These moved into yolibs.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@857 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-15 18:22:03 +00:00
Walter Korman
f70fc3aa60
Each image chunk has its own velocity and follows a trajectory path
...
impacted by a specifiable y-axis acceleration.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@856 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-15 18:10:25 +00:00
Walter Korman
5deda8b1f8
Added getFloat().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@855 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-15 18:05:01 +00:00
Walter Korman
c25c66493e
Pass the starting time for the animation in the constructor to allow
...
application code to make sure all animations are in sync, and to avoid
repeated calls to System.currentTimeMillis().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@854 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-15 02:20:02 +00:00
Walter Korman
4e3d7d9ece
Properly handle a key press followed by seemingly-impossibly-fast,
...
night-instant key release. Added optional debug logging of key events at
the KeyboardFocusManager level for good measure.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@853 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-12 02:37:57 +00:00
Walter Korman
3fc64a8066
Simple test applications for examining keyboard events and testing the
...
keyboard manager functionality.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@852 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-12 02:31:16 +00:00
Walter Korman
70ac159095
Rotate the image chunks as they fly away. Made chunk count configurable.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@851 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-11 19:37:49 +00:00
Walter Korman
e78607da60
Commented out verbose logging. Minor clean-up.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@850 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-11 16:53:34 +00:00
Walter Korman
aa574a8182
Added support for animations to the animation manager. Moved animation
...
classes into their own package.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@849 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-11 16:17:34 +00:00
Walter Korman
c677d08c50
Initial version of a Swing-based variant of the SceneViewPanel, which is
...
possibly only a temporary workaround intended to allow the scene editor to
work. BufferStrategy-style rendering only works with Window or Canvas
objects, but the scene editor is a full-fledged Swing application and if
the scene view panel isn't a Swing component then menus and other things
won't render properly on top of it.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@848 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-08 22:19:29 +00:00
Walter Korman
e3c4fd02b7
Initial work on making use of full-screen exclusive mode and additional
...
rendering optimizations available in JDK 1.4. Use a BufferStrategy, and
changed AnimatedPanel to extend Canvas rather than JPanel.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@847 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-08 22:16:59 +00:00
Walter Korman
df14615e11
Initialize the path before saving it off so that the animation manager
...
can't attempt to move a sprite along a path that isn't fully prepared.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@846 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-07 23:51:52 +00:00
Walter Korman
b13cdabeb0
Improved error handling when creating offscreen image for
...
double-buffering. Don't paint the panel if it's not yet been laid out.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@845 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-07 23:05:39 +00:00
Michael Bayne
be4b5c3801
Added ability to look up occupants by username.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@844 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-20 02:48:21 +00:00
Walter Korman
8c6bc2d129
Map simulant body objects into the server on creation.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@843 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-20 01:11:18 +00:00
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