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
Michael Bayne
026994edb6
Added a precondition.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@479 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-03 00:07:32 +00:00
Michael Bayne
0df9184758
Let us collect.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@478 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-02 23:10:18 +00:00
Michael Bayne
3159f330e8
We don't control the XML provided by the game makers so don't generate warning
...
messages if they put bogus shit in their game definition.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@477 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-01 20:50:13 +00:00
Michael Bayne
df7a83bb32
We don't need to log a warning on NoSuchSceneException.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@476 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-31 20:33:35 +00:00
Michael Bayne
70d3d218c0
Actually we only go up to 99.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@475 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-30 01:28:21 +00:00
Michael Bayne
1bcaff4c59
Widening, added getCounts(), getRequiredScores().
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@474 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-30 00:15:53 +00:00
Dave Hoover
adaf80af0a
Rerun generators.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@473 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-26 21:06:42 +00:00
Charlie Groves
44ddce00e8
Eclipse metadata
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@472 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-26 18:37:21 +00:00
Ray Greenwell
b5d6a6008b
Removed debug logging I had intentionally left in.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@471 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-24 23:22:05 +00:00
Ray Greenwell
51f2b4b9d2
Added a method: getSize()
...
and a new event: SizeChangedEvent.
So that games can query and listen for changes to the size of their
display area.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@470 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-24 22:56:31 +00:00
Ray Greenwell
00723e90bf
Don't destructively modify the array given us by usercode.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@469 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-24 21:52:18 +00:00
Nathan Curtis
9402b71765
moar bettar
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@468 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-24 18:41:06 +00:00
Nathan Curtis
a4a47a4c1e
comment fix.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@467 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-24 18:40:22 +00:00
Ray Greenwell
a3911c21a3
Go ahead and fix this: party tables now have a 0-length occupants array.
...
TableDirector.java already had this same code (and I wrote it!) so I
feel safe making the change.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@466 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-23 23:46:51 +00:00
Ray Greenwell
1d3a53757c
Renamed endTurn() to startNextTurn().
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@465 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-23 02:02:09 +00:00
Ray Greenwell
3bb6c7e3f6
- In TurnGameManagerDelegate, pulled out random-turn picking into its
...
own method, so that subclasses can get that behavior without assuming
their their superclass implementation of setFirstTurnHolder does that.
- Use that in EZ's code, and also fall back to it if there's some problem
with the user-specified next-turn value and it's nobody's turn.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@464 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-23 01:36:20 +00:00
Ray Greenwell
df72a961db
- Start up EZGames so that it's nobody's turn.
...
- If the turn ends when it's nobody's turn and the user didn't specify
who goes next, pick a random player to go next.
- Fixed ancient bug that caused a NPE, every time. Nobody tickled it
by having a game where turns progress in a custom order.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@463 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-23 01:27:05 +00:00
Ray Greenwell
3fc47c0b9b
Comment clarification.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@462 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-23 01:23:34 +00:00
Ray Greenwell
ef70bd5752
Comment spelling fix.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@461 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-23 01:23:11 +00:00
Michael Bayne
456b93e08f
Allow our derived class to override our width/height configuration.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@460 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-20 00:06:18 +00:00
Michael Bayne
c6f72fbdf8
Create an empty occupants and oids array if we're creating a party table.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@459 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-19 22:04:33 +00:00
Ray Greenwell
f1a511d80c
Bye-bye extensible player lists. Your functionality will be simplified and
...
supplanted by the one true player list.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@458 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-18 02:31:03 +00:00
Michael Bayne
2736d652e3
Need to do that before we clear out _userFuncs.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@457 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-18 00:59:43 +00:00
Michael Bayne
60b3eabc16
Disconnect the client side when we disconnect on the backend so that we don't
...
end up differing in opinion about whether or not we're connected.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@456 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-18 00:57:56 +00:00
Michael Bayne
4e462ce974
getOccupants -> getOccupantIds.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@455 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-17 21:38:46 +00:00
Michael Bayne
ec1a243d19
When we start and end a transaction in EZGame do so on the InvocationDirector
...
as that's where all of our messages are generated.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@454 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-17 21:33:52 +00:00
Ray Greenwell
18ac5a065f
getOccupants() -> getOccupantIds(), which is more accurate and consistent
...
with SeatingControl's getPlayerIds().
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@453 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-17 21:09:48 +00:00
Ray Greenwell
c9fddfdc39
Checkpoint this crap, even though it's going to be moved and reworked.
...
Meanwhile I'm busy investigating rabbit holes of rabbit holes.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@452 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-17 19:24:29 +00:00
Michael Bayne
1b7f810246
Added getTopRatings(), moved constants into RatingCodes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@451 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-15 19:28:20 +00:00
Ray Greenwell
e8bd79d1e3
Start the game immediately if the user specifies to restart in 0 seconds.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@450 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-15 18:28:40 +00:00
Michael Bayne
1fca67a044
Factored createTable() out into a method that can be called on the server.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@449 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-12 01:09:46 +00:00
Michael Bayne
a70048dfde
Don't start the game while we're still initializing the manager. Let the
...
manager finish the startup process and then call startGame().
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@448 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-10 03:32:03 +00:00
Robert Zubeck
f6b716c4ea
Reset the round number to zero before each EZ game (in case the player keeps restarting the
...
game without quitting it). This also ensures they will get a fresh RoundStarted event at the
beginning of each new game.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@447 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-10 00:52:26 +00:00
Michael Bayne
70ea63f6cb
Un-negate the round id if a game does decide to endRound() first and then endGame().
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@446 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-09 23:49:02 +00:00
Michael Bayne
d136386348
Note that endRound() should not be called immediately prior to endGame(),
...
rather endGame() should be called and the last round is never officially
"ended". This ensures that GameObject.roundId is left in a sane state at the
end of the game in case of a rematch.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@445 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-09 23:47:37 +00:00
Michael Bayne
a88a5a3482
No need to wait for didStartup() to create this set.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@444 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-08 17:14:17 +00:00
Michael Bayne
2862b32763
Comment fiddling; clear out _pendingOids at the end of the game to avoid
...
potential weirdness if someone got into the room but never reported ready.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@443 c613c5cb-e716-0410-b11b-feb51c14d237
2007-10-08 17:12:46 +00:00