Commit Graph

830 Commits

Author SHA1 Message Date
Michael Bayne 38cfdf31ae Do our business in bodyWillEnter() which is more appropriate.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@787 c613c5cb-e716-0410-b11b-feb51c14d237
2008-12-05 22:41:09 +00:00
Michael Bayne 8eaf8fc7b9 Added import needed for javadoc.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@786 c613c5cb-e716-0410-b11b-feb51c14d237
2008-12-05 03:09:07 +00:00
Par Winzell b5443d8088 Accept the new argument.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@785 c613c5cb-e716-0410-b11b-feb51c14d237
2008-12-04 18:23:17 +00:00
Par Winzell 91358aa4bf The model might contain all kinds of useful stuff that we just resolved and that the resolution of the 'extras' object can make use of. Let's send it in since we have it.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@784 c613c5cb-e716-0410-b11b-feb51c14d237
2008-12-04 18:21:19 +00:00
Michael Bayne 47f24a152f Add support for loading extra data (in addition to the scene model and its
updates) during the scene resolution process which is then passed to the
manager during initialization. This is useful for information that lives in the
scene distributed object and needs to be put there before anyone arrives in the
scene.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@783 c613c5cb-e716-0410-b11b-feb51c14d237
2008-12-04 18:08:16 +00:00
Michael Bayne 2c8c193705 Tuple.create -> Tuple.newTuple.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@782 c613c5cb-e716-0410-b11b-feb51c14d237
2008-11-18 21:15:57 +00:00
Michael Bayne c83064c2c2 Find Depot in its new home.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@781 c613c5cb-e716-0410-b11b-feb51c14d237
2008-11-16 07:46:19 +00:00
Jamie Doornbos 2d427dc407 Fixed edge case where the table and game go out of sync if the user manages to leave a table after the game starts... probably not too hard on a busy server or slow connection. This was the cause of 547 "WARN TableManager: No body to table mapping to clear?" lines in yesterday's log
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@780 c613c5cb-e716-0410-b11b-feb51c14d237
2008-11-13 23:26:04 +00:00
Dave Hoover e480fed7ce Widening
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@779 c613c5cb-e716-0410-b11b-feb51c14d237
2008-11-12 18:46:33 +00:00
Dave Hoover ac0df2aa6d Misc cleanup
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@778 c613c5cb-e716-0410-b11b-feb51c14d237
2008-11-10 17:52:17 +00:00
Michael Bayne 0f635a862e RunQueue related updatery.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@777 c613c5cb-e716-0410-b11b-feb51c14d237
2008-11-08 00:07:58 +00:00
Michael Bayne dbd17886c3 ClientFactory -> SessionFactory, etc.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@776 c613c5cb-e716-0410-b11b-feb51c14d237
2008-11-06 18:24:50 +00:00
Michael Bayne 555a379742 WhirledClient -> WhirledSession.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@775 c613c5cb-e716-0410-b11b-feb51c14d237
2008-11-06 18:05:51 +00:00
Michael Bayne 2ea7b94d72 PresentsClient -> PresentsSession (and so on).
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@774 c613c5cb-e716-0410-b11b-feb51c14d237
2008-11-06 18:05:02 +00:00
Ray Greenwell 122d2fc102 Headless building for happy Mac development.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@773 c613c5cb-e716-0410-b11b-feb51c14d237
2008-11-04 01:41:05 +00:00
Michael Bayne 793e139b65 Let's use a different name for our local variable so that we don't end up
adding nothing to our nothingness.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@772 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-30 21:18:04 +00:00
Michael Bayne e894f8cbb7 Nix verbose messages whenever we walk around.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@771 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-30 20:57:37 +00:00
Mike Thomas 1889d427da Purge the use of the getChatName() hack.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@770 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-29 22:26:38 +00:00
Mike Thomas 3fff321829 Allow derived classes to work with more specifically typed arrays if they like.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@769 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-28 23:47:36 +00:00
Dave Hoover 387eb32349 Some widening & logening
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@768 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-27 23:52:47 +00:00
Ray Greenwell c26ffc6958 Linky changey.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@767 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-25 01:24:33 +00:00
Michael Bayne 83ae9ccbd6 Added support for tracking multiple percentilers for a particular game.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@766 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-24 01:34:26 +00:00
Michael Bayne 3afd325c31 Whatdyaknow, INVALID_TABLE_POSITION was actually being used for something
sensible before it was coopted to report totally unrelated errors.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@765 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-23 20:48:58 +00:00
Michael Bayne 244b9b22b8 Use error message names that make sense. Differentiate between not allowing
something because the requester is not the owner of the table and trying to
boot onesself from the table.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@764 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-23 20:20:14 +00:00
Michael Bayne 8a76c0de9f Allow a custom error handler to be provided to the TableDirector.
If ActionScript supported anonymous classes, TableDirector would not have to
implement InvocationService_ResultListener and could instead define a calldown
handleFailure() method that the client could override by anonymously extending
TableDirector at the point of instantiation and customize the failure handling
thusly. But it doesn't, and so we pollute TableDirector with yet more methods
that many clients probably don't care about.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@763 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-23 20:08:47 +00:00
Michael Bayne 68c4218324 Fixed improper indentation.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@762 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-23 20:03:15 +00:00
Dave Hoover 830653a449 Don't let us create a percentiler with an insane range, and carp if
we expand to one. I'm half tempted to also try and cap the range to something
less broken, but the bug I had that caused insanity involved recording a value of
infinity, and there's not a hell of a lot I can do to sanely recover in that
case (other than throw it away, I suppose). So let's yell a little bit
and keep from hosing us quite as much as I was when I wound up with crazy stuff
persisted to my ratings table.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@761 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-20 22:41:59 +00:00
Mike Thomas 8b737a10fd Allow a particular random object to be specified when shuffling the deck.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@760 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-17 23:33:58 +00:00
Michael Bayne 57cefe5619 Report table creation failure via chat.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@759 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-14 22:15:37 +00:00
Jamie Doornbos d2557dfb7f Change "readObject() as Type" to "Type(readObject())" for vilya for better error checking and faster failure
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@758 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-13 17:42:58 +00:00
Mike Thomas 9cf566de38 This should use the new getChatName() method.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@757 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-10 01:26:23 +00:00
Jamie Doornbos 40445fa7f9 Just noticed this old sc workaround file, it is no longer needed
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@756 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-08 20:17:58 +00:00
Charlie Groves 5dcafa47ae Add getDisplayName for names to be shown in the client.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@755 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-03 00:53:39 +00:00
Charlie Groves 9cd03095a9 Whoops, didn't mean to add this guy
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@754 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-02 00:29:47 +00:00
Charlie Groves 5a270c00d0 Genericize
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@753 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-02 00:11:26 +00:00
Mike Thomas 3c77f74a8a Allow components to be added spanning the width of the configurator.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@752 c613c5cb-e716-0410-b11b-feb51c14d237
2008-10-01 22:30:54 +00:00
Dave Hoover 8b03be111e Imports cleanup
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@751 c613c5cb-e716-0410-b11b-feb51c14d237
2008-09-26 17:36:37 +00:00
Charlie Groves 4ddb11c5bb Scenes aren't required to have a default entrance
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@750 c613c5cb-e716-0410-b11b-feb51c14d237
2008-09-26 00:34:57 +00:00
Michael Bayne 8699c2c4c5 Load our string codes in init().
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@749 c613c5cb-e716-0410-b11b-feb51c14d237
2008-09-24 18:33:35 +00:00
Michael Bayne 223ccb86a1 Allow a joiner to say "any available seat". Also attempt to report errors in
the TableDirector (in Flash) even though none of that is actually wired up in
MSOY.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@748 c613c5cb-e716-0410-b11b-feb51c14d237
2008-09-24 00:56:51 +00:00
Dave Hoover 7d160194a3 Random javadoc fixes I have kicking around.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@747 c613c5cb-e716-0410-b11b-feb51c14d237
2008-09-22 20:39:02 +00:00
Michael Bayne 961675157e Nixed unused imports.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@746 c613c5cb-e716-0410-b11b-feb51c14d237
2008-09-19 19:50:50 +00:00
Michael Bayne 722f867fa7 Grumble. Let's just make modified and modCount non-transient as that is
screwing us on Whirled when we move members' stat sets between servers. This
means Bang will be transmitting a couple of extra bytes per Stat instance down
to the client but I'd rather not have some way to make some kooky distinction
between when we're sending Stat instances between servers versus to a client.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@745 c613c5cb-e716-0410-b11b-feb51c14d237
2008-09-19 02:15:10 +00:00
Michael Bayne 4193ac8767 No longer need the cache invalidator for deleteAll(), also updated some logging
calls.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@744 c613c5cb-e716-0410-b11b-feb51c14d237
2008-09-19 02:12:45 +00:00
Michael Bayne 279f76a055 Include the modification count in our toString() output.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@743 c613c5cb-e716-0410-b11b-feb51c14d237
2008-09-19 01:55:50 +00:00
Charlie Groves 3bef51c544 Expose computeEnteringLocation directly on a StageLocation
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@742 c613c5cb-e716-0410-b11b-feb51c14d237
2008-09-16 17:21:31 +00:00
Dave Hoover 8b0488b3c9 Javadoc warnings cleanups.
Note: this involves generated code from a samskivert patch I only just sent to mdb,
but he's in a meeting, so that won't show up for a little.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@741 c613c5cb-e716-0410-b11b-feb51c14d237
2008-09-12 18:04:39 +00:00
Charlie Groves 02ec2e68a9 Revert r739. The consensus is that getDetail is too heavyweight for something that can just be parsed out of the name.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@740 c613c5cb-e716-0410-b11b-feb51c14d237
2008-09-12 02:02:59 +00:00
Charlie Groves 890628a5e4 Use the getDetail method for instance specific bits to keep invoker names constant
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@739 c613c5cb-e716-0410-b11b-feb51c14d237
2008-09-11 20:51:06 +00:00
Michael Bayne 36c3607585 Updated to use new DatabaseException.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@738 c613c5cb-e716-0410-b11b-feb51c14d237
2008-09-03 16:20:32 +00:00