Commit Graph

3123 Commits

Author SHA1 Message Date
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
Michael Bayne c8416e0674 Keep track of when pieces are moving into position so that we can do
things like not render "targets" as filled until they actually arrive.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3156 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-21 18:07:37 +00:00
Michael Bayne 5939e8fd02 Removed special handling that is now confined to Yohoho and its particular
requirements.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3155 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-21 02:54:44 +00:00
Michael Bayne 2359961556 Pass the install target to make as it's now needed.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3154 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-20 03:32:43 +00:00
Michael Bayne c1d95485df Pass the "don't bitch" flag to rm.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3153 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-20 03:30:47 +00:00
Michael Bayne 17d2f97021 Build the library in our local directory, which we can check in, and
install from there using the install target.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3152 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-20 03:30:20 +00:00
Michael Bayne 53afb875f0 Position the pieces before adding them to the view.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3150 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-20 02:23:36 +00:00
Michael Bayne 72aa4b05d7 Create an instance of the appropriate class when cloning.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3149 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-20 00:16:39 +00:00
Michael Bayne aa241b22cb Do things in a slightly more thread-safe manner (whatever that means).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3148 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-18 21:40:24 +00:00
Michael Bayne dcea064ecb Allow the BundledComponentRepository to be configured to wipe out its
bundle cache if it fails to locate the data for a character action. Also
updated wipeBundle() signature.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3147 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-18 21:39:18 +00:00
Michael Bayne ad4ac9318a Modified wipeBundle() to allow preservation of the jar file and to wipe
out Getdown's "verified" marker file so that Getdown will recompute the
jar file's MD5 hash and then wipe it out and redownload it only if it is
actually corrupted.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3146 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-18 21:38:22 +00:00
Michael Bayne 722d7b9098 More log quieting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3145 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-16 00:06:37 +00:00
Michael Bayne beef7431f3 I'm so optimistic about the puzzle stuff now that the wacky waiter system
is gone, that I'll disable the action debugging. Yay optimism!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3144 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-15 23:52:25 +00:00
Michael Bayne 3f591a83a6 Removed vestiges of waiter system.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3143 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-15 23:36:41 +00:00
Michael Bayne 90d8320297 Removed waiter mechanism which has become vestigal and was booching things
by being incorrectly used by the duty report system.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3142 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-15 23:33:51 +00:00
Michael Bayne 96677211f6 Microsecond handling was totally wrong. We didn't use it until now so it
wasn't causing trouble.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3141 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-15 22:22:37 +00:00
Michael Bayne d666c75460 Two things:
1. Modified the performance metric code to use hundred microseconds rather
than milliseconds as millis are not sufficiently fine grained.

2. Switched from using an ObserverList to a hand-rolled mechanism for
frame participants. It is unfortunate that we're not reusing code (though
this turns out to be 55 fewer lines of code) but the FrameManager needs to
allow tick participants to be removed from the list while in the middle of
processing another participant's tick.

With the ObserverList we have to use SAFE_IN_ORDER_NOTIFY which adds
undesirable overhead to each tick, or FAST_UNSAFE_NOTIFY which is
efficient, but freaks out if an as-yet-unticked participant is removed
during another particpant's tick.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3140 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-15 22:21:38 +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 0b0fcf9d15 I had the orientations backwards.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3137 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-15 00:59:53 +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 90af7c794d A handy orientable sprite.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3134 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-13 02:03:44 +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
Michael Bayne af6409e742 Make the comments and logging consistent with what we're doing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3132 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-13 01:09:14 +00:00
Michael Bayne bbabf827f4 A simple server useful for rejecting client logins when we don't want to
run a real server.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3131 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-13 01:02:19 +00:00
Eric Lundberg 9927b6a684 Cleaned up import.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3130 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-05 01:08:00 +00:00
Michael Bayne ffc1552225 Clear out idle state when client logs off in case their client object
remains around until their next session.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3129 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-01 22:04:18 +00:00
Ray Greenwell ca9e12d6ef Allow chat characters to by typed to the JRootPane, they're probably targetted
at a popup.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3128 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-09-30 23:35:13 +00:00
Michael Bayne aa3b2be4b6 Handle DSet fields being updated wholesale.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3127 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-09-29 04:04:20 +00:00
Michael Bayne f74f390025 Don't modify the array passed in by the caller.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3126 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-09-29 01:54:14 +00:00
Michael Bayne 0e4771dbd0 Now that the drop code uses sprites to display pieces, the
PieceGroupAnimation is even simpler.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3125 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-09-20 22:17:54 +00:00