Commit Graph

3616 Commits

Author SHA1 Message Date
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
Andrzej Kapolka 58bf15f3e8 Added persistTo/unpersistFrom methods for persisting updates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3652 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-21 02:23:45 +00:00
Michael Bayne ac22e65145 Enabled some debug logging when STREAM_DEBUG is activated. Removed custom
String marshaller as a StreamerMarshaller is used for String fields.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3651 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-16 01:46:20 +00:00
Michael Bayne 03411cbd9c Various renamery.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3650 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-14 03:54:11 +00:00
Ray Greenwell 84361f9f9b - Initialize our timestmap in willStart() (which postdates the original
creation of this class).
- Track when all the sparks have moved outside the bounds of the animation
  and end it then.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3649 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-14 01:37:34 +00:00
Andrzej Kapolka 9e7f85e873 Changed removeObject to removeObjects.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3648 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-13 23:06:12 +00:00
Ray Greenwell 8dd1890a18 - The 'jog' parameter was broken. Fixed it, added xjog and yjog.
- Added a 'fade' parameter so that you can decide if you want the
  fade-out option.
- Renamed some other parameters.
- Fixed it so that it never paints outside its bounds.
- There is wacky broken behavior with the starting x/y velocities
  that does unexpected things. It should probably be removed and handled
  by code using this class, but it's called from too many places for me
  to feel comfortable making that big a change.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3647 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-13 00:35:25 +00:00
Ray Greenwell b1ec3ab5b5 Comment fixups.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3646 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-07 18:51:35 +00:00
Ray Greenwell fa8ee9f8f8 Added finishResolution(), which is called on the dobj thread to finish up
population of the client object.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3645 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-07 18:46:38 +00:00
Ray Greenwell 3820456813 Allow subclasses to not create a speak service if they should so desire.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3644 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-06 17:47:51 +00:00
Michael Bayne 9f470a4205 If we end up with a selectable channel in our selection set that we no
longer know about, request that it be given the boot when it rears its
ugly head.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3643 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-06 01:00:19 +00:00
Michael Bayne 90ac82e9c6 Allow a set of classname translations to be configured in an
ObjectInputStream to facilitate conversion of serialized data when classes
are repackaged.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3642 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-05 20:02:20 +00:00
Michael Bayne 595df9ee28 Which game you talkin' 'bout Willis?
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3641 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-05 17:39:48 +00:00
Ray Greenwell b603e6b051 More stuff with ending player games:
- If a player leaves, handle the ending of their game in GameManager.
- don't start the turn first turn in turn-based games on a missing player
- Let derived classes get playerGameDidEnd() even if the game doesn't
  have statuses.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3640 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-01 23:56:54 +00:00
Elizabeth Fong e1338dca1e partial fix to 'logged off players automatically win all matches in tourneys'
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3639 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-07-01 00:50:13 +00:00
Michael Bayne a213847eea Added leavePlace() for games where you are sometimes not in any "place" at
all.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3638 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-30 00:02:13 +00:00
Michael Bayne c1691c3d0a More path testing to sort out the jitter in the ballistic path at a
certain orientation.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3637 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-29 22:24:48 +00:00
Michael Bayne 9002162b86 These should be instance local.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3636 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-29 02:20:34 +00:00
Michael Bayne 8e5d5c665f Use the default type if none is specified.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3635 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-29 02:05:56 +00:00
Michael Bayne dd3bc4f8e7 Fail gracefully if we're missing a tile source image.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3634 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-28 21:36:45 +00:00
Michael Bayne ced6c5b826 Optimized the fringe tile creation process (we only create the graphics
context once and use it to stamp all fringe fragments).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3633 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-28 21:19:38 +00:00
Michael Bayne 6474d7de7e Don't assume we have an image manager or that we care about "compatible"
images.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3632 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-28 21:18:43 +00:00
Michael Bayne 4c3a6fa88a Looks like we're staying in the jme package as OpenGL's inverted y axis
has asserted its nefarious influence. Also modified the code to render the
fringe image on top of the original source image as we need a single
ground texture, not two images to be rendered one atop the other.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3631 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-28 21:07:06 +00:00
Michael Bayne 7a830949a1 Frank <-> beans.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3630 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-28 18:40:02 +00:00
Michael Bayne 613dd3633e Converted the fringing code into a more generic form that works directly
on buffered images and is not tied to the tile system or the image
manager. This could probably even move into the media.tile package.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3629 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-28 18:28:22 +00:00
Michael Bayne 7428f885cf Moved getTileHash() into TileUtil.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3628 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-28 17:42:55 +00:00
Michael Bayne b52e20864d Added requestFocus().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3627 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-27 21:05:01 +00:00
Michael Bayne 879a0e25e7 Bound the camera into the pan limits on every operation that changes its
location.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3626 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-27 18:44:36 +00:00
Michael Bayne 12853f5600 Disable the FPS display until we have some way to turn it on and off.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3625 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-24 22:35:08 +00:00