Commit Graph

3040 Commits

Author SHA1 Message Date
Michael Bayne 69cd0b41a7 Provide a default green background for games that don't provide an image.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3483 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-13 21:41:35 +00:00
Michael Bayne 0cd9b75c09 Don't send hands to AI players.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3482 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-13 21:39:15 +00:00
Andrzej Kapolka 86959a5191 Added updateBounds method to LabelSprite to allow changing the label, added methods to TrickCardGameUtil to get players left/right/opposite, changed the way CardPanel handles selections.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3481 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-13 21:09:32 +00:00
Ray Greenwell 4c3dd9b1af Dodge the BSD bug with toStringing a channel.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3480 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-13 19:18:45 +00:00
Michael Bayne 9692c7d221 Moved the main functionality of the score animation into
FloatingTextAnimation which is more sensibly named and in a place where
everyone who wants to use it can do so without creating a pointless
dependency on the puzzle code.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3479 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-13 19:06:33 +00:00
Michael Bayne 9b3bd6ca3d Moved HourglassView and TimerView into Narya as they are generally useful.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3478 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-13 19:00:31 +00:00
Ray Greenwell 27e9719c8b Include a spacer to the right of the checkbox so that errant clicks on
that side don't cause the box to toggle.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3477 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-13 17:07:53 +00:00
Andrzej Kapolka e5442732aa Made a change to prevent cards sticking up after hand readjustment.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3476 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-13 02:45:32 +00:00
Andrzej Kapolka 743ff2bbbc Clear out played card fields when they shouldn't be displayed.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3475 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-13 01:42:18 +00:00
Andrzej Kapolka d2b4be178a Moved rematch handling up the hierarchy, made Card constructor public in order to create specific cards for searching, etc.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3474 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-13 01:15:43 +00:00
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