Commit Graph

2377 Commits

Author SHA1 Message Date
Ray Greenwell 728ddcf575 only log that the queue is full (and the full damn contents of the queue)
when verbose logging is on.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2381 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-05 20:48:04 +00:00
Michael Bayne 1b29c23f6e Check and fail if a DSet is modified while we are iterating over it.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2380 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-05 20:30:44 +00:00
Michael Bayne 628bc34eef Make sure we have clips before we try to pick one at random.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2379 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-05 19:00:28 +00:00
Ray Greenwell 02081105c8 cut down on the amount of logging we do for missing sounds
(unless verbose logging is turned on.)


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2378 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-05 03:38:41 +00:00
Michael Bayne 34528419a0 We'll be needin' to use them tileset global colorizations if we got 'em.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2377 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-05 01:52:58 +00:00
Ray Greenwell 2c4c2d6b92 - only play the default sound for missing sounds if verbose sound event logging
is turned on.
- Expire PLAY requests if they are not processed within 400ms.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2376 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-04 22:34:59 +00:00
Michael Bayne ad266a629e Added ability to fetch a tileset with specific colorizations.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2375 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-04 19:36:21 +00:00
Michael Bayne dca70506f0 Cluster oid turns out to be zero when we don't have one, not -1.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2374 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-04 05:44:47 +00:00
Michael Bayne b2c24763ba Logging to help debug repeated subscription to cluster objects.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2373 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-03 22:16:51 +00:00
Michael Bayne 1942314cc1 Log our validations when debugging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2372 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-02 03:59:17 +00:00
Michael Bayne 1abea4cf12 Report the file we actually tried to load from the jar just for kicks.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2371 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-01 19:33:07 +00:00
Michael Bayne a59aa8f94d Get our listen port from a server property if specified.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2370 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-01 04:00:54 +00:00
Michael Bayne cb6d73e98c needsPaint() will only be called by the FrameManager *after* it has just
called tick(), therefore we don't need to incorporate _tickPaintPending
into our determinations. Additionally, we need to clear _tickPaintPending
if we return false from this method because we won't get painted in that
case and won't clear it in paint().


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2369 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-01 03:38:03 +00:00
Michael Bayne c8b14399c7 Added getColorizer() to allow derived classes to provide a colorizer for
use when obtaining object tiles.

Broke out display scene initialization into an init() method so that
derived classes can overrride getColorizer() and rely on their constructor
having already been called.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2368 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-01 02:17:58 +00:00
Michael Bayne 927be852bd Added support for providing colorization assignments when fetching tiles.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2367 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-01 02:16:28 +00:00
Michael Bayne f870b025b8 Make our intended location available.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2366 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-31 22:54:09 +00:00
Michael Bayne b20a6633b9 Modify the dobjmgr and invoker such that they process the rest of their
queue and then shutdown.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2365 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-31 04:11:24 +00:00
Michael Bayne b009981c5f Refuse repeat shutdown requests.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2364 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-31 04:11:01 +00:00
Michael Bayne b9f4c24a7a Allow 10 milliseconds to elapse before we'll register another ctrl-c
rather than just 1.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2363 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-31 04:10:03 +00:00
Michael Bayne 59cb9f21e5 Add directives to build libsignal.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2362 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-31 02:12:31 +00:00
Michael Bayne 23ec0c58ec Shut down all nice and happy like when we get a ctrl-c.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2361 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-31 02:10:37 +00:00
Michael Bayne 5f160cbd3a Whipped up some native code to allow signals to be caught and handled from
within Java (on Linux anyway). We dig it the most baby!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2360 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-31 02:10:04 +00:00
Michael Bayne 34cd22cc18 Need to register as a shutdowner.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2359 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-30 21:27:23 +00:00
Michael Bayne f275f57a3b Make shutdown() an instance method so that it can be augmented.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2358 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-30 21:27:13 +00:00
Michael Bayne 057a5458ad Have the client manager let the clients know that they are being shutdown.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2357 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-30 21:04:18 +00:00
Michael Bayne 1655f680aa Added a mechanism for participating in server shutdown.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2356 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-30 20:40:47 +00:00
Michael Bayne dea75fde0d Added some debug logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2355 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-30 19:45:58 +00:00
Michael Bayne 0a5714b661 Safety first!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2354 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-30 19:38:56 +00:00
Michael Bayne 4c74d96eee Add facilities for vetoing a start cluster request.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2353 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-30 03:33:52 +00:00
Michael Bayne 19354e55af Added shout chat mode.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2352 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-30 02:53:05 +00:00
Michael Bayne 3ac861d72b Better toString().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2351 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-30 02:52:53 +00:00
Michael Bayne a79b771411 Formatting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2350 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-30 02:52:41 +00:00
Michael Bayne fe88ce14a6 Checkus sanitorium.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2349 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-30 02:19:56 +00:00
Michael Bayne 17b3922946 Rewrote the iso sorting algorithm yet again. Now it's less efficient but
actually works. (Or so we hope.) Yay!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2348 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-30 02:15:13 +00:00
Michael Bayne 73b16bc018 Updated render sorting diagram.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2347 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-30 02:13:02 +00:00
Michael Bayne c69a7b0f7c Allow the frame to be constructed with a graphics configuration.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2346 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-30 00:00:00 +00:00
Michael Bayne 9c54590c92 We're not generating that colorization for our health. We need to return
it to the caller!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2345 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-29 02:30:14 +00:00
Michael Bayne 30b02ababe Cleaned up the code to be more sensible.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2344 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-27 23:45:04 +00:00
Michael Bayne 5c0879a964 Whoops, spoke to soon. That wasn't really a bug, just a misunderstanding.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2343 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-27 23:25:59 +00:00
Michael Bayne 8876bd90e4 Fixed a bug pointed out by Muffy. We love more eyes on the code!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2342 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-27 23:20:55 +00:00
Michael Bayne f0ef1a95bb Don't resubscribe if nothing changed.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2341 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-27 17:24:55 +00:00
Michael Bayne 9532dbe02a Whoops, have to add them in the proper order otherwise the target walks
over to the person who started the cluster rather than vice versa.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2340 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-27 17:13:38 +00:00
Michael Bayne dfe0e7aa5e Report to the caller (by excepting) when a cluster is full; demoted log
messages to debug.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2339 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-27 16:45:30 +00:00
Michael Bayne 5bf27ca281 Whoops, wrong error code.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2338 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-27 16:04:26 +00:00
Michael Bayne 07a426fe9b Make cluster extend Rectangle so that we get all of its lovely methods.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2337 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-27 15:57:47 +00:00
Michael Bayne c8b1404483 New error code.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2336 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-27 00:10:29 +00:00
Michael Bayne 4be173c19f More cluster fiddly.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2335 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-27 00:10:08 +00:00
Michael Bayne d29fef39ba Added getFootprint().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2334 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-26 23:42:41 +00:00
Michael Bayne 3ebff402de Provide an extensible way (what a fancy way to describe a protected
method) for validating whether a body can stand at their requested
location.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2333 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-26 22:34:24 +00:00
Michael Bayne 0c6a54380a Added canAddBody() and locationForBody().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2332 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-03-26 18:18:29 +00:00