Andrzej Kapolka
f2a5845db9
GameManager was calling gameDidEnd for games that never began. Changed to check that the game was actually in play.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3302 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-01-14 22:49:13 +00:00
Ray Greenwell
b295fb2630
Regenerated with non-NPEing code.Regenerated with non-NPEing code.Regenerated with non-NPEing code.Regenerated with non-NPEing code.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3300 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-01-08 22:05:00 +00:00
Michael Bayne
c59290c91f
Allow tables of one player which are started immediately.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3297 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-01-06 07:32:06 +00:00
Michael Bayne
61c0dde5d5
Regenerated the distributed objects with the new clone happy bits.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3295 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-01-05 06:46:11 +00:00
Michael Bayne
920726f9f9
Noticed some other cleanup that could now be done.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3292 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-31 05:31:53 +00:00
Michael Bayne
0127ccba96
Only Yohoho needs the game object registered as an auxiliary source
...
because it plays games in a special place rather than actually moving the
player into the game room which naturally registers the place object as a
chat source. Fortunately, we can implement the necessary hackery to
support Yohoho in a reasonably generic manner.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3291 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-31 05:30:38 +00:00
Michael Bayne
a6da0baf48
Regenerated in the new DObject world order.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3289 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-28 03:51:47 +00:00
Michael Bayne
55a0ab91f7
Regenerated our DObject derivations in the new world order.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3288 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-28 03:51:29 +00:00
Ray Greenwell
bd80c348eb
The great Interval revamp.
...
There is no more SafeInterval, instead Intervals can be constructed with a RunQueue to use for expiring.
PresentsDObjectMgr implements RunQueue.
Client has a getRunQueue() method to get the client side RunQueue.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3283 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-22 19:23:00 +00:00
Michael Bayne
b56061da46
Added a default implementation of getRatingTypeId() as well since that's a
...
wacky notion from Yohoho that shouldn't really be in parlor in the first
place.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3276 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-15 02:39:58 +00:00
Michael Bayne
63131a8911
Added a default implementation of getGameName().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3275 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-15 02:38:42 +00:00
Ray Greenwell
feb7355804
Go back to defaultly broadcasting to game objects, in case someone ever
...
creates a traditional lobby->room server with narya, and instead allow
a broadcast object to be registered with the ChatProvider to which all
broadcasts will be sent.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3261 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-03 23:47:19 +00:00
Andrzej Kapolka
33df387517
Moved shouldBroadcast override from PuzzleObject to GameObject.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3260 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-03 23:30:34 +00:00
Andrzej Kapolka
f4bb453f83
Don't report ready if not actually a player.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3258 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-03 03:27:37 +00:00
Andrzej Kapolka
5e1b2d16ec
Added custom deserializer to initialize transient casted reference.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3253 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-30 02:19:58 +00:00
Michael Bayne
dd4ce23b93
Restructured table creation to allow it to be customized. Though I now
...
realize I will probably have to change it further.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3252 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-30 00:32:43 +00:00
Andrzej Kapolka
9dc8c542b8
Added private table property to TableConfig.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3251 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-29 23:04:56 +00:00
Michael Bayne
1965e4ed30
Terser logging.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3249 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-27 22:29:32 +00:00
Michael Bayne
d492d541b3
Create our game configurator directly rather than returning a class and
...
forcing the caller to instantiate it.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3248 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-27 21:24:33 +00:00
Michael Bayne
bf9582e31c
Regenerated everything in alphabetical order.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3244 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-26 23:14:39 +00:00
Michael Bayne
a04e23e025
Regenerated our marshaller and dispatcher classes with the new Java-based
...
generator. It handles inner classes slightly differently and prepends a
project-specific header to the generated classes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3239 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-25 04:47:40 +00:00
Ray Greenwell
90621e78de
Moved standard puzzle chat up to the game level, so that all games
...
can broadcast chat messages on their object..
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3237 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-25 00:21:46 +00:00
Andrzej Kapolka
e6b9ee5afe
Check to make sure active card is still managed before sending events.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3235 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-24 22:18:33 +00:00
Andrzej Kapolka
58876841c7
Changed getPartyDescription in PartyGameConfig to getDescription in GameConfig.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3231 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-23 22:28:39 +00:00
Andrzej Kapolka
98ea85c9b1
Pushed getRatingTypeId up to GameConfig.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3230 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-23 22:01:41 +00:00
Andrzej Kapolka
d9d3975027
Messages to receiver/service.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3228 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-23 02:47:38 +00:00
Andrzej Kapolka
70a23b7d80
Changes suggested by Mike.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3225 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-19 19:21:46 +00:00
Andrzej Kapolka
72a6f2f966
Switched to receiver for dealing cards.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3224 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-19 19:04:56 +00:00
Andrzej Kapolka
4294134954
Moved ButtonSprite up to com.threerings.media.sprite.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3222 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-18 23:39:12 +00:00
Andrzej Kapolka
e5f36ca111
Pushed reportWinnersAndLosers and related methods up to GameManager, MouseInputAdapter instead of MouseAdapter/MouseMotionAdapter.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3221 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-18 21:45:10 +00:00
Andrzej Kapolka
84b6bf5468
Various easy changes suggested by Ray.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3220 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-18 20:01:00 +00:00
Michael Bayne
8451c39797
Added missing copyright headers to the .dobj files.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3218 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-17 23:16:56 +00:00
Andrzej Kapolka
f8f251d44e
Invalidate sprite before/after bounds update.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3205 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-09 03:24:50 +00:00
Andrzej Kapolka
8bebafafa7
Changed SAUSAGE style to more general ROUNDED style.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3203 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-05 02:07:19 +00:00
Andrzej Kapolka
36b5a00139
Added TeamGameConfig interface for games with fixed teams (like Spades).
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3202 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-04 23:31:10 +00:00
Andrzej Kapolka
a7a04da6df
Check to make sure card sprites are still managed before posting events.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3200 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-04 02:03:47 +00:00
Andrzej Kapolka
87d9b14dc1
Added delicious sausage style for ButtonSprites, darkening button text on disable.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3198 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-02 23:49:58 +00:00
Andrzej Kapolka
da4bbd524c
Fixed bug in dragging behavior.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3197 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-02 02:40:27 +00:00
Andrzej Kapolka
a6ffa4dd01
Added card enter/exit event notifications.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3196 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-02 01:44:32 +00:00
Andrzej Kapolka
c4eb1457dd
Reordered suits for aesthetic purposes, made cards Comparable for sorting.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3194 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-01 22:10:21 +00:00
Andrzej Kapolka
18611da53d
Added ButtonSprite class for card game user interfaces.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3187 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-29 00:41:50 +00:00
Andrzej Kapolka
4038671d75
Added separate values for red and black jokers.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3167 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-22 23:19:07 +00:00
Ray Greenwell
4fda6a2fcb
Allow specification of a personality type along with the skill level
...
when setting up AIs.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3164 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-22 19:27:54 +00:00
Michael Bayne
f04caa3579
Changing the name of clone() just so we can change the return type is
...
Kormanian wackiness. Let's just make clone() public and use it like
civilized people.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3163 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-22 18:50:51 +00:00
Andrzej Kapolka
5c8e1f10af
Moved getClone, getBundle name from PuzzleConfig to GameConfig; added getGameName to GameConfig (but retained getPuzzleName for now--will change soon).
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3161 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-22 17:50:03 +00:00
Andrzej Kapolka
97e7d9c823
Spaces after ifs.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3139 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-15 18:20:28 +00:00
Andrzej Kapolka
8ad2aefdf2
Yet more formatting changes. Should be just about compliant with the standard.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3138 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-15 03:09:46 +00:00
Andrzej Kapolka
73f44a5ee3
Various changes for style, changes to Card recommended by Ray.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3136 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-15 00:14:23 +00:00
Andrzej Kapolka
9bbd46fa7b
Added isValid() method to Card, ability to deal single hands to CardGameManager.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3135 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-13 19:29:12 +00:00
Andrzej Kapolka
82cf7b0a47
Card game services.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3133 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-13 02:03:26 +00:00