Commit Graph

977 Commits

Author SHA1 Message Date
Michael Bayne 75b34c6bf6 New service group world order. My enthusiasm for widening is being stretched.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@177 c613c5cb-e716-0410-b11b-feb51c14d237
2007-02-11 01:37:46 +00:00
Ray Greenwell 61d8f478e1 Removed debug that slipped in.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@176 c613c5cb-e716-0410-b11b-feb51c14d237
2007-02-10 20:56:07 +00:00
Ray Greenwell f9dcdd0627 Have the TableDirector place a party game creator in the game, rather
than forcing them from the server.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@175 c613c5cb-e716-0410-b11b-feb51c14d237
2007-02-10 20:53:05 +00:00
Ray Greenwell 3a387c7d8a - Start party games immediately.
- Validate users differently for party games.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@174 c613c5cb-e716-0410-b11b-feb51c14d237
2007-02-10 03:33:51 +00:00
Ray Greenwell 3bd6b15304 Added a convenient method to get the PartyGameType.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@173 c613c5cb-e716-0410-b11b-feb51c14d237
2007-02-10 03:33:31 +00:00
Ray Greenwell bde4a67bed Backend changes to support party games.
This will force us to migrate soon to a OID-based player indexing system.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@172 c613c5cb-e716-0410-b11b-feb51c14d237
2007-02-10 03:32:55 +00:00
Ray Greenwell 71b9ba2827 There was some code in here to not change the turn when only one player is
left. Go ahead and don't start the turn when there are no players,
and don't change it when there are 1 or LESS.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@171 c613c5cb-e716-0410-b11b-feb51c14d237
2007-02-10 03:31:47 +00:00
Ray Greenwell d902b2ed81 Fix NPE when purging a party game.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@170 c613c5cb-e716-0410-b11b-feb51c14d237
2007-02-10 03:26:46 +00:00
Ray Greenwell 26c6274289 Remove debugging.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@169 c613c5cb-e716-0410-b11b-feb51c14d237
2007-02-10 01:52:20 +00:00
Ray Greenwell 729335a4a5 The table system now supports the party game types better.
The creator of a party game isn't joining, but I think that's a problem
with the msoy client...


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@168 c613c5cb-e716-0410-b11b-feb51c14d237
2007-02-10 01:36:06 +00:00
Ray Greenwell e6c3bc3dd2 Fixed doc.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@167 c613c5cb-e716-0410-b11b-feb51c14d237
2007-02-10 01:32:35 +00:00
Robert Zubeck f8bf896e22 Quick fix to how objects are tested before being sent in a message.
We used to compare them against the Object class, but that doesn't work 
well in the presence of multiple application domains. So instead we
check for the presence of parent classes.



