Commit Graph

2110 Commits

Author SHA1 Message Date
Walter Korman db201a29bd Moved native library compilation into a separate target.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2113 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-12 02:15:25 +00:00
Walter Korman 7953fb0b24 Oops; use the install target as the main target so that we only rebuild
things when it's actually necessary to do so.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2112 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-12 02:06:10 +00:00
Walter Korman 786f6f8a63 Build the native linux keyboard library as part of the normal compilation
task and place it in dist/lib/i686-Linux.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2111 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-12 02:04:19 +00:00
Walter Korman 4956ed66ae Added and commented out debug logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2110 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-12 01:19:58 +00:00
Walter Korman 3bf267fc26 Fixed javadoc typo.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2109 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-12 01:19:33 +00:00
Walter Korman 494fc1a620 Ignore the dll.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2108 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-12 01:19:05 +00:00
Walter Korman de6c4371b9 Initial version of linux (working) and Windows (not yet working) native
libraries for enabling and disabling keyboard auto-repeat.  Restored
auto-repeating in our own KeyboardManager, and disabled the interval used
to differentiate between a "real" and "fake" key repeat since we believe
we can now do without it.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2107 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-12 00:26:39 +00:00
Walter Korman a91061cb30 Use SwingUtil.refresh().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2106 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-11 01:03:02 +00:00
Michael Bayne 0c246fcef7 Have to call mayLeavePlace() in a couple of other places. Fixed
documentation for it in PlaceController.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2105 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-09 02:46:58 +00:00
Michael Bayne 4abcc6a87c Need that in the delegate as well.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2104 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-09 00:27:26 +00:00
Michael Bayne 318d16647f Added mayLeavePlace().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2103 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-09 00:26:56 +00:00
Ray Greenwell 125a0c4fef updated to reflect new home of ImageIOLoader
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2102 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-08 05:17:35 +00:00
Ray Greenwell d595a2fab8 Added a version of composeMaskedImage() that takes a Shape object to use
as the mask.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2101 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-08 04:28:13 +00:00
Michael Bayne 1ce6951cb6 Repackaged a few things in media: sounds stuff went into media.sound and
image stuff went into media.image.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2100 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-08 04:09:03 +00:00
Michael Bayne ab915c9633 Close our input stream when we're done with it.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2099 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-07 07:55:58 +00:00
Michael Bayne 2807056a44 Close the InputStream instances we get from the resource manager after
we're done loading images from them.

Always load through a BufferedInputStream because that seems to fix the
bogosity with ImageIO.load() not working without a cache.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2098 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-07 07:55:24 +00:00
Michael Bayne 6bde1765d1 Don't rebuild our component bundles if they're not out of date.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2097 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-07 00:59:21 +00:00
Michael Bayne 8c3d8048a0 Need to taint username.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2096 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-06 00:24:32 +00:00
Walter Korman 3c2a65441c Make sure to clear out any previous cluster object subscription business
when we receive notice that we've successfully subscribed to a new cluster
object.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2095 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-03 23:07:00 +00:00
Walter Korman 183e25307f Catch and report any exceptions game managers may throw while being
ticked.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2094 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-03 02:47:33 +00:00
Walter Korman ebd50b80f5 Tick all game managers every five seconds to allow them to engage in any
activity that isn't driven by player actions.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2093 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-03 02:35:41 +00:00
Michael Bayne de0ea7b464 Dump a stack if we can't find our invocation receiver registration.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2092 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-02 22:08:30 +00:00
Michael Bayne 76abfba3c3 An animation that does nothing but hang around for a specified period of
time.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2091 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-29 04:32:14 +00:00
Michael Bayne a8fc75ca27 Freak out in an orderly and informative manner rather than NPEing if we go
to composite a set of action frames and one of the character components
has no individual action frames for the requested action.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2090 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-23 20:33:19 +00:00
Michael Bayne 0ec3f9e425 Old program for testing our image loading speed. We will want to
investigate the possibility in the future of uncompressing our images into
a local cache on the client and loading from there because it is about 10
times faster to load uncompressed images.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2089 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-23 20:32:28 +00:00
Michael Bayne eb6ce32141 Fixed up init() call.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2088 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-23 19:08:57 +00:00
Michael Bayne 4c39fb3fb8 Log our low-level stack traces when we get them because I've seen at least
one instance of the nested exception failing to log anything useful when
it is reported at a higher level and we're seeing failures in the
low-level streamable decoding code which need debugging.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2087 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-23 00:40:39 +00:00
Michael Bayne 6c3d9fba65 More goddamned fiddling to attempt to respond gracefully to any of the
wide variety of fucked up situations that might occur:

