Commit Graph

3180 Commits

Author SHA1 Message Date
Eric Lundberg 259870ee81 Reordered some imports.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3473 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-13 00:35:37 +00:00
Ray Greenwell b80eec3959 Don't let our max queue reporting drift a few ms every minute.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3472 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-12 19:04:39 +00:00
Michael Bayne 09822e45c5 Don't log our channel in the normal case to avoid potentially triggering
what I believe to be a race condition in SocketChannel.toString()
(ultimately sun.nio.ch.Net.localAddress()) on FreeBSD.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3471 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-12 18:09:17 +00:00
Michael Bayne d1a19cc346 Don't report the first time, just set our next report stamp.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3470 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-12 17:46:14 +00:00
Michael Bayne 25b84d1ed6 Allow queue reporting to be activated programmatically. Fixed bug.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3469 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-12 17:40:13 +00:00
Michael Bayne 7c24e70523 Added code to track the largest event queue size and report it every
minute if so instructed.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3468 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-12 17:33:55 +00:00
Michael Bayne 5507f1a857 Report long units in milliseconds.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3467 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-12 17:16:58 +00:00
Andrzej Kapolka 966703a56a Fixed bug in raising only selectable card.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3466 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-12 03:43:56 +00:00
Andrzej Kapolka 7fd9b51cab First checkin for the great Spades refactor.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3465 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-12 02:50:17 +00:00
Ted V bc30a3f389 Handy constructors.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3464 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-12 01:09:57 +00:00
Ted V 4e07b63ce1 Added "is it my turn?" style function.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3463 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-11 23:50:29 +00:00
Ray Greenwell 0192a84739 Print out extra information when the strange "invalid argument" socket
connect exception gets thrown.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3462 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-08 19:27:57 +00:00
Michael Bayne d233a8f27e Log a warning if we fail to delete either the Getdown marker file or the
bundle itself when wiping a bundle.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3461 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-08 00:05:41 +00:00
Ray Greenwell fa2ad0fa6c Fixed two bugs with the messages related to shunned players.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3460 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-07 02:19:07 +00:00
Michael Bayne 5539822fe2 Recommented out some old debugging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3459 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-04 22:41:40 +00:00
Ray Greenwell cead8612c7 Invalid table positions may also be too low.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3458 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-04 20:32:20 +00:00
Ray Greenwell 280df17e35 Made the clearOccupant methods maximally overrideable.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3457 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-04 20:07:24 +00:00
Michael Bayne 7e63d1c859 Avoid using the AffineTransform font derivation mechanism on MacOS X where
it is quite buggy. There are still issues with non-affine transformed
fonts, but they are lesser.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3456 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-01 22:33:42 +00:00
Michael Bayne 916c50adaa Create the colorizer before we set the scene model as that will fire up
the scene block resolver on a new thread which could, in theory, then
request said colorizer before we got around to setting it.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3455 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-01 17:03:23 +00:00
Michael Bayne 302c6656e5 Migrated the scene viewer over to Stage, though Miso has one as well.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3454 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-01 16:57:17 +00:00
Michael Bayne 934a596bfa Don't ever leave the keys grabbed.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3453 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-01 01:05:40 +00:00
Michael Bayne c0430e3131 Revamped the config object editor system to make it easier to create
custom editors for simple data types. Added a checkbox editor for boolean
fields. Also switched the layout to the side as one is likely to
accumulate many objects and allowed an object to be specified as the
default.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3452 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-01 00:03:58 +00:00
Michael Bayne 1c0260198d The adding of portals to scenes needs to be handled somewhat differently
now that all the scene updating stuff has been cleaned up. Basically we
can't rely on the updating process itself to assign a portal id, updates
must be created with all the information they need before they are applied
to the scene.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3451 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-31 19:40:55 +00:00
Ray Greenwell 31a1eb685a requestFocus() -> requestFocusInWindow()
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3450 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-31 17:26:01 +00:00
Ted V d2325761ff But wait, there's more! You'll also get Streamability at NO EXTRA CHARGE!
Supplies are limited, so act now!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3449 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-30 23:41:34 +00:00
Andrzej Kapolka 74ccc09a97 Get the pause font size from a method that can be overridden by subclasses.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3448 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-30 19:51:06 +00:00
Michael Bayne 74800cbf15 Provide some default portal icon arrows.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3447 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-30 03:08:24 +00:00
Michael Bayne 4c23b6eb64 Oops, fixed missing bits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3445 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-30 03:01:35 +00:00
Michael Bayne 5aba5ff57b Reorganized to be easily extensible.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3444 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-30 02:59:03 +00:00
Michael Bayne d3603cfdc4 We don't need the icon manager around these parts.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3443 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-30 02:46:26 +00:00
Michael Bayne 8135af3e4c Migrated the bulk of the scene editor into Stage. It's just lovely.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3442 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-30 02:39:20 +00:00
Michael Bayne 80609dbe81 Make the default tileset zero not El Magico Rando Numero Ocho.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3441 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-30 02:37:45 +00:00
Michael Bayne afa995ebb9 Finally broke down and changed createPlaceView() to eliminate the annoying
potential fuckola of being called before the controller gets around to
initializing the casted context it almost certainly needs to create its
place view.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3440 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-30 01:09:30 +00:00
Michael Bayne 2299e6a1de More Stage bits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3439 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-30 00:44:03 +00:00
Michael Bayne 0bf43bc2e8 Step two in the great Stage refactor. I don't know how many steps will be
needed all told, but I like to see the number keep going up.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3438 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-29 23:18:59 +00:00
Michael Bayne d60445e16b Better error reporting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3437 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-29 23:18:00 +00:00
Michael Bayne a62f9621b2 Step one in the fun and exciting extraction of our Miso + Whirled + Cast
juicy goodness into something reusable by SOY.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3436 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-29 20:12:34 +00:00
Ray Greenwell be8a755dad The generic set updaters weren't working because proguard renamed the
methods they were looking for.

