Commit Graph

49 Commits

Author SHA1 Message Date
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 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 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
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 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
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
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 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
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 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
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
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 434a7cafb0 We need to set the difficulty before we set the board seed because that
triggers the generation of the boards and the difficulty needs to have
been broadcast prior to that.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3040 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-22 15:35:10 +00:00
Michael Bayne a4cdf5382e Removed vestigal constant.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3039 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-22 14:26:10 +00:00
Michael Bayne 2f0b9939d7 Some cleaning up of the difficulty handling so that we can use it as the
basis for our star system.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3038 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-22 14:08:58 +00:00
Ray Greenwell 11fba91964 Fixed pause-related bug. Lord forgive me for mucking about in here so much,
but now I've cleaned up the code that dicks with mouse listeners while
paused and moved it into an inner class so that it's easier to understand.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3002 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-05-05 02:38:22 +00:00
Ray Greenwell 1a0ae950f4 Changed module name to just "puzzle" (we're not longer in yohoho).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3001 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-05-04 23:36:01 +00:00
Ray Greenwell d3176c2d9c Sigh, fixed so that the first click is not eaten if the user unpauses
with the keyboard.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2998 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-04-30 00:02:21 +00:00
Ray Greenwell cb7007226b Use the good'ole MouseHijacker to prevent the click that unpauses to
pass through to the board view.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2996 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-04-29 00:28:05 +00:00
Ray Greenwell d5889452eb Fixed click-to-unpause for non-blockade duty puzzling...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2995 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-04-28 18:57:55 +00:00
Ray Greenwell aa7537d526 When paused, don't install the mouse-clicky unpauser on the boardview, but
rather on the whole panel. This allows us to unpause by clicking even if the
boardview is removed during pausing, as it is now in blockade duty puzzles.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2993 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-04-14 00:36:49 +00:00
Michael Bayne 32dee3cbaf 405 modified source files and 17,367 lines of diffs later we now enforce
more discipline when handling names in our code base. Any user entered
name should find its way into a Name object as soon as it comes out of a
text field or whatnot, and stay that way until it makes its way into a
text field or into a database record (for which String objects are vastly
simpler because of JORA magic).

Dear God, let me never again make a change this large for the rest of my
mortal life.

Unfortunately, this means we have to keep an eye out for funny business
pretty much everywhere. However, since we will absolutely want to test
market stalls and so forth on Azure, we'll have an opportunity to iron out
any funny business that might fall under the radar during our internal
testing.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2980 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-03-06 11:29:19 +00:00
Michael Bayne d618d3c771 Eclipse suggested cleanup.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2971 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-02-25 14:50:28 +00:00
Ray Greenwell 70cb0c1cfd It's not a draw if one player leaves the puzzle before the other one
scores any points: we are only a draw if the number of winners equals
the number of players who have not bailed.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2944 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-01-30 23:03:22 +00:00
Ray Greenwell 44247f19c6 Sigh, instead let's try giving each drop sprite only two "pop-ups".
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2928 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-31 01:26:23 +00:00
Ray Greenwell cbec145f7b Fix the floating sword-block exploit.
Pretty much what I was trying to do before, only instead of forcing the
block to a position, we continue to let the loop attempt to find a rotation
that works. Let's test and see how we like this.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2927 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-31 00:03:14 +00:00
Michael Bayne 1138be216f Combined some things that didn't need to be separated and added better
checking and error reporting.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2919 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-16 03:45:31 +00:00
Michael Bayne f0b7c187c4 Not to freak out if someone hasn't stuffed the right s3cr3t business in
the UIManager.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2901 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-10 03:32:07 +00:00
Michael Bayne ece997e937 Made getPuzzleFont() public.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2895 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-05 05:15:03 +00:00
Michael Bayne 505674bfbe Remove crack pipe, finish job.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2894 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-05 02:39:12 +00:00
Michael Bayne fedf57cbcd No implementing listener interfaces in the controller. Bad bad bad.
Unfortunately PlaceController already implements AttributeChangeListener
and various things take advantage of that. At some point I'll go in and
clean that all up, but for now I'll limit my fiddling to PuzzleController
on down.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2893 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-05 02:00:48 +00:00
Michael Bayne bd24341589 Rejiggered the order in which board state comparison logging is done.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2886 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 23:16:43 +00:00
Michael Bayne 72f4b6e1d9 This should extend ParlorContext. We be gaming.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2885 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 23:16:13 +00:00
Michael Bayne 6fd403b88d Wait until tick() is done before we clear the action.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2884 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 23:06:05 +00:00
Michael Bayne b3e07b1bc1 This needs to go back in.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2883 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 18:04:37 +00:00
Michael Bayne fa1c7af17a More updates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2882 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 17:46:06 +00:00
Michael Bayne c5a422f7a2 Track our manager in the base delegate.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2881 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 03:17:16 +00:00
Michael Bayne 2f0db5ea0f Yet more bits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2880 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 02:11:34 +00:00
Michael Bayne 5424a66006 Missed some bits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2879 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 02:07:45 +00:00
Michael Bayne 54eaddb27d Holy crap Batman! It's the beginnings of refactoring the basic puzzle
stuff into Narya.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2876 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 01:42:34 +00:00