Commit Graph

3189 Commits

Author SHA1 Message Date
Michael Bayne 421ed5126e Got a little too excited about using 1.5 features and some slipped into
Narya. I added directives to the compile line to prevent that from
happening again.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3247 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-27 17:34:55 +00:00
Michael Bayne 49b320716e A handy utility method.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3246 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-27 07:33:29 +00:00
Michael Bayne c43689b104 Make sure invocation listeners are only added to the list once.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3245 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-26 23:19:29 +00:00
Michael Bayne bf9582e31c Regenerated everything in alphabetical order.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3244 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-26 23:14:39 +00:00
Michael Bayne 7108e6e147 We need classpathref declarations here as well.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3243 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-26 23:13:42 +00:00
Michael Bayne 40b2a587c3 Load the InvocationListener class using the same classloader we use to
load the project's service classes so that they are comparable. Also sort
everything to avoid pointless changes in regenerated source files when
Java decides to arbitrarily return the methods in a different order.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3242 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-26 23:13:28 +00:00
Michael Bayne e889f5e9fe Complain if we don't have a classpathref set. Fixed regex as EOL is
apparently not a non-word character.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3241 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-26 22:48:48 +00:00
Michael Bayne 2850a15acd Factored out the code that will be shared between GenServiceTask and
GenReceiverTask (not yet implemented). Modified the task so that it can
load the service classes via a classpath declared inside ant, avoiding the
need to put project classes in Ant's classpath.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3240 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-26 22:39:09 +00:00
Michael Bayne a04e23e025 Regenerated our marshaller and dispatcher classes with the new Java-based
generator. It handles inner classes slightly differently and prepends a
project-specific header to the generated classes.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3239 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-25 04:47:40 +00:00
Michael Bayne a0d343ff04 Rewrote the code that generates InvocationService marshalling and
dispatching classes in Java to eliminate annoying dependency on the output
format of JDK 1.4.1's javap.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3238 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-25 04:46:19 +00:00
Ray Greenwell 90621e78de Moved standard puzzle chat up to the game level, so that all games
can broadcast chat messages on their object..


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3237 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-25 00:21:46 +00:00
Ray Greenwell 284494d296 The documentation says that the validator is optional, make it so.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3236 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-24 23:59:39 +00:00
Andrzej Kapolka e6b9ee5afe Check to make sure active card is still managed before sending events.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3235 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-24 22:18:33 +00:00
Michael Bayne 254e60811e Removed our temporary code as we have figured said things out.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3234 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-24 20:37:36 +00:00
Ray Greenwell 226fe41e7c And I may as well keep the commented-out code up to date.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3233 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-24 00:57:05 +00:00
Ray Greenwell 6acbd15c2f Small fix: if we're bypassing the copyArea scrolling on a macintosh
and just dirtying the entire panel, we don't want to set _dx and _dy, as
that will trigger the actual use of copyArea and so forth during painting.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3232 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-23 23:38:43 +00:00
Andrzej Kapolka 58876841c7 Changed getPartyDescription in PartyGameConfig to getDescription in GameConfig.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3231 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-23 22:28:39 +00:00
Andrzej Kapolka 98ea85c9b1 Pushed getRatingTypeId up to GameConfig.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3230 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-23 22:01:41 +00:00
Landon Fuller 660ff94fc1 On Mac OS X, mark the entire panel as dirty when scrolling to fix artifact issues.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3229 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-23 20:09:23 +00:00
Andrzej Kapolka d9d3975027 Messages to receiver/service.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3228 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-23 02:47:38 +00:00
Ray Greenwell a9ccfc8553 Don't NPE during normal operation!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3227 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-23 00:41:58 +00:00
Michael Bayne 4cdcec6149 Do some hackery until we figure out where AuthUserObjects are getting
mapped into the client table without mogrified names.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3226 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-23 00:17:46 +00:00
Andrzej Kapolka 70a23b7d80 Changes suggested by Mike.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3225 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-19 19:21:46 +00:00
Andrzej Kapolka 72a6f2f966 Switched to receiver for dealing cards.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3224 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-19 19:04:56 +00:00
Andrzej Kapolka f5fc8f9d2a Added stored interval id to server SafeInterval, to match client.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3223 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-19 00:32:18 +00:00
Andrzej Kapolka 4294134954 Moved ButtonSprite up to com.threerings.media.sprite.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3222 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-18 23:39:12 +00:00
Andrzej Kapolka e5f36ca111 Pushed reportWinnersAndLosers and related methods up to GameManager, MouseInputAdapter instead of MouseAdapter/MouseMotionAdapter.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3221 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-18 21:45:10 +00:00
Andrzej Kapolka 84b6bf5468 Various easy changes suggested by Ray.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3220 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-18 20:01:00 +00:00
Michael Bayne ebe7a65305 Enumerate the libraries needed to compile Narya.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3219 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-18 00:16:21 +00:00
Michael Bayne 8451c39797 Added missing copyright headers to the .dobj files.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3218 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-17 23:16:56 +00:00
Michael Bayne 0b6168b1d2 No more JAVA_LIBS.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3217 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-17 23:16:02 +00:00
Michael Bayne 1bc67db023 Cope with a CrowdContext if that's all we need.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3216 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-15 01:47:52 +00:00
Ray Greenwell 39fcb381e2 Allow specific puzzles to override the default sync setting and force a sync.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3215 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-12 20:03:35 +00:00
Michael Bayne 57d8d7a703 Sprites should not be initialized with coordinates, so I changed the
constructor to reflect that rather than requiring coordinates that are
then not really valid.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3214 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-12 02:16:04 +00:00
Michael Bayne 01545355f5 Allow score animations to be extended.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3213 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-12 01:09:48 +00:00
Michael Bayne 4928ff01c7 Support extension.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3212 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-12 00:33:38 +00:00
Michael Bayne 1c1169e723 We need to use our view bounds here (which will be the same as the actual
bounds for non-scrolling views).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3211 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-11 23:53:51 +00:00
Michael Bayne 7caf2ee610 Do the right thing if we're holding onto animations while the view scrolls.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3210 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-11 23:53:06 +00:00
Michael Bayne cd51c78619 Added support for using sprites that are fixed in relation to a
potentially scrolling view. Also added a means for non-sprites and
animations to hear about view scrolls.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3209 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-11 23:52:43 +00:00
Michael Bayne 512663e482 Properly dirty ourselves if we are relocated.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3208 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-11 23:51:40 +00:00
Michael Bayne c8a66a4414 Don't assume we'll have a ClusteredBodyObject when we first log on.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3207 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-11 02:10:56 +00:00
Ray Greenwell 558cdf660e This does not work as designed, and we can do what it tries to do in
a different way.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3206 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-10 22:53:22 +00:00
Andrzej Kapolka f8f251d44e Invalidate sprite before/after bounds update.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3205 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-09 03:24:50 +00:00
Ray Greenwell e7fe6c017d Some method names in ObjectEditorTable changed names.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3204 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-06 01:59:24 +00:00
Andrzej Kapolka 8bebafafa7 Changed SAUSAGE style to more general ROUNDED style.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3203 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-05 02:07:19 +00:00
Andrzej Kapolka 36b5a00139 Added TeamGameConfig interface for games with fixed teams (like Spades).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3202 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-04 23:31:10 +00:00
Michael Bayne 0c5f723046 Added a method for computing the standard deviation of a set of values.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3201 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-04 04:52:31 +00:00
Andrzej Kapolka a7a04da6df Check to make sure card sprites are still managed before posting events.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3200 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-04 02:03:47 +00:00
Ray Greenwell 998e38c7c2 Fixed typo in comment.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3199 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-04 00:38:12 +00:00
Andrzej Kapolka 87d9b14dc1 Added delicious sausage style for ButtonSprites, darkening button text on disable.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3198 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-02 23:49:58 +00:00