Commit Graph

829 Commits

Author SHA1 Message Date
Michael Bayne 7c3b05a63a Let's have the tests target build and run the tests, not just build them.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@529 c613c5cb-e716-0410-b11b-feb51c14d237
2007-12-14 00:04:17 +00:00
Michael Bayne 72136ba945 We don't build the XML tests if we don't have xml-writer.jar so let's not run
them either.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@528 c613c5cb-e716-0410-b11b-feb51c14d237
2007-12-14 00:03:59 +00:00
Mike Thomas 679f3c85cb This appears to have gotten misdirected in the great occupants-players renaming of '07. It always used to reference the member var, not the local var, and appears to still need to since the indices include all slots, not just the filled ones.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@527 c613c5cb-e716-0410-b11b-feb51c14d237
2007-12-13 18:50:54 +00:00
Ray Greenwell 57aefb8e1c Don't freak out on mouse clicks if we're not connected.
(I check every time so that this still works after you're disconnected.)


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@526 c613c5cb-e716-0410-b11b-feb51c14d237
2007-12-13 01:42:10 +00:00
Nathan Curtis 7f1ee2e1f4 @param doc tags in asdoc don't work the same as in Java. If you supply a @param for only one
paremeter, it assumes you're supplying the description for the first parameter, even if you 
supply the name of the parameter you're describing.  This basically means that docs for functions
need to supply @params for all parameters or none.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@525 c613c5cb-e716-0410-b11b-feb51c14d237
2007-12-12 19:55:31 +00:00
Tom Conkling 35b7e33984 Minor documentation update to clarify the usage of EZGameControl.startTicker
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@524 c613c5cb-e716-0410-b11b-feb51c14d237
2007-12-12 18:53:40 +00:00
Ray Greenwell 8ee89b60e8 EZGame's done get gameWillReset(), so just clear the turn holder
in gameWillStart.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@523 c613c5cb-e716-0410-b11b-feb51c14d237
2007-12-07 21:41:22 +00:00
Michael Bayne 4f94248d8b Wait to start a party and seated continuous EZ games until we've heard
playerReady() from at least one player.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@522 c613c5cb-e716-0410-b11b-feb51c14d237
2007-12-07 21:33:31 +00:00
Michael Bayne 847da11b45 Beans/frank as pointed out by Ray.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@521 c613c5cb-e716-0410-b11b-feb51c14d237
2007-12-07 21:26:03 +00:00
Michael Bayne b6b8b39c9f Slight change to playerReady() handling. For party games all occupants will
call playerReady() rather than none of them. Also tidied up the way
EZGameController delays playerReady() until the game backend is connected.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@520 c613c5cb-e716-0410-b11b-feb51c14d237
2007-12-07 21:21:09 +00:00
Ray Greenwell ddba842c5c Clear out the turn when the game restarts.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@519 c613c5cb-e716-0410-b11b-feb51c14d237
2007-12-07 19:44:48 +00:00
Ray Greenwell d855802a66 Let's continue to decode the value for each requesting function
(just to be safe), but let's document why we're doing that as well
as do it outside the try/catch, in case there's an error in our code.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@518 c613c5cb-e716-0410-b11b-feb51c14d237
2007-12-07 03:58:18 +00:00
Ray Greenwell 812feab5b5 We should always wrap calls to usercode with a try/catch. Check.
We should always log any errors thrown from usercode. Oops.
Fixed.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@517 c613c5cb-e716-0410-b11b-feb51c14d237
2007-12-07 03:50:27 +00:00
Michael Bayne daec25d27c Avoid name collision.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@516 c613c5cb-e716-0410-b11b-feb51c14d237
2007-12-06 01:42:02 +00:00
Michael Bayne 32c4464a85 Revamped some table stuff. First I don't know why I called players occupants,
that was stupid. Now they're called players. Next I added a list of watchers
rather than simply a count. If we're going to go to all the trouble to update
the table when the watchers change, let's have the goods.

This will probably break Bang and/or Yohoho. I'll fix them toot sweet.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@515 c613c5cb-e716-0410-b11b-feb51c14d237
2007-12-06 00:37:32 +00:00
Dave Hoover 0048bde6db Keyword substitution.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@514 c613c5cb-e716-0410-b11b-feb51c14d237
2007-12-03 21:09:42 +00:00
Michael Bayne 6f2dd5e614 Not so verbose.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@513 c613c5cb-e716-0410-b11b-feb51c14d237
2007-12-03 18:30:22 +00:00
Michael Bayne 7be5c32548 Enhanced configuration configuration.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@512 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-27 21:00:56 +00:00
Ray Greenwell 55926ab3ea Don't send a message about the request for a rematch in single-player games.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@511 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-27 02:15:49 +00:00
Ray Greenwell a65d124da9 Bugfix: We may get resized prior to willEnterPlace().
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@510 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-27 00:31:43 +00:00
Robert Zubeck c250220684 Goodbye little ones. See you on the other side.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@509 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-20 20:15:02 +00:00
Ray Greenwell 451baa1fb6 Created an ezgame message bundle, use that for this rematch message.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@508 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-20 01:58:42 +00:00
Robert Zubeck 9b326716c3 They lied to me, they're not really my friends! Pox on them.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@507 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-20 01:47:53 +00:00
Robert Zubeck 1630892c4b Meet my new friends, 'copy' and 'paste'.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@506 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-20 01:44:24 +00:00
Robert Zubeck 1ee799e29e Helpful utility classes for game creators.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@505 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-20 01:38:02 +00:00
Ray Greenwell ae8341de04 Removed unused isPartyGame().
(Now things use getMatchType()).


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@504 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-20 00:54:06 +00:00
Ray Greenwell 558821cb81 Unbreak the build.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@503 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-19 23:50:16 +00:00
Ray Greenwell bffb48d11b Send a chat message to the game when players request a rematch.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@502 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-19 23:37:13 +00:00
Michael Bayne 6a783e8bc4 Make the spot services work if you don't implement ClusteredBodyObject. You
won't be able to use clusters but you'll still be able to use locations and
portals.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@501 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-15 02:09:51 +00:00
Michael Bayne 3e296fce67 Similarly stay where we are on a failed move if we didn't leave our current
location in trying to get there.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@500 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-15 02:00:08 +00:00
Michael Bayne b8b63f9e28 Default to "middle" vertical alignment for our controls.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@499 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-13 23:11:55 +00:00
Michael Bayne 7ef4ef92dd Small improvements.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@498 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-13 22:58:15 +00:00
Michael Bayne e996e261f4 Please excuse my unilateral action, but I hate sliders. Use a ComboBox for
player count selection and for any range parameter of less than 16 elements.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@497 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-13 22:55:10 +00:00
Michael Bayne 8ac8a8c6ea Use GridUtil.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@496 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-13 22:38:54 +00:00
Michael Bayne 34a6d3e963 Use Grid instead of Tile as the latter requires hardcoding which blows.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@495 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-13 22:30:16 +00:00
Michael Bayne 9cfc273336 We don't need to be able to end the game here, just be a player. Simplified
some of the access checking while I was in there since the only thing that
required the turn-holder was endTurn().


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@494 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-13 21:52:16 +00:00
Ray Greenwell 26f5a67328 Log -> com.threerings.util.Log
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@493 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-13 09:31:12 +00:00
Ray Greenwell 1efafd649a "We'll add it when we need it" was what was said before, and now the
default non-fucking-obtuse dictionary has been replaced by a scrabble
dictionary that contains fucked-up wordfreak words.
You know, if you're playing a normal game "abys" is wrong, and "abyss"
is right.

So I at least added the parameter for selecting a dictionary.
Implementation pending.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@492 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-12 20:09:41 +00:00
Michael Bayne 679a5f1cfc Oops, we don't always have a no-show timer.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@491 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-12 01:57:38 +00:00
Michael Bayne 91b416f18e Cancel our no-show interval once the game starts so that if it expires after an
EZGame has finished it doesn't think that it's still pre-game and that it
should actually cancel the game.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@490 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-10 05:27:17 +00:00
Michael Bayne 717beba71f Extract GameManager creation into a specializable method.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@489 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-10 05:03:47 +00:00
Michael Bayne 4a06907ec0 Redundant cast removal.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@488 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-10 04:54:36 +00:00
Michael Bayne eb80403bbe No longer pass the manager in the constructor. As many of these delegates are
in the wild, we'll deprecate the old constructors rather than remove them.  Yay
cruft!


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@487 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-10 04:41:44 +00:00
Michael Bayne 265cf43941 Freak not out if we're being unstreamed on a Java client.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@486 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-10 01:35:02 +00:00
Michael Bayne 100a7e069a Added validateCanEndGame() made it possible for server entities to call
invocation service methods.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@485 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-10 01:20:42 +00:00
Michael Bayne 8059d9bc12 Allow the game manager we create to be augmented.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@484 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-10 01:20:19 +00:00
Michael Bayne 5d1bafd571 Nix unused imports.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@483 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-10 01:20:01 +00:00
Michael Bayne f338096580 Freak out in a controlled way if this happens.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@482 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-07 03:22:49 +00:00
Ray Greenwell adfd2c4428 Propa spelling.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@481 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-03 02:44:08 +00:00
Ray Greenwell fd3cc11c6d Re-dispatch the UNLOAD event through the gameControl.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@480 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-03 02:43:26 +00:00