Ray Greenwell
284494d296
The documentation says that the validator is optional, make it so.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3236 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-24 23:59:39 +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
Michael Bayne
254e60811e
Removed our temporary code as we have figured said things out.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3234 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-24 20:37:36 +00:00
Ray Greenwell
226fe41e7c
And I may as well keep the commented-out code up to date.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3233 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-24 00:57:05 +00:00
Ray Greenwell
6acbd15c2f
Small fix: if we're bypassing the copyArea scrolling on a macintosh
...
and just dirtying the entire panel, we don't want to set _dx and _dy, as
that will trigger the actual use of copyArea and so forth during painting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3232 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-23 23:38:43 +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
Landon Fuller
660ff94fc1
On Mac OS X, mark the entire panel as dirty when scrolling to fix artifact issues.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3229 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-23 20:09:23 +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
Ray Greenwell
a9ccfc8553
Don't NPE during normal operation!
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3227 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-23 00:41:58 +00:00
Michael Bayne
4cdcec6149
Do some hackery until we figure out where AuthUserObjects are getting
...
mapped into the client table without mogrified names.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3226 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-23 00:17:46 +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
f5fc8f9d2a
Added stored interval id to server SafeInterval, to match client.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3223 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-19 00:32:18 +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
ebe7a65305
Enumerate the libraries needed to compile Narya.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3219 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-18 00:16:21 +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
Michael Bayne
0b6168b1d2
No more JAVA_LIBS.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3217 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-17 23:16:02 +00:00
Michael Bayne
1bc67db023
Cope with a CrowdContext if that's all we need.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3216 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-15 01:47:52 +00:00
Ray Greenwell
39fcb381e2
Allow specific puzzles to override the default sync setting and force a sync.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3215 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-12 20:03:35 +00:00
Michael Bayne
57d8d7a703
Sprites should not be initialized with coordinates, so I changed the
...
constructor to reflect that rather than requiring coordinates that are
then not really valid.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3214 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-12 02:16:04 +00:00
Michael Bayne
01545355f5
Allow score animations to be extended.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3213 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-12 01:09:48 +00:00
Michael Bayne
4928ff01c7
Support extension.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3212 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-12 00:33:38 +00:00
Michael Bayne
1c1169e723
We need to use our view bounds here (which will be the same as the actual
...
bounds for non-scrolling views).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3211 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-11 23:53:51 +00:00
Michael Bayne
7caf2ee610
Do the right thing if we're holding onto animations while the view scrolls.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3210 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-11 23:53:06 +00:00
Michael Bayne
cd51c78619
Added support for using sprites that are fixed in relation to a
...
potentially scrolling view. Also added a means for non-sprites and
animations to hear about view scrolls.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3209 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-11 23:52:43 +00:00
Michael Bayne
512663e482
Properly dirty ourselves if we are relocated.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3208 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-11 23:51:40 +00:00
Michael Bayne
c8a66a4414
Don't assume we'll have a ClusteredBodyObject when we first log on.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3207 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-11 02:10:56 +00:00
Ray Greenwell
558cdf660e
This does not work as designed, and we can do what it tries to do in
...
a different way.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3206 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-10 22:53:22 +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
Ray Greenwell
e7fe6c017d
Some method names in ObjectEditorTable changed names.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3204 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-06 01:59:24 +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
Michael Bayne
0c5f723046
Added a method for computing the standard deviation of a set of values.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3201 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-04 04:52:31 +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
Ray Greenwell
998e38c7c2
Fixed typo in comment.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3199 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-04 00:38:12 +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
Michael Bayne
09d41faa37
Javadoc cleanup.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3193 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-30 04:33:22 +00:00
Michael Bayne
c299e830a4
Added enumerateSprites() and removeSprites().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3192 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-30 04:33:08 +00:00
Michael Bayne
4481cd5f6c
Added an import for a javadoc comment.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3191 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-29 19:33:16 +00:00
Michael Bayne
b3de84c918
Render animations behind sprites in the back layer and in front of sprites
...
in the front layer which is generally what we want.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3190 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-29 17:10:46 +00:00
Michael Bayne
78e7fd6837
The way we were postponing gameDidStart() and gameDidEnd() until after the
...
action cleared was ungood. It really only worked for the delegates. Now we
do it in a way that works for the controllers themselves and the delegates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3189 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-29 16:32:10 +00:00
Eric Lundberg
14c3a0515a
Allow more 'advanced' robots to be created by derived classes if they like.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3188 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-29 00:48:37 +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
Michael Bayne
dd1f895190
Handle the situation where a referred object and the referring object are
...
both destroyed without any intervening event processing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3186 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-28 21:59:00 +00:00