git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@166 c613c5cb-e716-0410-b11b-feb51c14d237
2007-02-09 21:42:13 +00:00
Dave Hoover 69f47e8ed2 Out out, damned question marks.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@165 c613c5cb-e716-0410-b11b-feb51c14d237
2007-02-05 21:22:28 +00:00
Ray Greenwell 0c1044b651 A little UI love for the # of players slider.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@164 c613c5cb-e716-0410-b11b-feb51c14d237
2007-02-02 22:15:48 +00:00
Michael Bayne 4e10f48a3b Config -> PrefsConfig.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@163 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-31 01:33:16 +00:00
Michael Bayne 525cffcf5a Config -> PrefsConfig; avoid matching a deprecated method.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@162 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-31 00:50:18 +00:00
Michael Bayne f139e30daa Annouce a player's game over *in* playerGameDidEnd() rather than after because
a natural thing to do in playerGameDidEnd() is replacePlayer() the departed
player with an AI but if we wait until after playerGameDidEnd() to announce it,
we end up announcing the departure of the newly configured AI.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@161 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-29 18:07:33 +00:00
Ray Greenwell a8108fdaa0 Extend from Canvas so that the chat overlay scrollbar works.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@160 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-29 00:14:51 +00:00
Ray Greenwell 570a8267d2 - Retain a reference to our panel in didInit().
- Cleanup.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@159 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-28 21:47:34 +00:00
Michael Bayne 4079b25024 Out! Out!
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@158 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-25 19:37:30 +00:00
Michael Bayne a7f1058eaa In these glorious modern times, we can tell the compiler about deprecation in
addition to the documentation system.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@157 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-25 19:37:21 +00:00
Ray Greenwell bb1b7ea333 Make a note as to why we're keeping this so that I don't see it and think
"Hey! That can be removed!"


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@156 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-24 23:12:22 +00:00
Dave Hoover 609452c291 Don't recurse infinitely calling createLabel with the same args over
and over. Casting host to a Component seems to make java find the
appropriate other function to call.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@155 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-24 22:55:11 +00:00
Michael Bayne 3307994221 Our host need not be a MediaPanel, but we'll preserve the MediaPanel signature
because no doubt much code exists in the wild that is compiled against that
signature.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@154 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-24 19:32:48 +00:00
Jonathan Le Plastrier 51fc3964bc On second thought, we'll take care of calling javadoc first.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@153 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-24 02:44:37 +00:00
Jonathan Le Plastrier a568110d1d We want our javadocs in the snapshot as well.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@152 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-24 02:27:34 +00:00
Jonathan Le Plastrier db7d7bd472 Let's build our snapshot into dist/ and not use ../snapshot as our temp directory.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@151 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-24 00:54:54 +00:00
Dave Hoover 1245defe65 Actually substitute keywords (these files are chock full of stale $Id$ tags)
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@150 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-24 00:22:09 +00:00
Ray Greenwell 054c4469f3 Changes to match alterations to abjectscript's StreamableArrayList.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@149 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-22 19:59:06 +00:00
Ray Greenwell f347723abe Changes stemming from a changed MediaContainer.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@148 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-18 00:37:54 +00:00
Ray Greenwell 29bec533d8 Documented the events currently being dispatched.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@147 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-12 23:10:30 +00:00
Ray Greenwell ae26fb8bcd Fill out PropertySetEvent's toString() for easier debugging.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@146 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-12 19:15:46 +00:00
Ray Greenwell ba5b931adc Fixed some wee bugs:
calling setProperty() with an array was encoding it as byte[][], even when
an index was passed in.
Messages of arrays were also encoding as byte[][] for the server, even though
the server doesn't care about messages.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@145 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-12 19:14:22 +00:00
Ray Greenwell a6de2c9bc6 Added isConnected().
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@144 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-10 19:51:49 +00:00
Andrzej Kapolka ee8f636d7e Allow subclasses to create custom backends.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@143 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-10 06:16:37 +00:00
Andrzej Kapolka 9695c3ef3a Moved default field deserialization code into separate method to allow
subclasses to read additional fields.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@142 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-09 21:23:38 +00:00
Ray Greenwell 6d2ecb8f67 Don't generate a TypeError if we're not in an EZGame environment.
It may be well worth adding an isConnected() method that can be used to test
whether the EZGame stuff is connected or whether we should just show
demo graphics or something.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@141 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-08 23:37:11 +00:00
Ray Greenwell 08d317b329 Added rescued documentation from the old EZGame class.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@140 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-06 01:58:43 +00:00
Ray Greenwell 1078ac796f Buildfix.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@139 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-06 01:57:17 +00:00
Ray Greenwell 00e2c45f01 Mostly kinda fixed up keyboard issues for EZGames.
They can add their keyboard listeners directly to the GameControl object
to receive global key events.

There are strange focus weirdnesses on the flex side- sometimes you have
focus with no focus highlight and sometimes you don't have focus and you
do have the highlight. Punting, rather than spending more hours on this.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@138 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-06 01:44:05 +00:00
Ray Greenwell 3b08974f73 Revamped EZGame to work over the security boundary.
Now, instead of implementing "Game" and having the EZGame object assigned
to you, you create it yourself using your top-level component.

You must register listeners manually, and keyboard focus is currently an
issue that I'm working on.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@137 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-05 18:59:08 +00:00
Dave Hoover 86a879a725 Type safety
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@136 c613c5cb-e716-0410-b11b-feb51c14d237
2006-12-27 07:55:38 +00:00
Michael Bayne 5f144bc8a9 Delete jar files when cleaning.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@135 c613c5cb-e716-0410-b11b-feb51c14d237
2006-12-15 23:21:59 +00:00
Ray Greenwell bbfcf85775 Remove giant obnoxious game-blocking chat display.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@134 c613c5cb-e716-0410-b11b-feb51c14d237
2006-12-08 03:43:37 +00:00
Ray Greenwell 4536556ba9 Removed debugging.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@133 c613c5cb-e716-0410-b11b-feb51c14d237
2006-11-30 23:42:27 +00:00
Michael Bayne e60e58c8b8 Use where, improved warning when we receive a playerReady() from a non-player.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@132 c613c5cb-e716-0410-b11b-feb51c14d237
2006-11-28 18:27:58 +00:00
Ray Greenwell 52febf265b Allow the TableManager to be configured to create subclasses of Table.
Commented out unneeded flash client code in Table.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@131 c613c5cb-e716-0410-b11b-feb51c14d237
2006-11-17 23:24:14 +00:00
Michael Bayne c7ff0391a6 Skip the XML bits if we don't have the XML writer.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@130 c613c5cb-e716-0410-b11b-feb51c14d237
2006-11-16 23:39:47 +00:00
Michael Bayne 4ce9c6f87d New libs.dir business.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@129 c613c5cb-e716-0410-b11b-feb51c14d237
2006-11-16 23:13:11 +00:00
Michael Bayne a8740d3b94 Use distlib.dir.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@128 c613c5cb-e716-0410-b11b-feb51c14d237
2006-11-16 21:27:16 +00:00