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
Michael Bayne
abc4e9c86a
Pass the synced board state (or null) to the managers so that they can
...
behave differently (if necessary) when processing an event that has an
associated board state.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3185 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-28 19:29:59 +00:00
Michael Bayne
eb900f0084
No more SYNC_BOARD_STATE.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3184 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-28 19:20:27 +00:00
Michael Bayne
1b99ba033e
No more SYNC_BOARD_STATE either. Now that too can be activated at runtime.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3183 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-28 19:20:04 +00:00
Michael Bayne
19bd1b06bf
Javadoc cleanup.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3182 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-28 18:59:35 +00:00
Michael Bayne
bb113e6915
Only add the pause key combo if we're not robot testing.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3181 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-28 18:59:14 +00:00
Michael Bayne
aae20e9918
Make it possible for external entities to check whether or not the robot
...
tester is activated.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3180 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-28 18:53:26 +00:00
Michael Bayne
cec4e340d4
Moved ROBOT_TEST into a runtime adjust.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3179 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-28 18:37:49 +00:00
Michael Bayne
6b1be3d964
Comment edits.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3178 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-28 17:59:11 +00:00
Michael Bayne
a70efc3ffb
NoLongerAnySuchNoSuchTileException. Instead we just log a warning and
...
return a tile with an error image so that the caller doesn't freak out and
we achieve maximal "continue to work as much as possible."
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3177 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-28 17:49:02 +00:00
Michael Bayne
69e3f857c2
Don't let crazy components ruffle our feathers.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3176 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-28 17:21:56 +00:00
Michael Bayne
8e9322c7fb
Don't reclose an already closed connection, it generates a warning.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3173 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-27 01:27:44 +00:00
Michael Bayne
bb5fdbb8c0
We need to refetch our reference to the DSet if the whole thing changes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3172 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-26 21:05:27 +00:00
Michael Bayne
36a629c5e9
More ...Equal() -> ...() and ...() to ...Ref().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3171 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-23 17:36:32 +00:00
Michael Bayne
90ae3fd17e
ListUtil.contains() -> ListUtil.containsRef()
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3170 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-23 17:21:54 +00:00
Michael Bayne
0c5c30514c
Meaningless edits!
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3168 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-23 01:19:39 +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
Michael Bayne
2aafbbfe7f
We need always to call boardDidStabilize() before clearing the action
...
because that will do things like queue up score events and whatnot that
cannot be ignored. It will also queue up the next drop sprite, etc. but
that's fine as we can safely end the action in such circumstances.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3165 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-22 21:13:08 +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
5766a6650f
Removed getPuzzleName in favor of getGameName.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3162 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-22 18:11:09 +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
Michael Bayne
5dab3011e0
Don't freak out if we get lots of pongs.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3160 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-22 01:19:55 +00:00
Michael Bayne
d9eb445d84
Log if we write out big messages because I saw some stuff about bugs in
...
Windows where it wigs out and behaves as if the connection was reset by
the peer ("An existing connection was forcibly closed by the remote host")
if one writes messages bigger than about 25k. I can't imagine how we would
be sending such big messages to the server, but it's worth a check.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3159 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-21 23:36:27 +00:00
Eric Lundberg
34863f4ce0
Seems like we probably don't want this turned on.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3157 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-21 19:49:22 +00:00