bb5fdbb8c0
We need to refetch our reference to the DSet if the whole thing changes.
Michael Bayne
2004-10-26 21:05:27 +00:00
36a629c5e9
More ...Equal() -> ...() and ...() to ...Ref().
Michael Bayne
2004-10-23 17:36:32 +00:00
90ae3fd17e
ListUtil.contains() -> ListUtil.containsRef()
Michael Bayne
2004-10-23 17:21:54 +00:00
0c5c30514c
Meaningless edits!
Michael Bayne
2004-10-23 01:19:39 +00:00
4038671d75
Added separate values for red and black jokers.
Andrzej Kapolka
2004-10-22 23:19:07 +00:00
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.
Michael Bayne
2004-10-22 21:13:08 +00:00
4fda6a2fcb
Allow specification of a personality type along with the skill level when setting up AIs.
Ray Greenwell
2004-10-22 19:27:54 +00:00
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.
Michael Bayne
2004-10-22 18:50:51 +00:00
5766a6650f
Removed getPuzzleName in favor of getGameName.
Andrzej Kapolka
2004-10-22 18:11:09 +00:00
5c8e1f10af
Moved getClone, getBundle name from PuzzleConfig to GameConfig; added getGameName to GameConfig (but retained getPuzzleName for now--will change soon).
Andrzej Kapolka
2004-10-22 17:50:03 +00:00
5dab3011e0
Don't freak out if we get lots of pongs.
Michael Bayne
2004-10-22 01:19:55 +00:00
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.
Michael Bayne
2004-10-21 23:36:27 +00:00
34863f4ce0
Seems like we probably don't want this turned on.
Eric Lundberg
2004-10-21 19:49:22 +00:00
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.
Michael Bayne
2004-10-21 18:07:37 +00:00
5939e8fd02
Removed special handling that is now confined to Yohoho and its particular requirements.
Michael Bayne
2004-10-21 02:54:44 +00:00
2359961556
Pass the install target to make as it's now needed.
Michael Bayne
2004-10-20 03:32:43 +00:00
c1d95485df
Pass the "don't bitch" flag to rm.
Michael Bayne
2004-10-20 03:30:47 +00:00
17d2f97021
Build the library in our local directory, which we can check in, and install from there using the install target.
Michael Bayne
2004-10-20 03:30:20 +00:00
53afb875f0
Position the pieces before adding them to the view.
Michael Bayne
2004-10-20 02:23:36 +00:00
72aa4b05d7
Create an instance of the appropriate class when cloning.
Michael Bayne
2004-10-20 00:16:39 +00:00
aa241b22cb
Do things in a slightly more thread-safe manner (whatever that means).
Michael Bayne
2004-10-18 21:40:24 +00:00
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.
Michael Bayne
2004-10-18 21:39:18 +00:00
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.
Michael Bayne
2004-10-18 21:38:22 +00:00
722d7b9098
More log quieting.
Michael Bayne
2004-10-16 00:06:37 +00:00
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!
Michael Bayne
2004-10-15 23:52:25 +00:00
3f591a83a6
Removed vestiges of waiter system.
Michael Bayne
2004-10-15 23:36:41 +00:00
90d8320297
Removed waiter mechanism which has become vestigal and was booching things by being incorrectly used by the duty report system.
Michael Bayne
2004-10-15 23:33:51 +00:00
96677211f6
Microsecond handling was totally wrong. We didn't use it until now so it wasn't causing trouble.
Michael Bayne
2004-10-15 22:22:37 +00:00
d666c75460
Two things:
Michael Bayne
2004-10-15 22:21:38 +00:00
97e7d9c823
Spaces after ifs.
Andrzej Kapolka
2004-10-15 18:20:28 +00:00
8ad2aefdf2
Yet more formatting changes. Should be just about compliant with the standard.
Andrzej Kapolka
2004-10-15 03:09:46 +00:00
0b0fcf9d15
I had the orientations backwards.
Andrzej Kapolka
2004-10-15 00:59:53 +00:00
73f44a5ee3
Various changes for style, changes to Card recommended by Ray.
Andrzej Kapolka
2004-10-15 00:14:23 +00:00
9bbd46fa7b
Added isValid() method to Card, ability to deal single hands to CardGameManager.
Andrzej Kapolka
2004-10-13 19:29:12 +00:00
90af7c794d
A handy orientable sprite.
Andrzej Kapolka
2004-10-13 02:03:44 +00:00
82cf7b0a47
Card game services.
Andrzej Kapolka
2004-10-13 02:03:26 +00:00
af6409e742
Make the comments and logging consistent with what we're doing.
Michael Bayne
2004-10-13 01:09:14 +00:00
bbabf827f4
A simple server useful for rejecting client logins when we don't want to run a real server.
Michael Bayne
2004-10-13 01:02:19 +00:00
9927b6a684
Cleaned up import.
Eric Lundberg
2004-10-05 01:08:00 +00:00
ffc1552225
Clear out idle state when client logs off in case their client object remains around until their next session.
Michael Bayne
2004-10-01 22:04:18 +00:00
ca9e12d6ef
Allow chat characters to by typed to the JRootPane, they're probably targetted at a popup.
Ray Greenwell
2004-09-30 23:35:13 +00:00
aa3b2be4b6
Handle DSet fields being updated wholesale.
Michael Bayne
2004-09-29 04:04:20 +00:00
f74f390025
Don't modify the array passed in by the caller.
Michael Bayne
2004-09-29 01:54:14 +00:00
0e4771dbd0
Now that the drop code uses sprites to display pieces, the PieceGroupAnimation is even simpler.
Michael Bayne
2004-09-20 22:17:54 +00:00
2db2248bc4
Make the media panel's animation and sprite managers available.
Michael Bayne
2004-09-18 23:50:20 +00:00
afced0e56b
A couple of useful animations.
Michael Bayne
2004-09-18 22:58:39 +00:00
7b4aaa099f
Handy functions for computing a value that smoothly progresses as a function of time.
Michael Bayne
2004-09-18 22:57:08 +00:00
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).
Michael Bayne
2004-09-18 22:56:35 +00:00
814259ca42
Get a piece with the appropriate coordinates when updating.
Michael Bayne
2004-09-16 00:08:28 +00:00
8397a78317
Provide the board coordinates when creating piece images so that puzzles that care can do the right thing.
Michael Bayne
2004-09-15 18:48:09 +00:00
8856ae43a0
Made session ending more robust in the face of potential boocehs by derived classes.
Michael Bayne
2004-09-15 18:21:26 +00:00
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.
Michael Bayne
2004-09-13 16:11:10 +00:00
95d4bfb80e
Allow one to remove an animation observer.
Eric Lundberg
2004-09-10 22:16:54 +00:00
779461f628
Made refreshScene() public.
Ray Greenwell
2004-09-09 00:09:22 +00:00
a7ae0f76a3
Actually, moved isDraw() to GameObject, fixed bug..
Ray Greenwell
2004-09-01 21:03:11 +00:00
7122d9afe8
Added isDraw().
Ray Greenwell
2004-09-01 21:02:44 +00:00
23a843d79b
Pulled draw logic into its own method.
Ray Greenwell
2004-09-01 20:35:06 +00:00
c314d304ec
Added the interface RecolorableTileSet which indicates that a TileSet has colorizations and implements the "String[] getColorizations()" method.
Ray Greenwell
2004-08-30 22:09:29 +00:00
ae38a24d39
Removed cruft from a bygone day.
Ray Greenwell
2004-08-30 22:08:15 +00:00
9470ab69bd
Color classes can have a default color.
Ray Greenwell
2004-08-30 22:07:33 +00:00
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.
Michael Bayne
2004-08-29 06:50:47 +00:00
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.
Ray Greenwell
2004-08-28 01:23:31 +00:00
7e9ad8b36a
Put the puzzle library in its own jar file.
Michael Bayne
2004-08-27 18:39:40 +00:00
47e759e8d0
JDBC libs not needed.
Michael Bayne
2004-08-27 18:38:55 +00:00
83a1e3e090
Instructions on building and bits.
Michael Bayne
2004-08-27 17:44:44 +00:00
72abeaa86a
Edits.
Michael Bayne
2004-08-27 17:37:52 +00:00
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!
Michael Bayne
2004-08-27 17:31:48 +00:00
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.
Michael Bayne
2004-08-27 17:22:22 +00:00
22b602f974
Various enhancements to make life easier for someone getting started with the library.
Michael Bayne
2004-08-27 02:41:39 +00:00
a9720fd905
LGPLed the library. Hello world.
Michael Bayne
2004-08-27 02:21:06 +00:00
1f8c4578b7
LGPLed the library. Hello world.
Michael Bayne
2004-08-27 02:12:55 +00:00
94a855d59e
Allow configuration to be passed on the command line.
Michael Bayne
2004-08-27 01:41:21 +00:00
1311dafb1f
Don't let freaky derived classes ruffle our feathers.
Michael Bayne
2004-08-24 22:37:47 +00:00
5f4c4e82fd
Prevent an ArrayStoreException when doing magical number pluralizing if the array of arguments happens to be a String[].
Ray Greenwell
2004-08-23 23:21:40 +00:00
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++!
Michael Bayne
2004-08-23 22:53:39 +00:00
1229d183ff
Track that object!
Michael Bayne
2004-08-23 21:10:01 +00:00
a2ae7d499d
Track more objects!
Michael Bayne
2004-08-23 21:05:04 +00:00
bfc0fbcd3e
Removed DObject dump as that is now handled by the tracked object dump.
Michael Bayne
2004-08-23 21:01:36 +00:00
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.
Michael Bayne
2004-08-23 18:40:58 +00:00
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.
Ray Greenwell
2004-08-19 20:59:06 +00:00
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.
Eric Lundberg
2004-08-19 00:55:27 +00:00
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.
Eric Lundberg
2004-08-19 00:49:59 +00:00
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.
Michael Bayne
2004-08-18 01:34:19 +00:00
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.
Michael Bayne
2004-08-18 01:33:32 +00:00
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.
Michael Bayne
2004-08-17 00:49:58 +00:00
b7d43b786f
Pulled tile calculations out into a handy utility method.
Michael Bayne
2004-08-17 00:48:40 +00:00
cb5c7c5d22
Added startActionImmediately(), put it to use.
Michael Bayne
2004-08-16 22:58:23 +00:00
01c497ae64
Added hasOverlay().
Michael Bayne
2004-08-16 22:58:06 +00:00
62fed218c3
Make the PlaceConfig available.
Michael Bayne
2004-08-16 22:57:44 +00:00
56dca09a21
Another small bullshit Ray modification- move super.finalize to the end in case it throws...
Ray Greenwell
2004-08-14 01:56:32 +00:00
93903aead7
Call super.finalize() which requires that we also declare our throw.
Michael Bayne
2004-08-14 01:52:46 +00:00
62f4ddb82e
Allow classes that previously extended Object and had no Constructor to continue to be constructed without a constructor even if they extend TrackedObject.
Ray Greenwell
2004-08-14 01:32:23 +00:00
864adbdc20
Tracked objects. Now to set about to figuring out what to track.
Michael Bayne
2004-08-13 23:44:16 +00:00
3485019952
These warnings are like flies. Let's kill them.
Ray Greenwell
2004-08-13 23:08:03 +00:00
7033108662
Fixed the bug whereby someone hears a cluster that they've long left.
Ray Greenwell
2004-08-13 21:46:46 +00:00
fb6795fe37
Use a repeat call tracker which will properly report stack traces on any repeat calls.
Michael Bayne
2004-08-13 21:18:39 +00:00
79da3ac15c
Let the caller know that we're refusing a duplicate interesting object.
Michael Bayne
2004-08-13 20:48:27 +00:00
439f2b2d2b
Added a version of getTimeOrderString where one can specify the maximum time unit to use.
Ray Greenwell
2004-08-09 22:27:45 +00:00
be14cd3877
Create all of our arrays and do it somewhere sensible.
Michael Bayne
2004-08-04 03:32:18 +00:00
89bf589d18
That is supposed to wrap.
Michael Bayne
2004-08-04 03:30:12 +00:00