Commit Graph

3644 Commits

Author SHA1 Message Date
Michael Bayne f75d7d6f31 Update to cope with the new JME world order.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3702 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-15 20:52:15 +00:00
Michael Bayne f79a52142c Nomenclature fix: puzzle -> game.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3701 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-09 00:42:34 +00:00
Michael Bayne 77a28c401c Added isRotating(); changed the default camera velocity to be in line with
the other velocities.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3700 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-09 00:42:15 +00:00
Michael Bayne 456444da26 Added support for smoothly rotating the camera.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3699 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-08 23:45:51 +00:00
Andrzej Kapolka f1511a8398 Fixed comment; the same prefix is used for normal-height and low walls.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3698 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-07 23:23:06 +00:00
Andrzej Kapolka 00ae2e251c Added support for "low" walls/attachments.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3697 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-07 23:19:17 +00:00
Michael Bayne dd44bb4f69 Removed unneeded and improper Runnable check.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3696 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-06 18:32:37 +00:00
Michael Bayne 5502936535 Instead of relying on toString() returning something sensible, we go back
to using the class name but get the appropriate class in the case of
RunQueue queued intervals.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3695 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-06 18:20:22 +00:00
Ray Greenwell 92e4e9cfaf There are zillions of invocation dispatchers registered with a multitude
of codes. Currently the unit dump that is done once every 15 minutes is
chock-full of one-off units. Let us report the short class name of
the dispatcher, rather than the code with which an instance is registered.

