Michael Bayne
82cd152a6f
Modified map file serialization to store things in text so that we can
...
easily see what the mappings are and properly diff mappings that are
checked into CVS.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1739 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-23 18:53:01 +00:00
Michael Bayne
4d94555e09
Added a means for looking up tilesets by name (though you should know
...
which bundle they are in to avoid scanning the whole goddamned lot).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1738 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-23 18:19:57 +00:00
Michael Bayne
bf25816235
More info (though this message will eventually go the way of the debug).
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1737 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-23 18:19:07 +00:00
Michael Bayne
689546f785
Removed debug logging.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1736 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-23 01:35:10 +00:00
Michael Bayne
361c992ac4
Configuration rethink! There's now much more magic. We simply define
...
distributed objects which contain our configuration parameters; those
objects once registered with the ConfObjRegistry will automatically be
populated from appropriate stati config files and modifications to those
objects (made through the standard admin config interface) will
automatically be mirrored out to the preferences that override the values
specified in the config files (which override the default values defined
in the config object class definitions).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1735 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-23 01:34:32 +00:00
Michael Bayne
1caf5bcbdc
Added a header and some handy usage labels.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1734 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-23 01:32:32 +00:00
Michael Bayne
caa5490a89
Handle boolean fields; moved ancestor listener stuff into
...
add/removeNotify().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1733 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-23 01:31:49 +00:00
Ray Greenwell
0a503148df
if the sequencer is an AnimationFrameSequencer, let it know about us.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1732 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-20 21:37:22 +00:00
Ray Greenwell
aa715a6a5a
AnimationFrameSequencer is a FrameSequencer that wants to know about
...
the Animation it's working for.
The enclosed MultiFunciton sequencer can do all sorts of neat stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1731 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-20 21:36:53 +00:00
Ray Greenwell
e6d5adfb96
removed unneeded import
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1730 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-20 21:35:32 +00:00
Ray Greenwell
e790f98774
an AnimationEvent that indicates that a particular frame or frame sequence
...
index has been reached.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1729 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-20 21:35:11 +00:00
Michael Bayne
c1667c3782
Animation manager now takes into account fine grained render order when
...
rendering animations.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1728 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-20 21:28:20 +00:00
Michael Bayne
487bbec942
Added call down methods so that derived client instances can react to
...
a changing client object.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1727 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-20 20:42:37 +00:00
Michael Bayne
6c9c3d82f0
Changed service field to gameService; added code to clear out game service
...
registration when game goes away.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1726 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-20 04:53:42 +00:00
Michael Bayne
ed0693a8e7
Clear out our speak service registration when the place object goes away.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1725 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-20 04:53:14 +00:00
Michael Bayne
775246906b
Added support for clearing out dispatcher registrations.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1724 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-20 04:52:49 +00:00
Ray Greenwell
bb0ae9e187
moved the incrementation of roundId into gameWillStart()
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1723 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-20 02:30:11 +00:00
Michael Bayne
cecb5fbef5
We'll be needing the -- not the ++.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1722 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-20 02:19:53 +00:00
Michael Bayne
7e45b58f50
Modified tick() order to prevent unhappy business if a sprite removes
...
itself in tick().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1721 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-20 02:12:33 +00:00
Michael Bayne
639a4baaea
Notes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1720 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-20 00:55:01 +00:00
Michael Bayne
bdd49a4b3f
Moved clientObjectDidChange() into SessionObserver because anyone
...
observing the session is likely to need to know about that sort of thing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1719 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-20 00:54:39 +00:00
Michael Bayne
d8af715498
Keep the sceneId of the currently occupied scene in the body object.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1718 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-20 00:54:06 +00:00
Michael Bayne
ba4985053f
Revamped "persona selection" support. Things now actually work, and in as
...
sensible a way as we can hope for.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1717 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-19 23:36:59 +00:00
Michael Bayne
0df0ec348d
Gracefully report an error rather than NPEing if an event is posted to an
...
object that no longer has an omgr reference (has been destroyed).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1716 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-19 16:38:03 +00:00
Michael Bayne
7d8c848454
Whoopskidoodle.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1715 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-18 22:06:54 +00:00
Michael Bayne
5c2ae9efea
Added working hashCode() and equals().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1714 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-18 21:58:30 +00:00
Michael Bayne
ae1375ca7b
Updates to reflect changed APIs.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1713 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-18 20:09:55 +00:00
Michael Bayne
ea471aeacc
No chokey if we have no game object.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1712 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-18 19:26:05 +00:00
Michael Bayne
8b7e880d3c
Not to log the whole user object.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1711 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-18 18:40:20 +00:00
Michael Bayne
e4aad9213a
Not to do the fiddly business with game state constants.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1710 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-18 18:33:20 +00:00
Walter Korman
acf21c5908
Rejiggered things to provide facilities for checking whether a game is in
...
play, rather than whether a game is over.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1709 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-18 04:01:29 +00:00
Michael Bayne
9fb0de8e29
Miso scene revamp to more cleanly deal with object tiles and their
...
associated metrics. Also fixed render order handling such that any
overlapping object tiles are rendered in the order that they are added to
the scene. This gives us control over what to do in situations that are
impossible to determine based on object footprint alone.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1708 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-18 02:32:57 +00:00
Walter Korman
4fa88cd501
Fixed javadoc typo.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1707 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-18 01:10:27 +00:00
Michael Bayne
70b2f7f494
Slightly less expensive jockeying to ensure that we do the right thing
...
when starting up and being told to switch to frame zero.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1706 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 22:18:42 +00:00
Ray Greenwell
bed0c21515
make sure to paint the first frame when starting an animation.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1705 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 22:06:26 +00:00
Ray Greenwell
6a64d45eed
bugfixes
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1704 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 21:58:25 +00:00
Ray Greenwell
2d93950835
stop when we get to the end.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1703 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 21:58:12 +00:00
Michael Bayne
234d7d6971
Removed crack pipe, inserted call to super.clone().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1702 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 21:29:26 +00:00
Michael Bayne
80ac8a280f
Whoops, need to be a bit more careful with the tile cache.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1701 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 21:17:15 +00:00
Michael Bayne
7f64ab9007
Report Java serialization leg-not-feely business.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1700 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 21:05:35 +00:00
Michael Bayne
a5bba441be
An MFI implementation that obtains its source frames from a tileset.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1699 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 20:39:03 +00:00
Michael Bayne
3d9eb3edac
Cache the tiles that have been fetched from this tileset.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1698 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 20:38:42 +00:00
Michael Bayne
369900bf1a
Formatting.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1697 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 20:21:19 +00:00
Michael Bayne
fc261655b3
Created an animation that can be used to display a simple sequence of
...
frames.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1696 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 20:08:21 +00:00
Michael Bayne
963dfe16a8
Created an mechanism for more sophisticated sequencing of animation
...
frames.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1695 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 20:07:28 +00:00
Michael Bayne
2e7fd00214
Added setLocation() and reset().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1694 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 20:06:58 +00:00
Michael Bayne
c08067ac1f
Added convenience constructor for simple single frame image sprite.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1693 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 19:14:59 +00:00
Michael Bayne
380fa50610
Moved MultiFrameImage and friends from media.sprite into media.util
...
because they'll be used for both sprites and animations.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1692 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 19:11:13 +00:00
Michael Bayne
88e423bdfa
Created a path for moving things along the arc of a circle or ellipse.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1691 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 04:00:37 +00:00
Michael Bayne
9ee8dde710
Added Ramanujan's formula for an approximation of the circumference of an
...
ellipse. I didn't end up using it in the ArcPath, but it will surely come
in handy eventually.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1690 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 04:00:09 +00:00