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
Michael Bayne
2db2248bc4
Make the media panel's animation and sprite managers available.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3124 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-09-18 23:50:20 +00:00
Michael Bayne
afced0e56b
A couple of useful animations.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3123 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-09-18 22:58:39 +00:00
Michael Bayne
7b4aaa099f
Handy functions for computing a value that smoothly progresses as a
...
function of time.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3122 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-09-18 22:57:08 +00:00
Michael Bayne
1a79a676ab
The default implementation works with an animation manager which is what
...
we want to do most of the time anyway (in cases where we don't care about
whether an animation is "interesting" with regard to puzzle action).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3121 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-09-18 22:56:35 +00:00
Michael Bayne
814259ca42
Get a piece with the appropriate coordinates when updating.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3120 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-09-16 00:08:28 +00:00
Michael Bayne
8397a78317
Provide the board coordinates when creating piece images so that puzzles
...
that care can do the right thing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3119 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-09-15 18:48:09 +00:00
Michael Bayne
8856ae43a0
Made session ending more robust in the face of potential boocehs by
...
derived classes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3118 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-09-15 18:21:26 +00:00
Michael Bayne
e535e580da
Brought these two classes back into sync. This wiped out the
...
hand-modifications to setState() but we're no longer having problems with
multiply ending games so they are no longer needed.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3117 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-09-13 16:11:10 +00:00
Eric Lundberg
95d4bfb80e
Allow one to remove an animation observer.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3116 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-09-10 22:16:54 +00:00
Ray Greenwell
779461f628
Made refreshScene() public.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3115 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-09-09 00:09:22 +00:00
Ray Greenwell
a7ae0f76a3
Actually, moved isDraw() to GameObject, fixed bug..
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3114 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-09-01 21:03:11 +00:00
Ray Greenwell
7122d9afe8
Added isDraw().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3113 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-09-01 21:02:44 +00:00
Ray Greenwell
23a843d79b
Pulled draw logic into its own method.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3112 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-09-01 20:35:06 +00:00
Ray Greenwell
c314d304ec
Added the interface RecolorableTileSet which indicates that a TileSet
...
has colorizations and implements the "String[] getColorizations()" method.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3111 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-30 22:09:29 +00:00
Ray Greenwell
ae38a24d39
Removed cruft from a bygone day.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3110 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-30 22:08:15 +00:00
Ray Greenwell
9470ab69bd
Color classes can have a default color.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3109 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-30 22:07:33 +00:00
Michael Bayne
97086356fc
Revamped drop puzzle framework to use sprites for pieces instead of
...
rendering the board from the board state and doing all manner of jockeying
to prevent that from wigging out when the board state changes before the
display is ready to change.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3108 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-29 06:50:47 +00:00
Ray Greenwell
174d0ac3ad
It turns out that a cloned Object does not call any instance initializers,
...
which makes sense when you think about it, so we now increment the instance
when an object is cloned or created.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3107 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-28 01:23:31 +00:00
Michael Bayne
7e9ad8b36a
Put the puzzle library in its own jar file.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3106 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-27 18:39:40 +00:00
Michael Bayne
47e759e8d0
JDBC libs not needed.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3105 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-27 18:38:55 +00:00
Michael Bayne
83a1e3e090
Instructions on building and bits.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3104 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-27 17:44:44 +00:00
Michael Bayne
72abeaa86a
Edits.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3103 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-27 17:37:52 +00:00
Michael Bayne
d7cae590a6
Why ant can't just fucking preserve the existing file permissions I have
...
no goddamned idea. Instead we have to tell it what to permission how. Yay!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3102 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-27 17:31:48 +00:00
Michael Bayne
1fe5adff0b
Jar files don't preserve file permissions (yay!) so instead we create a
...
tar.gz and zip file just like all the other poor bastards trying to
distribute source in the Java world.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3101 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-27 17:22:22 +00:00
Michael Bayne
22b602f974
Various enhancements to make life easier for someone getting started with
...
the library.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3100 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-27 02:41:39 +00:00
Michael Bayne
a9720fd905
LGPLed the library. Hello world.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3099 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-27 02:21:06 +00:00
Michael Bayne
1f8c4578b7
LGPLed the library. Hello world.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3098 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-27 02:12:55 +00:00