Commit Graph

3224 Commits

Author SHA1 Message Date
Ray Greenwell 8ee6cb6fae There is no more nodemap.jar
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3282 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-22 19:00:30 +00:00
Ray Greenwell 60582d2f5c May as well let the PAUSE key pause/unpause, and cleaned up comments.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3281 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-22 00:23:10 +00:00
Ray Greenwell 6b8ac486b3 Removed ancient nodemap stuff of questionable value.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3280 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-22 00:04:07 +00:00
Ray Greenwell 19aaa0fa3c Rather than greatly complicating the user interface (and code) for defining
custom keys to include a 'global' section, I've just re-added the P key
in a hard-coded manner. If the P key is pressed, the puzzle isn't already
paused, and the user has not redefined P to perform some other command in
the puzzle, it will pause.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3279 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-20 23:46:36 +00:00
Ray Greenwell 7afefd747b Only allow sprites and objects to be clicked with the first mouse button.
Will this change be as ill received as removing "P" from chat? Who knows.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3278 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-15 23:01:45 +00:00
Michael Bayne cea4f80676 Compute from the screen size the longest we will allow our A* paths to
reach while path finding.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3277 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-15 03:29:32 +00:00
Michael Bayne b56061da46 Added a default implementation of getRatingTypeId() as well since that's a
wacky notion from Yohoho that shouldn't really be in parlor in the first
place.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3276 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-15 02:39:58 +00:00
Michael Bayne 63131a8911 Added a default implementation of getGameName().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3275 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-15 02:38:42 +00:00
Michael Bayne 3bbdef33d7 Do our privileged business in PrivilegedAction wrappers which allows
Java's magical security system to do the right thing (or so I think).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3274 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-15 02:15:02 +00:00
Michael Bayne 03c590b6cf Removed old debug logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3273 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-14 20:12:59 +00:00
Ray Greenwell 73832f59eb Made KeyRecord a static class.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3272 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-13 07:52:09 +00:00
Michael Bayne 6944f479d1 Removed inadvertently checked in test logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3271 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-10 21:36:03 +00:00
Michael Bayne aeff9e61cf Not having a client is not a warnable offense. All server only
"characters" (NPPs in Yohoho) have no client.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3270 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-10 19:16:57 +00:00
Michael Bayne a6d7764e29 More custom classloader support. We now have a proof-of-concept working so
it's unlikely that the rabbit hole will surprise us with further depth.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3269 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-10 02:54:26 +00:00
Michael Bayne c92a922678 The rabbit hole goes deeper. Now we can configure the client with a custom
classloader to use when unserializing objects off the network. Also fixed
the way custom classloaders were used as Class.forName(class, true,
loader) seems to be the proper way to go to have caching work and whatnot.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3268 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-10 01:23:44 +00:00
Michael Bayne f16beaa0a1 Allow custom classloaders to be used when loading PlaceManager
implementations and their ilk.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3267 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-10 00:41:38 +00:00
Michael Bayne 5f7409307f Allow a derived place registry to be used.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3266 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-10 00:27:31 +00:00
Ray Greenwell e7ef1e3e61 Support long[] values.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3265 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-09 01:34:50 +00:00
Ray Greenwell 129f302938 Put the pause label in the middle of the visible board.
This fixes the bug where there was no pause message in carpentry.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3264 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-08 00:08:44 +00:00
Ray Greenwell 7b3750c19c Log when a shutdown is initiated by someone pressing ctrl-C (or sending
the process the same signal another way).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3263 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-06 22:11:57 +00:00
Ray Greenwell ecd8e2e8b6 Clear all mappings of oid->chat type when the user logs off.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3262 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-04 00:02:14 +00:00
Ray Greenwell feb7355804 Go back to defaultly broadcasting to game objects, in case someone ever
creates a traditional lobby->room server with narya, and instead allow
a broadcast object to be registered with the ChatProvider to which all
broadcasts will be sent.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3261 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-03 23:47:19 +00:00
Andrzej Kapolka 33df387517 Moved shouldBroadcast override from PuzzleObject to GameObject.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3260 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-03 23:30:34 +00:00
Ted V 7ea2b45d39 Changed tabs to spaces since not everyone has the same tab stops.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3259 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-03 21:38:22 +00:00
Andrzej Kapolka f4bb453f83 Don't report ready if not actually a player.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3258 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-03 03:27:37 +00:00
Ray Greenwell e95f1e8914 Fixed booch-o that caused the cluster no-can-chat bug.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3257 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-02 22:06:05 +00:00
Michael Bayne d04e068d9b Use the custom class loader, though the way MiCasa works, the custom class
loader approach can't work. But it's useful to set a proper example.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3256 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-30 20:06:36 +00:00
Michael Bayne 3ed8e3cd0e Added support for loading place-related classes with a custom class
loader.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3255 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-30 20:04:11 +00:00
Michael Bayne d29db7765a Updated to use non-deprecated method signatures.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3254 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-30 20:03:47 +00:00
Andrzej Kapolka 5e1b2d16ec Added custom deserializer to initialize transient casted reference.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3253 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-30 02:19:58 +00:00
Michael Bayne dd4ce23b93 Restructured table creation to allow it to be customized. Though I now
realize I will probably have to change it further.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3252 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-30 00:32:43 +00:00
Andrzej Kapolka 9dc8c542b8 Added private table property to TableConfig.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3251 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-29 23:04:56 +00:00
Michael Bayne 20acf36919 Removed in the spirit of maintaining the fewest lines of code. This can
effectively be accomplished with a combination of ResultListenerList and
ResultAdapter.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3250 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-28 17:03:53 +00:00
Michael Bayne 1965e4ed30 Terser logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3249 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-27 22:29:32 +00:00
Michael Bayne d492d541b3 Create our game configurator directly rather than returning a class and
forcing the caller to instantiate it.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3248 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-27 21:24:33 +00:00
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