Walter Korman
25bd81e59a
Added facilities for disabling the playing of sound without shutting down
...
the sound manager wholeheartedly.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1760 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-30 06:13:36 +00:00
Michael Bayne
59c522aae5
Updated deprecated references to project.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1759 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-27 19:02:15 +00:00
Michael Bayne
7dccce81c5
Account for sprite render priority when sorting sprites.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1758 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-26 23:35:10 +00:00
Michael Bayne
e2687d5474
Less debug logging.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1757 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-26 17:49:36 +00:00
Michael Bayne
4e9acda18d
Sort the mappings prior to writing the map file to enhance map file
...
stability wrt diffing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1756 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-26 02:08:47 +00:00
Michael Bayne
3ed25c9bce
Sort the damned component map prior to writing it out so that additions
...
are easy to see in a CVS diff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1755 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-26 02:05:59 +00:00
Walter Korman
fd71c2a853
Take into account the x-offset of the rectangle within which the image is
...
being rendered when drawing the right edge of the image.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1754 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-25 21:49:53 +00:00
Michael Bayne
9acc27d3f3
Not to freak out if we can't load an image. Log an error and return a fake
...
image instead.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1753 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-25 07:15:16 +00:00
Michael Bayne
42b22f1acc
Experimental alternate toString() formatting style for DObject. Hopefully
...
it will be well liked.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1752 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-25 03:02:00 +00:00
Michael Bayne
a21ea989e8
No built-in title.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1751 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-25 03:01:14 +00:00
Walter Korman
6fc4c718ab
Properly return an explicitly-specified preferred size in
...
getPreferredSize().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1750 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-24 07:56:25 +00:00
Michael Bayne
64bb4715cc
Added le big hackola, grabNewObjects(), to tide us over until IsoSceneView
...
properly obtains new objects as they are scrolled into view (which I won't
be doing for Alpha (tm)).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1749 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-24 05:33:51 +00:00
Michael Bayne
0a90590134
Exposed getScene().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1748 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-24 05:33:05 +00:00
Michael Bayne
6c7bee6c1d
Logging cleanups.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1747 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-24 00:51:01 +00:00
Michael Bayne
6f2da6a584
Use StringUtil and hopefully we'll actually get address information.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1746 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-24 00:50:27 +00:00
Michael Bayne
ddb9734501
Create an object priorities array if none is specified in the XML.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1745 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-23 23:53:33 +00:00
Michael Bayne
d675e3f970
Preserve the transparency characteristics when creating an image optimized
...
for display on screen.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1744 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-23 23:30:23 +00:00
Michael Bayne
68af441fbf
Objects now have explicit render priorities rather than relying on the
...
order in which they were added to the scene (that information is no longer
available as objects are reordered arbitrarily once loaded).
Also removed old-school scene conversion.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1743 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-23 23:07:11 +00:00
Michael Bayne
92c8748c7c
More progress toward arbitrarily scrollable scenes. The IsoSceneView still
...
requests all objects in God's green earth, but we now have the necessary
structures for it to request new objects as they scroll (nearly) into view
and for it to abandon objects as they scroll (way) out of view.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1742 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-23 21:54:50 +00:00
Michael Bayne
552d73de59
Used to keep around all visible (or nearly visible) objects in a scene.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1741 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-23 21:53:23 +00:00
Michael Bayne
f7e383d667
Terser toString().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1740 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-23 21:52:43 +00:00
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
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
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