Commit Graph

765 Commits

Author SHA1 Message Date
Ray Greenwell 8b17a1daa7 Updated for flex 3.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@565 c613c5cb-e716-0410-b11b-feb51c14d237
2008-02-22 22:41:56 +00:00
Charlie Groves a09b5a1324 Genericize
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@564 c613c5cb-e716-0410-b11b-feb51c14d237
2008-02-19 00:15:34 +00:00
Michael Bayne 6a40475c3a narya.swc -> naryalib.swc, etc.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@563 c613c5cb-e716-0410-b11b-feb51c14d237
2008-02-18 19:52:36 +00:00
Michael Bayne 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.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@562 c613c5cb-e716-0410-b11b-feb51c14d237
2008-02-18 19:12:37 +00:00
Michael Bayne a286a0c4e7 Build our Flash libraries.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@561 c613c5cb-e716-0410-b11b-feb51c14d237
2008-02-18 19:00:12 +00:00
Ray Greenwell 50025dabf6 Parameter needs to live here.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@560 c613c5cb-e716-0410-b11b-feb51c14d237
2008-02-17 01:00:05 +00:00
Ray Greenwell bc0a042866 Parlor moves back here.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@559 c613c5cb-e716-0410-b11b-feb51c14d237
2008-02-17 00:59:38 +00:00
Ray Greenwell 037a45b0f9 ezgame merges with whirledgame.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@558 c613c5cb-e716-0410-b11b-feb51c14d237
2008-02-17 00:47:45 +00:00
Ray Greenwell 3a9708b3de EZgame merges with whirled games.
Starting the checkins, this will break the build.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@557 c613c5cb-e716-0410-b11b-feb51c14d237
2008-02-17 00:46:49 +00:00
Ray Greenwell 6fc1f6e068 Capitalize the MESSAGE_RECEIVED event type, for consistency.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@556 c613c5cb-e716-0410-b11b-feb51c14d237
2008-02-13 21:04:20 +00:00
Ray Greenwell 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..


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@555 c613c5cb-e716-0410-b11b-feb51c14d237
2008-02-05 20:57:25 +00:00
Ray Greenwell 0a4d59ee8f Documentation improvements.
Removed the superfluous EZEvent.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@554 c613c5cb-e716-0410-b11b-feb51c14d237
2008-02-05 08:11:24 +00:00
Charlie Groves 6ffedb1676 genericize
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@553 c613c5cb-e716-0410-b11b-feb51c14d237
2008-01-31 02:21:07 +00:00
Dave Hoover 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.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@552 c613c5cb-e716-0410-b11b-feb51c14d237
2008-01-29 19:09:30 +00:00
Charlie Groves 8dd26afb4b Export google-collect so we don't have to declare it in yohoho
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@551 c613c5cb-e716-0410-b11b-feb51c14d237
2008-01-25 21:44:33 +00:00
Dave Hoover 0318dbe34e Tell eclipse about google.common.collect
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@550 c613c5cb-e716-0410-b11b-feb51c14d237
2008-01-25 19:40:47 +00:00
Dave Hoover 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.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@549 c613c5cb-e716-0410-b11b-feb51c14d237
2008-01-18 22:23:58 +00:00
Dave Hoover 16b210affe Little bit of type safety, little bit of redundant cast removal.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@548 c613c5cb-e716-0410-b11b-feb51c14d237
2008-01-17 01:25:18 +00:00
Ray Greenwell 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.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@547 c613c5cb-e716-0410-b11b-feb51c14d237
2008-01-11 19:16:12 +00:00
Michael Bayne 4d12a7f65e Fail earlier and more informatively.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@546 c613c5cb-e716-0410-b11b-feb51c14d237
2008-01-10 19:16:29 +00:00
Ray Greenwell 249e5174ad Added a bunch of @private tags to remove clutter from the game API docs.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@545 c613c5cb-e716-0410-b11b-feb51c14d237
2008-01-10 00:28:43 +00:00
Ray Greenwell 989d145b1d Moved to whirled/contrib.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@544 c613c5cb-e716-0410-b11b-feb51c14d237
2008-01-09 22:46:10 +00:00
Ray Greenwell 2de9fef19d A spot of cleanup.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@543 c613c5cb-e716-0410-b11b-feb51c14d237
2008-01-09 00:51:59 +00:00
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 6e5142f938 At the end of a game, forget the current turn holder.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@541 c613c5cb-e716-0410-b11b-feb51c14d237
2008-01-05 01:09:39 +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 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.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@539 c613c5cb-e716-0410-b11b-feb51c14d237
2008-01-05 01:05:52 +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
Michael Bayne fea5deae0a Don't choke if we get a null locale parameter. Who knows what those kooky
callers might try.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@533 c613c5cb-e716-0410-b11b-feb51c14d237
2007-12-20 20:13:29 +00:00
Michael Bayne 8b2c12bd7d Nixed redundant casts.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@532 c613c5cb-e716-0410-b11b-feb51c14d237
2007-12-18 20:03:23 +00:00
Michael Bayne 4e1f8f78c8 Let's keep this around for future testing.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@531 c613c5cb-e716-0410-b11b-feb51c14d237
2007-12-14 02:18:58 +00:00
Michael Bayne c37ddc3277 Revamped percentile tracker to support minimum and maximum value tracking.
While testing the new code I discovered that redistribution of large data sets
that approximate a normal curve can cause some funny quantization because the
redistribution algorithm assumes all values in a single bucket are flatly
distributed, but if they actually skew substantially toward the high or low end
of the bucket, then the redistribution generates a choppy curve. Fortunately
this has almost no impact on the percentile curve, which is what's actually
important, it just makes the graph of the contents of the buckets look less
smooth and sexy. Alas.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@530 c613c5cb-e716-0410-b11b-feb51c14d237
2007-12-14 02:17:27 +00:00
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