b1e4460f0f
Only claim to have updates if we have a non-zero sized array.
Michael Bayne
2008-03-18 23:49:53 +00:00
5710ea9d37
Allow scene updates to increment the version number by more than 1.
Michael Bayne
2008-03-18 22:54:51 +00:00
ee6889395f
This is throwing a wrench in bang, reverting it now and will take a better look at it later
Mark Johnson
2008-03-13 20:21:48 +00:00
53655b2856
- Expose the results of addObject and deleteObject on EditorScenePanel - Allow subclasses of EditorFrame to specify the EditorScenePanel and StageSceneWriter used
Charlie Groves
2008-03-12 06:09:41 +00:00
d96a1390c5
Allow an orient to be specified to locationForObject
Charlie Groves
2008-03-10 20:08:28 +00:00
1605df72b1
digester uses beanutils, so Eclipse needs to know about it to run the scene editor
Charlie Groves
2008-03-06 03:12:21 +00:00
92b90738ed
Don't link in flex.
Ray Greenwell
2008-03-04 04:55:45 +00:00
04ff848f00
Thought I'd committed this ages ago when I was poking around at this stuff, but apparently not. Use the helper method to see if the game's in play since it's there for just that reason.
Dave Hoover
2008-02-29 19:06:07 +00:00
8b17a1daa7
Updated for flex 3.
Ray Greenwell
2008-02-22 22:41:56 +00:00
a09b5a1324
Genericize
Charlie Groves
2008-02-19 00:15:34 +00:00
6a40475c3a
narya.swc -> naryalib.swc, etc.
Michael Bayne
2008-02-18 19:52:36 +00:00
3868fb6661
Call the Flash libraries {library}lib.swc to match the pattern of flexlib.swc and also to make the Maven artifact not look like a meta-artifact that brings in all Narya/Nenya/Vilya dependencies.
Michael Bayne
2008-02-18 19:12:37 +00:00
a286a0c4e7
Build our Flash libraries.
Michael Bayne
2008-02-18 19:00:12 +00:00
50025dabf6
Parameter needs to live here.
Ray Greenwell
2008-02-17 01:00:05 +00:00
bc0a042866
Parlor moves back here.
Ray Greenwell
2008-02-17 00:59:38 +00:00
037a45b0f9
ezgame merges with whirledgame.
Ray Greenwell
2008-02-17 00:47:45 +00:00
3a9708b3de
EZgame merges with whirled games. Starting the checkins, this will break the build.
Ray Greenwell
2008-02-17 00:46:49 +00:00
6fc1f6e068
Capitalize the MESSAGE_RECEIVED event type, for consistency.
Ray Greenwell
2008-02-13 21:04:20 +00:00
8f4a9dc6b1
I'm not sure what to do with this class. It would be useful for ezgames, but the functionality is handled automatically in whirled. Let's avoid confusion by leaving this out of the asdocs..
Ray Greenwell
2008-02-05 20:57:25 +00:00
0a4d59ee8f
Documentation improvements. Removed the superfluous EZEvent.
Ray Greenwell
2008-02-05 08:11:24 +00:00
6ffedb1676
genericize
Charlie Groves
2008-01-31 02:21:07 +00:00
d622907abb
Make the spot cluster chat stuff operate on UserMessages instead of creating one at the 11th hour so we can pass in our own fancier UserMessage subclasses as appropriate.
Dave Hoover
2008-01-29 19:09:30 +00:00
8dd26afb4b
Export google-collect so we don't have to declare it in yohoho
Charlie Groves
2008-01-25 21:44:33 +00:00
0318dbe34e
Tell eclipse about google.common.collect
Dave Hoover
2008-01-25 19:40:47 +00:00
c0dde2751c
Break out registration of scene resolution listeners into its own function so it's easily accessible to subclasses that are managing scene loading in their own special ways.
Dave Hoover
2008-01-18 22:23:58 +00:00
16b210affe
Little bit of type safety, little bit of redundant cast removal.
Dave Hoover
2008-01-17 01:25:18 +00:00
b542ed3afc
Added @eventType tags to the event type constants. AsDoc is crappy: the @eventType tag has two different syntaxes, depending on whether you're using it to comment an [Event] declared by a class, or the type constant. Also: this is pointless, asdoc should be able to get this value using the other @eventType tag, but instead we have to be redundant, possibly making a mistake.
Ray Greenwell
2008-01-11 19:16:12 +00:00
4d12a7f65e
Fail earlier and more informatively.
Michael Bayne
2008-01-10 19:16:29 +00:00
249e5174ad
Added a bunch of @private tags to remove clutter from the game API docs.
Ray Greenwell
2008-01-10 00:28:43 +00:00
989d145b1d
Moved to whirled/contrib.
Ray Greenwell
2008-01-09 22:46:10 +00:00
2de9fef19d
A spot of cleanup.
Ray Greenwell
2008-01-09 00:51:59 +00:00
d198c25780
Avoid calling the type constant TYPE. Make a reasonable name for each.
Ray Greenwell
2008-01-08 01:36:18 +00:00
6e5142f938
At the end of a game, forget the current turn holder.
Ray Greenwell
2008-01-05 01:09:39 +00:00
d3456ea511
Doc update.
Ray Greenwell
2008-01-05 01:08:33 +00:00
8d55a105a9
Made turns work in party games as well as seated games. In a party game, if a next player is unspecified, the player that has been around the longest without getting a turn will get the turn.
Ray Greenwell
2008-01-05 01:05:52 +00:00
5d693ec6bd
getTurnHolder() -> getTurnHolderId().
Ray Greenwell
2008-01-04 19:21:04 +00:00
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.
Nathan Curtis
2008-01-02 23:46:46 +00:00
bc2b47a6ca
Comment tweaks.
Ray Greenwell
2007-12-22 01:23:40 +00:00
8c27874128
GameControlBackend -> EZGameBackend. Tab incompletability and prefix inconsistency finally pushed me over the edge.
Michael Bayne
2007-12-20 20:16:52 +00:00
fea5deae0a
Don't choke if we get a null locale parameter. Who knows what those kooky callers might try.
Michael Bayne
2007-12-20 20:13:29 +00:00
8b2c12bd7d
Nixed redundant casts.
Michael Bayne
2007-12-18 20:03:23 +00:00
4e1f8f78c8
Let's keep this around for future testing.
Michael Bayne
2007-12-14 02:18:58 +00:00
c37ddc3277
Revamped percentile tracker to support minimum and maximum value tracking.
Michael Bayne
2007-12-14 02:17:27 +00:00
7c3b05a63a
Let's have the tests target build and run the tests, not just build them.
Michael Bayne
2007-12-14 00:04:17 +00:00
72136ba945
We don't build the XML tests if we don't have xml-writer.jar so let's not run them either.
Michael Bayne
2007-12-14 00:03:59 +00:00
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.
Mike Thomas
2007-12-13 18:50:54 +00:00
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.)
Ray Greenwell
2007-12-13 01:42:10 +00:00
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.
Nathan Curtis
2007-12-12 19:55:31 +00:00
35b7e33984
Minor documentation update to clarify the usage of EZGameControl.startTicker
Tom Conkling
2007-12-12 18:53:40 +00:00
8ee89b60e8
EZGame's done get gameWillReset(), so just clear the turn holder in gameWillStart.
Ray Greenwell
2007-12-07 21:41:22 +00:00
4f94248d8b
Wait to start a party and seated continuous EZ games until we've heard playerReady() from at least one player.
Michael Bayne
2007-12-07 21:33:31 +00:00
847da11b45
Beans/frank as pointed out by Ray.
Michael Bayne
2007-12-07 21:26:03 +00:00
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.
Michael Bayne
2007-12-07 21:21:09 +00:00
ddba842c5c
Clear out the turn when the game restarts.
Ray Greenwell
2007-12-07 19:44:48 +00:00
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.
Ray Greenwell
2007-12-07 03:58:18 +00:00
812feab5b5
We should always wrap calls to usercode with a try/catch. Check. We should always log any errors thrown from usercode. Oops. Fixed.
Ray Greenwell
2007-12-07 03:50:27 +00:00
daec25d27c
Avoid name collision.
Michael Bayne
2007-12-06 01:42:02 +00:00
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.
Michael Bayne
2007-12-06 00:37:32 +00:00
0048bde6db
Keyword substitution.
Dave Hoover
2007-12-03 21:09:42 +00:00
6f2dd5e614
Not so verbose.
Michael Bayne
2007-12-03 18:30:22 +00:00
7be5c32548
Enhanced configuration configuration.
Michael Bayne
2007-11-27 21:00:56 +00:00
55926ab3ea
Don't send a message about the request for a rematch in single-player games.
Ray Greenwell
2007-11-27 02:15:49 +00:00
a65d124da9
Bugfix: We may get resized prior to willEnterPlace().
Ray Greenwell
2007-11-27 00:31:43 +00:00
c250220684
Goodbye little ones. See you on the other side.
Robert Zubeck
2007-11-20 20:15:02 +00:00
451baa1fb6
Created an ezgame message bundle, use that for this rematch message.
Ray Greenwell
2007-11-20 01:58:42 +00:00
9b326716c3
They lied to me, they're not really my friends! Pox on them.
Robert Zubeck
2007-11-20 01:47:53 +00:00
1630892c4b
Meet my new friends, 'copy' and 'paste'.
Robert Zubeck
2007-11-20 01:44:24 +00:00
1ee799e29e
Helpful utility classes for game creators.
Robert Zubeck
2007-11-20 01:38:02 +00:00
ae8341de04
Removed unused isPartyGame(). (Now things use getMatchType()).
Ray Greenwell
2007-11-20 00:54:06 +00:00
558821cb81
Unbreak the build.
Ray Greenwell
2007-11-19 23:50:16 +00:00
bffb48d11b
Send a chat message to the game when players request a rematch.
Ray Greenwell
2007-11-19 23:37:13 +00:00
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.
Michael Bayne
2007-11-15 02:09:51 +00:00
3e296fce67
Similarly stay where we are on a failed move if we didn't leave our current location in trying to get there.
Michael Bayne
2007-11-15 02:00:08 +00:00
b8b63f9e28
Default to "middle" vertical alignment for our controls.
Michael Bayne
2007-11-13 23:11:55 +00:00
7ef4ef92dd
Small improvements.
Michael Bayne
2007-11-13 22:58:15 +00:00
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.
Michael Bayne
2007-11-13 22:55:10 +00:00
8ac8a8c6ea
Use GridUtil.
Michael Bayne
2007-11-13 22:38:54 +00:00
34a6d3e963
Use Grid instead of Tile as the latter requires hardcoding which blows.
Michael Bayne
2007-11-13 22:30:16 +00:00
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().
Michael Bayne
2007-11-13 21:52:16 +00:00
26f5a67328
Log -> com.threerings.util.Log
Ray Greenwell
2007-11-13 09:31:12 +00:00
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.
Ray Greenwell
2007-11-12 20:09:41 +00:00
679a5f1cfc
Oops, we don't always have a no-show timer.
Michael Bayne
2007-11-12 01:57:38 +00:00
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.
Michael Bayne
2007-11-10 05:27:17 +00:00
717beba71f
Extract GameManager creation into a specializable method.
Michael Bayne
2007-11-10 05:03:47 +00:00
4a06907ec0
Redundant cast removal.
Michael Bayne
2007-11-10 04:54:36 +00:00
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!
Michael Bayne
2007-11-10 04:41:44 +00:00
265cf43941
Freak not out if we're being unstreamed on a Java client.
Michael Bayne
2007-11-10 01:35:02 +00:00
100a7e069a
Added validateCanEndGame() made it possible for server entities to call invocation service methods.
Michael Bayne
2007-11-10 01:20:42 +00:00
8059d9bc12
Allow the game manager we create to be augmented.
Michael Bayne
2007-11-10 01:20:19 +00:00
5d1bafd571
Nix unused imports.
Michael Bayne
2007-11-10 01:20:01 +00:00
f338096580
Freak out in a controlled way if this happens.
Michael Bayne
2007-11-07 03:22:49 +00:00
adfd2c4428
Propa spelling.
Ray Greenwell
2007-11-03 02:44:08 +00:00
fd3cc11c6d
Re-dispatch the UNLOAD event through the gameControl.
Ray Greenwell
2007-11-03 02:43:26 +00:00
026994edb6
Added a precondition.
Michael Bayne
2007-11-03 00:07:32 +00:00
0df9184758
Let us collect.
Michael Bayne
2007-11-02 23:10:18 +00:00
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.
Michael Bayne
2007-11-01 20:50:13 +00:00
df7a83bb32
We don't need to log a warning on NoSuchSceneException.
Michael Bayne
2007-10-31 20:33:35 +00:00
70d3d218c0
Actually we only go up to 99.
Michael Bayne
2007-10-30 01:28:21 +00:00
1bcaff4c59
Widening, added getCounts(), getRequiredScores().
Michael Bayne
2007-10-30 00:15:53 +00:00