Ray Greenwell
d198c25780
Avoid calling the type constant TYPE.
...
Make a reasonable name for each.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@542 c613c5cb-e716-0410-b11b-feb51c14d237
2008-01-08 01:36:18 +00:00
Ray Greenwell
d3456ea511
Doc update.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@540 c613c5cb-e716-0410-b11b-feb51c14d237
2008-01-05 01:08:33 +00:00
Ray Greenwell
5d693ec6bd
getTurnHolder() -> getTurnHolderId().
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@538 c613c5cb-e716-0410-b11b-feb51c14d237
2008-01-04 19:21:04 +00:00
Nathan Curtis
5044f147e0
If there are import statements after the [Event...] lines, the compiler doesn't care, but the
...
asdoc tool fails to recognize the Events, and they don't end up in the documentation.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@537 c613c5cb-e716-0410-b11b-feb51c14d237
2008-01-02 23:46:46 +00:00
Ray Greenwell
bc2b47a6ca
Comment tweaks.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@536 c613c5cb-e716-0410-b11b-feb51c14d237
2007-12-22 01:23:40 +00:00
Ray Greenwell
d711f2ae97
The great Game API re-org.
...
Moved everything onto sub-control objects.
Got rid of the Listener interfaces.
https://intranet.earth.threerings.net/metasoy/EZGame_API_Reorg
I'll go through and make the documentation nice next.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@535 c613c5cb-e716-0410-b11b-feb51c14d237
2007-12-21 23:57:02 +00:00
Michael Bayne
8c27874128
GameControlBackend -> EZGameBackend. Tab incompletability and prefix
...
inconsistency finally pushed me over the edge.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@534 c613c5cb-e716-0410-b11b-feb51c14d237
2007-12-20 20:16:52 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
cc3976a213
Use playerInRoom() to let the game manager know we've arrived but aren't ready
...
to start the game yet.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@419 c613c5cb-e716-0410-b11b-feb51c14d237
2007-08-24 23:54:06 +00:00
Michael Bayne
74665f1663
Added EZGameControl.restartGameIn(seconds).
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@416 c613c5cb-e716-0410-b11b-feb51c14d237
2007-08-23 23:19:51 +00:00
Michael Bayne
b9ba20c19b
Derived classes that are not in this package need to be able to call
...
dispatch().
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@414 c613c5cb-e716-0410-b11b-feb51c14d237
2007-08-23 00:32:36 +00:00
Michael Bayne
7c29339626
Extract that handy method.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@413 c613c5cb-e716-0410-b11b-feb51c14d237
2007-08-22 23:54:01 +00:00
Michael Bayne
1a272ef171
Widening and removal of compatibility code for never-in-the-wild functionality.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@412 c613c5cb-e716-0410-b11b-feb51c14d237
2007-08-22 23:29:54 +00:00
Michael Bayne
30d7bc4be3
When we add a chat display, we must remove it once we're done.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@397 c613c5cb-e716-0410-b11b-feb51c14d237
2007-08-02 19:12:08 +00:00
Ray Greenwell
8233be01e7
Added filter(text) to the EZGame API. Untested.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@394 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-31 06:51:20 +00:00