Since it's probably impossible to have proguard generically skip renaming
for these generated method names, let's update the fields in a different way.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3434 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-28 22:31:46 +00:00
Michael Bayne a4ac47fb04 Reinstated the Presents I/O refactor with the modification of ensuring
that authentication is processed on the dobjmgr thread rather than
requiring the caller to do the right thing (or not as the case happened to
be).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3433 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-28 21:49:19 +00:00
Ray Greenwell d58d1001ac Roll it all back.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3432 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-28 19:33:28 +00:00
Ray Greenwell 36af272a63 Bad idea.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3431 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-28 19:32:48 +00:00
Ray Greenwell f6e427a26d Bugfix?
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3430 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-28 19:23:26 +00:00
Ray Greenwell 5290ab7c1d Pass the mode to the speaker validator.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3429 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-27 20:16:59 +00:00
Michael Bayne 771842edf4 Allow the current alpha value to be obtained.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3428 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-24 05:11:16 +00:00
Michael Bayne 5544701e5a Let our caller know if our fade level actually changed.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3427 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-24 04:50:52 +00:00
Michael Bayne d54c776527 Factored the fade effect out into a separate effect class so that it can
be used by sprites and animations. Ray is now thinking, "Why do we have
this wacky difference between sprites and animations?" but changing it now
would be a massive amount of typing that I'm not super interested in
doing. In any case factoring out the "effects" into separate classes is
still useful because frequently one wants to combine them in crazy ways
that would not be possible with a FadeSprite or FadeAnimation.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3426 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-24 04:36:33 +00:00
Michael Bayne cd729458f4 Factored FadeAnimation into something that can be extended to fade
different things in. Created FadeImage and FadeLabel derivations.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3425 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-24 04:18:24 +00:00
Michael Bayne 6e947f0238 Added support for antialiased label sprites.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3424 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-24 02:32:04 +00:00
Andrzej Kapolka 1d4d9fe2ba Check for null puzzle object.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3423 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-24 00:46:28 +00:00
Michael Bayne 1da2e7cc0e Call mark() on the audio input stream because that creates some sort of
push-back buffer that prevents sounds from blarching when we reset the
stream.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3422 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-03-23 20:57:38 +00:00