Commit Graph

3055 Commits

Author SHA1 Message Date
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
Michael Bayne 94a855d59e Allow configuration to be passed on the command line.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3097 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-27 01:41:21 +00:00
Michael Bayne 1311dafb1f Don't let freaky derived classes ruffle our feathers.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3096 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-24 22:37:47 +00:00
Ray Greenwell 5f4c4e82fd Prevent an ArrayStoreException when doing magical number pluralizing if
the array of arguments happens to be a String[].


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3094 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-23 23:21:40 +00:00
Michael Bayne 57a1cd774a Revamped the plural message selection code to magically activate itself
when appropriate and to automatically extract and use the integer value
even if it's a string so that we can compose up messages with
plural-customized versions just like we do regular messages. Magic++!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3093 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-23 22:53:39 +00:00
Michael Bayne 1229d183ff Track that object!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3092 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-23 21:10:01 +00:00
Michael Bayne a2ae7d499d Track more objects!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3091 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-23 21:05:04 +00:00
Michael Bayne bfc0fbcd3e Removed DObject dump as that is now handled by the tracked object dump.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3090 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-23 21:01:36 +00:00
Michael Bayne d28a272a2e Clear our game end tracker when the game is started once again; add code
to work around the rapid-fire endGame()/startGame() calls that don't allow
the endGame() events to propagate before startGame() is called.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3089 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-23 18:40:58 +00:00
Ray Greenwell 3d47f13e5a Let's not clear the mutelist when a player logs off, since the mutelist
is only populated when the MuteDirector is created, not when someone logs on.
The mutelist is client-side only, and in fact is shared between all users of
a machine. This is something that we should consider fixing now that
1 billion chinese are playing the game in web cafes.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3088 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-19 20:59:06 +00:00
Eric Lundberg 85f8a1296a Promote the DropBoard to a non abstract class. Add in code for our
previously abstract methods to make the class behave how a theorized
IntDropBoard would have in our previous world of abstract DropBoards.
Removes the need for the ByteDropBoard and ShortDropBoard as classes can
now derive directly from DropBoard.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3087 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-19 00:55:27 +00:00
Eric Lundberg c35b28f368 Removed the Byte and Short DropBoards. We don't send boards over the
wire in normal play, so we don't care about the space savings.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3086 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-19 00:49:59 +00:00
Michael Bayne 0b2a4f9589 A special animation that makes it easy to do fancy stuff with all the
pieces on a drop board, like slide them in or off or whatnot.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3085 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-18 01:34:19 +00:00
Michael Bayne d17e58a924 Added support for letting a media know when it's about to be ticked for
the first time. This is the only indication that things are really
underway and it's a fine time to do things like play sounds that are
synchronized with that media and do other fun stuff.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3084 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-18 01:33:32 +00:00
Michael Bayne 63fad5a1e6 Moved attachable URL factory-related comment into the appropriate class.
Added extra special magic to allow the resource: URLs to extract a tile
from an image that is actually made up of a bunch of smaller images. It's
so money.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3083 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-17 00:49:58 +00:00
Michael Bayne b7d43b786f Pulled tile calculations out into a handy utility method.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3082 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-17 00:48:40 +00:00
Michael Bayne cb5c7c5d22 Added startActionImmediately(), put it to use.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3081 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-16 22:58:23 +00:00
Michael Bayne 01c497ae64 Added hasOverlay().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3080 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-16 22:58:06 +00:00
Michael Bayne 62fed218c3 Make the PlaceConfig available.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3079 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-16 22:57:44 +00:00
Ray Greenwell 56dca09a21 Another small bullshit Ray modification- move super.finalize to the end
in case it throws...


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3078 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-14 01:56:32 +00:00
Michael Bayne 93903aead7 Call super.finalize() which requires that we also declare our throw.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3077 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-14 01:52:46 +00:00
Ray Greenwell 62f4ddb82e Allow classes that previously extended Object and had no Constructor to
continue to be constructed without a constructor even if they extend
TrackedObject.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3076 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-14 01:32:23 +00:00
Michael Bayne 864adbdc20 Tracked objects. Now to set about to figuring out what to track.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3075 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-13 23:44:16 +00:00
Ray Greenwell 3485019952 These warnings are like flies. Let's kill them.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3074 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-13 23:08:03 +00:00
Ray Greenwell 7033108662 Fixed the bug whereby someone hears a cluster that they've long left.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3073 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-13 21:46:46 +00:00
Michael Bayne fb6795fe37 Use a repeat call tracker which will properly report stack traces on any
repeat calls.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3072 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-13 21:18:39 +00:00
Michael Bayne 79da3ac15c Let the caller know that we're refusing a duplicate interesting object.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3071 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-13 20:48:27 +00:00
Ray Greenwell 439f2b2d2b Added a version of getTimeOrderString where one can specify the maximum
time unit to use.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3070 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-09 22:27:45 +00:00
Michael Bayne be14cd3877 Create all of our arrays and do it somewhere sensible.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3069 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-04 03:32:18 +00:00
Michael Bayne 89bf589d18 That is supposed to wrap.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3068 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-04 03:30:12 +00:00
Michael Bayne a924387ffb More statly bits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3067 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-04 02:36:56 +00:00
Michael Bayne 6b0695af30 Track and report some connection manager stats over a short historical
period so that we can see what sort of funny business is going on with the
network thread when the process spikes up to 100% CPU.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3066 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-04 02:31:18 +00:00
Ray Greenwell ec022ed1b2 Ask the SceneProvider to handle a moveBody request if the body is already
in the correct zone.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3064 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-30 21:13:41 +00:00
Ray Greenwell 2efe7cc777 Moved getPerformanceLevel to yohoho where it belongs.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3063 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-29 21:51:38 +00:00
Ray Greenwell 51ce5f3b4f Qualify them error messages.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3062 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-17 00:24:31 +00:00
Ray Greenwell db04c873b2 If our bundle is already ready to go, we may get the notification that it's
ready prior to even waiting for it. Handle that case.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3061 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-14 20:31:33 +00:00
Michael Bayne 0e853085d5 OK boys, we're going in. Revamped the resource manager now that it doesn't
handle downloading of resources, it simply manages them in situ. Getdown
is now responsible for all the downloading.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3060 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-14 14:06:46 +00:00
Michael Bayne c7223a89e1 New commons world order.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3059 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-13 16:37:40 +00:00
Michael Bayne 1da753e14d Brought things up to date with the latest Jakarta Commons world order.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3058 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-13 16:34:49 +00:00
Michael Bayne a6f57205d7 Make sure we stop the drop sprite from dropping at high velocity when we
suspend the puzzle. Also added some logging to debug the occasional
obscure situation where the puzzle is suspended at just the right time to
prevent the drop block from properly starting up again when we resume.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3057 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-10 05:18:59 +00:00
Michael Bayne a19b77e68b Confirm our start puzzle requests.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3056 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-10 04:17:21 +00:00
Michael Bayne fe7e9dc413 Debugging code to try to track down the cause of the multiply released
pending ratings. Somehow a game is getting ended twice even though the
code should prevent it.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3055 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-10 01:32:54 +00:00