Commit Graph

987 Commits

Author SHA1 Message Date
Ray Greenwell 759050d576 3 things: Sanity, clarity, correctness.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@587 c613c5cb-e716-0410-b11b-feb51c14d237
2008-04-29 18:33:46 +00:00
Charlie Groves e3cf4a762d Knock the idleUnloadPeriod down to 0 since GameManagers don't go idle and having a shutdown interval just keeps them resident in memory
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@586 c613c5cb-e716-0410-b11b-feb51c14d237
2008-04-29 17:55:03 +00:00
Charlie Groves 865c5def8b Return a boolean from setBaseTile to indicate if the tile was actually updated
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@585 c613c5cb-e716-0410-b11b-feb51c14d237
2008-04-25 00:45:43 +00:00
Charlie Groves 99ee2f5a5f Allow the minimum distance to be specified in computeEnteringLocation
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@584 c613c5cb-e716-0410-b11b-feb51c14d237
2008-04-22 17:35:21 +00:00
Michael Bayne 4ca129e527 Do some fiddly business to update our roundId locally in gameWillStart so that
all pre-game processing can properly know what round it is, but then actually
publish that value to the clients so that we can trigger off ROUND_ID to call
roundDidStart without having roundDidStart get called before gameDidStart.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@583 c613c5cb-e716-0410-b11b-feb51c14d237
2008-04-22 01:02:05 +00:00
Mike Thomas de194d5392 Break out the scene manager's method for handling moving to the default portal so that subclasses can override.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@582 c613c5cb-e716-0410-b11b-feb51c14d237
2008-04-19 00:23:07 +00:00
Charlie Groves 4a7cc53a88 Allow things other than portals to be painted using the portal drawing code
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@581 c613c5cb-e716-0410-b11b-feb51c14d237
2008-04-17 18:12:03 +00:00
Michael Bayne ed027becc4 Get our dependencies either from a local build or Maven.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@580 c613c5cb-e716-0410-b11b-feb51c14d237
2008-04-10 15:47:27 +00:00
Michael Bayne 47c9418eab @Entity -> @Table.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@579 c613c5cb-e716-0410-b11b-feb51c14d237
2008-04-01 21:39:08 +00:00
Charlie Groves 99205455e7 Move the common functionality from ObjectEditorDialog and PortalDialog into EditorDialog
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@578 c613c5cb-e716-0410-b11b-feb51c14d237
2008-03-26 03:23:40 +00:00
Michael Bayne 29460ce450 Don't let a player create a new table or join an existing table if they're
already sitting at a table. We also enforce this in the UI (though not in
certain cases in MSOY at the moment which is how this was uncovered).


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@577 c613c5cb-e716-0410-b11b-feb51c14d237
2008-03-24 23:00:09 +00:00
Michael Bayne c0ce0d188b Allow the no-show timer to be customized.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@576 c613c5cb-e716-0410-b11b-feb51c14d237
2008-03-21 18:17:03 +00:00
Dave Hoover 828753344d This got broken in the reorg; it's still possible for someone
to be asking for scene updates starting farther back than what 
we know about, so notice that case & return back a null list of 
updates rather than an incomplete one.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@575 c613c5cb-e716-0410-b11b-feb51c14d237
2008-03-19 17:36:22 +00:00
Michael Bayne ae4435d389 Actually just go back to returning null. That's what the javadocs say.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@574 c613c5cb-e716-0410-b11b-feb51c14d237
2008-03-18 23:51:51 +00:00
Michael Bayne b1e4460f0f Only claim to have updates if we have a non-zero sized array.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@573 c613c5cb-e716-0410-b11b-feb51c14d237
2008-03-18 23:49:53 +00:00
Michael Bayne 5710ea9d37 Allow scene updates to increment the version number by more than 1.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@572 c613c5cb-e716-0410-b11b-feb51c14d237
2008-03-18 22:54:51 +00:00
Mark Johnson ee6889395f This is throwing a wrench in bang, reverting it now and will take a better look at it later
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@571 c613c5cb-e716-0410-b11b-feb51c14d237
2008-03-13 20:21:48 +00:00
Charlie Groves 53655b2856 - Expose the results of addObject and deleteObject on EditorScenePanel
- Allow subclasses of EditorFrame to specify the EditorScenePanel and StageSceneWriter used



git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@570 c613c5cb-e716-0410-b11b-feb51c14d237
2008-03-12 06:09:41 +00:00
Charlie Groves d96a1390c5 Allow an orient to be specified to locationForObject
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@569 c613c5cb-e716-0410-b11b-feb51c14d237
2008-03-10 20:08:28 +00:00
Charlie Groves 1605df72b1 digester uses beanutils, so Eclipse needs to know about it to run the scene editor
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@568 c613c5cb-e716-0410-b11b-feb51c14d237
2008-03-06 03:12:21 +00:00
Ray Greenwell 92b90738ed Don't link in flex.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@567 c613c5cb-e716-0410-b11b-feb51c14d237
2008-03-04 04:55:45 +00:00
Dave Hoover 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.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@566 c613c5cb-e716-0410-b11b-feb51c14d237
2008-02-29 19:06:07 +00:00
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