Commit Graph

2396 Commits

Author SHA1 Message Date
Michael Bayne 1bf86bf495 Cope with lack of game object in a few methods.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2402 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-11 21:29:21 +00:00
Michael Bayne baa595d65c Not to freak out if we don't yet have _playerOids.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2401 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-11 21:22:30 +00:00
Michael Bayne fca168018e Don't freak out if we can't load our source image.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2400 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-11 18:48:05 +00:00
Michael Bayne 5dd245dadf Make sure our socket connection is closed if authentication fails.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2399 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-10 22:02:59 +00:00
Michael Bayne ef04c6e873 Track time spent invoking units and report it in the server report log.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2398 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-10 21:04:55 +00:00
Michael Bayne 1b1c38c998 Added tracking and reporting of messages sent and received; shaved 20 off
loc by combining message dispatch into one method.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2397 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-10 18:12:16 +00:00
Michael Bayne 36624d96ac Finally got around to making compound events actually stick together until
they arrive at the client. Mmm... network efficiency++.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2396 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-10 17:48:42 +00:00
Michael Bayne 2a554f1569 Added support for object streaming debugging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2395 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-10 17:47:45 +00:00
Michael Bayne 9c113eb8dc Not to choke if we get passed a null image.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2394 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-09 22:02:20 +00:00
Michael Bayne 6ea4264eb4 If we fail to load an image, create a blank one in its stead.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2393 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-09 22:02:05 +00:00
Ray Greenwell 46b8aace97 Don't log a bunch of crap for sounds that are missing during a LOCK
unless verbose logging is turned on.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2392 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-08 20:30:44 +00:00
Ray Greenwell 758d0a4456 Give mute feedback
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2390 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-08 02:49:43 +00:00
Ray Greenwell 77633366cc Handle not finding a music player for a song gracefully.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2389 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-08 01:46:16 +00:00
Michael Bayne d987d66bf3 Whatever reason we had for assuming all off-screen tiles are passable,
that can't possibly be the right way to handle it. If you can't get there
by staying on the screen, you're not going.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2388 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-07 23:53:41 +00:00
Michael Bayne 4e1b4a00d8 Allow turning off the rendering of objects.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2387 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-07 23:32:47 +00:00
Michael Bayne 036104a7d5 If there's no base tile, it sure as hell ain't passable.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2386 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-07 22:04:39 +00:00
Michael Bayne 8d49b3cf7c Log message edits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2385 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-07 21:50:04 +00:00
Michael Bayne 7c2c067439 Fill in black if there's no base tile at all.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2384 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-07 21:43:00 +00:00
Michael Bayne 8663535d5a Exclude the experimental music players.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2382 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-06 04:36:01 +00:00
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