- Client authenticates and disconnects before their client object is
  resolved.
- Client authenticates and requests to end their session before their
  client is resolved.
- Client does one of the two previous actions and then attempts to
  reestablish a session before the client object is resolved from their
  first connection attempt.
- Client establishes a session in any of the previous or a normal
  circumstance but their client object fails to resolve.

Goddamned distributed programming, race-condition cluster fuck, strange
shit happening once in a blue moon business.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2086 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-22 19:16:31 +00:00
Michael Bayne f7786e0737 Make the actual InetAddress instance available.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2085 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-22 19:13:38 +00:00
Michael Bayne f13bfa62aa Allow the state of the server report to be logged in a custom manner.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2084 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-22 07:27:20 +00:00
Michael Bayne 8ceb0e09e7 Made the connection's IP address available to interesting parties.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2083 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-22 06:36:30 +00:00
Michael Bayne 7f531557be Notes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2082 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-21 01:37:29 +00:00
Michael Bayne 3b86a9c669 Support implicit Object[] handling as well as Object handling.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2081 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-21 00:44:25 +00:00
Michael Bayne f04e98f481 We may be passing Object in directly in which case we have no super class.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2080 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-21 00:44:03 +00:00
Michael Bayne 48823b10f9 More revamped serialization cleanup.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2079 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-20 23:41:27 +00:00
Michael Bayne ee9049fe3e Factored out code for events that all shared a name; removed
hand-serialization code for fields which are now handled automatically.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2078 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-20 23:29:04 +00:00
Michael Bayne 70a79f48e9 Bye bye to all the hand-serialization code. Yay!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2077 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-20 23:28:24 +00:00
Michael Bayne 00baff9000 Handle Object fields by using readObject() and writeObject() to serialize
them assuming they'll contain either a primitive type or an instance of
Streamable.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2076 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-20 23:27:52 +00:00
Michael Bayne a63d7446dd It turns out that we can make protected and private fields accessible to
the object serialization code which means that we can automatically
serialize said data members. Hooray!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2075 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-20 23:27:12 +00:00
Michael Bayne 2fe2311e06 We override serialVersionUID in ComponentClass so we may as well do it in
PriorityOverride as well.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2074 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-19 21:44:12 +00:00
Ray Greenwell 822dabef8c added a way to remove observers
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2073 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-18 23:14:23 +00:00
Michael Bayne 41fe126611 Make sure that we remove ourselves as a listener even if our unknown and
untrustable derived class freaks out in gameDidEnd().


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2072 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-16 05:31:00 +00:00
Walter Korman cbbda03e23 Added convenience class to facilitate performing a one-time server-side
action when a game ends.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2071 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-16 05:06:58 +00:00
Michael Bayne 6b273dbf0a Finished up custom render order support.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2070 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-16 03:08:39 +00:00
Walter Korman 3807953a55 Added MediaPanel.clearAnimations(), fixed up comments and removed
unnecessary SpriteManager.clearSprites().


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2069 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-15 23:12:37 +00:00
Michael Bayne b35f81cb62 A little more analysis revealed that we can avoid attempting to resume a
user's session if their client object is not yet resolved. When it does,
their session will be "started" for the first time and everything will
work itself out.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2068 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-15 18:32:19 +00:00
Michael Bayne aeab40a411 Let's be using the same code to enter a scene.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2067 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-14 01:51:00 +00:00
Walter Korman 1c4503efe5 Added toString(DisplayMode).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2066 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-13 04:37:27 +00:00
Michael Bayne 90b76f1417 Added a toArray() method.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2065 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-13 02:07:27 +00:00
Walter Korman 90a919720a Removed code to disallow adding an observer more than once since the
observer list now takes care of that.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2064 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-12 23:56:36 +00:00