Also: Thou shalt always iterate over the entrySet of a Map if thou planneth
to utilize both the key and the value.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3694 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-05 05:38:58 +00:00
Ray Greenwell c3f418d1ac Changed our frame participant to be a non-anynonmous class to support
subclassing it in the SwordController.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3693 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-01 21:52:19 +00:00
Ray Greenwell d5ec5675d7 Added a comment about possible return values.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3692 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-29 21:42:11 +00:00
Michael Bayne 91576fcfd3 Life is a lot easier if our observers are notified in the order they are
registered rather than in reverse. I'd like to make this change to
media.AbstractMedia as well but no doubt zillions of things depend on the
current notification ordering for that package.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3691 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-25 22:12:07 +00:00
Michael Bayne ca04c00c44 Big chat revamp to migrate various useful things from Yohoho like /command
handling, chat history support and chat mogrification into the base
framework.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3690 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-24 21:59:50 +00:00
Michael Bayne 18fa50cb78 Temporarily use renamed constant.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3689 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-24 18:47:21 +00:00
Michael Bayne b7f02502aa Track max queue size and total events dispatched in an extensible stats
object that can be (and is) provided to external callers.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3688 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-24 18:28:36 +00:00
Michael Bayne f39306a793 New bui package.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3687 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-23 18:58:24 +00:00
Michael Bayne fd05f9aad5 com.jme.bui -> com.jmex.bui.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3686 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-23 18:56:36 +00:00
Andrzej Kapolka ea646a4d46 Allow subclasses of MisoScenePanel to skip arbitrary scene objects, as opposed to just object without actions.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3685 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-23 00:06:52 +00:00
Michael Bayne ef65ee5644 Do things in a way more amenable to subclassing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3684 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-22 18:30:07 +00:00
Michael Bayne 1afa3712fb Cope with failing to initialize the sound system.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3683 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-22 18:29:47 +00:00
Ray Greenwell 97a909c98f SortedIterator -> Collections.getSortedIterator().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3682 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-15 22:54:45 +00:00
Ray Greenwell de892e0187 Catch exceptions in a few tender places during creation of a place and try
to log information.
There was an exception in here somewhere that froze a big tourney last week
but the stack trace was optimized out by hotspot (damn thee!). Hopefully
this will at least narrow it down, and possibly prevent total brokenness.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3681 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-12 22:22:13 +00:00
Ray Greenwell 6e07b60f48 Fixed code to detect invalid updates to not totally hose everything:
it was trying to print where() which failed because it was doing so
before all the values were intialized.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3680 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-11 22:33:22 +00:00
Ray Greenwell b95a8056d1 Let's log a stack trace so that we can see where the damn error is, instead
of having an error triggered right after this one that happens to print
a stack trace look like the matching stack trace for the original error.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3679 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-11 22:30:40 +00:00
Ray Greenwell 84c5a06d4f Goodness, let's optimizee the common case: if two name objects ARE the
same class and loaded from the same class loader we don't need to
do two string compares.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3678 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-11 19:15:24 +00:00
Ray Greenwell 429a655ae8 Re-use one static rectangle for constraint ops. This should be safe if
the method in which it's used is only called from the dobj thread.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3677 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-10 01:35:07 +00:00
Michael Bayne 5fbb02bc34 Decode InvocationRequestEvent information as well.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3676 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-08 23:59:27 +00:00
Michael Bayne d30119eb65 Do some jiggery pokery to better classify the zillions of Interval$Unit$1
runnables that get added to the dobjmgr queue.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3675 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-08 23:54:41 +00:00
Michael Bayne ffec15fdd9 We need to build libunsafe.so for FreeBSD.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3674 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-08 19:00:33 +00:00
Michael Bayne 46220291eb Moved the WaveData clip provider into its own class.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3673 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-05 20:34:35 +00:00
Michael Bayne d668c91b9b Use the new LRUHashMap removal observer mechanism.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3672 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-05 20:26:01 +00:00
Michael Bayne 237419b179 Exclude the openal package unless the lwjgl libraries are present.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3671 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-05 07:32:33 +00:00
Michael Bayne 064f18deb7 Fixed comment; added proper cache size adjustment.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3670 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-05 03:20:14 +00:00
Michael Bayne 9d3eb07c06 A new sound system based on OpenAL. Only supports sound effects at the
moment, but OpenAL has the necessary business to later integrate "streams"
of audio (music).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3669 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-05 03:12:16 +00:00
Ray Greenwell bdfc2a7005 Added a setToken() that takes a boolean, as it can be very convenient.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3668 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-04 01:15:17 +00:00
Michael Bayne 738cf657cb Allow a player to be replaced in an in-play game; properly handle the case
in a turn-based game where the turn holder is replaced and update the
turnHolder field in a way that doesn't cause the client to think that the
turn changed.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3667 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-03 07:46:54 +00:00
Michael Bayne a3ca9ba149 Link to the jME API.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3666 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-03 01:36:34 +00:00
Ray Greenwell dc202b3e8a Let's find out what that invalid argument exception is, should it recur.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3665 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-01 18:11:33 +00:00
Ray Greenwell d87ca1d8e1 Avoid some repaints when we can.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3664 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-28 21:10:11 +00:00
Ray Greenwell 898a3bf5d5 Not sure if this is a big deal, but it can't hurt: our media panels
shouldn't be transparent so that repaints don't travel up past them.
(Some were, but I think our repaint manager was keeping paints out of
the parents anyway, somehow).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3663 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-28 21:08:47 +00:00
Michael Bayne e438377297 Introspect on our classes in a privileged block so that unsigned code can
call ObjectInputStream.defaultReadObject().


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3662 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-25 17:24:25 +00:00
Andrzej Kapolka 6c1db160ce Make the default color white.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3661 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-23 02:10:32 +00:00
Andrzej Kapolka 67d1ca90c4 Moved the calls to the various layer-painting methods to their own independent method.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3660 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-23 01:30:35 +00:00
Andrzej Kapolka 694b7f0f98 Correctly handle the case where a surface (or wall) with things on it is removed and replaced with another surface (wall).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3659 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-21 23:50:20 +00:00
Michael Bayne 301c1cbe4d Dispatch the notification that the client failed to logon after we are
completely cleaned up so that an immediate attempt to logon using a
different configuration will not fail due to the client thinking it's
still logged on from the previous failed attempt.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3658 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-21 20:23:37 +00:00
Michael Bayne 15528d9055 Multiple ports!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3657 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-21 19:34:26 +00:00
Michael Bayne eba31091bb Switch the default port for the Presents system to the DirectPlay port.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3656 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-21 19:26:05 +00:00
Michael Bayne 8c94273b69 Allow the connection manager to listen for incoming connections on
multiple ports.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3655 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-21 19:21:33 +00:00
Michael Bayne 06faee3ef6 Test program for the uid fiddly business.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3654 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-21 19:10:28 +00:00
Michael Bayne 06b8f41e66 Added setuid() and setgid() to Unsafe.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3653 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-21 19:10:08 +00:00