Commit Graph

2243 Commits

Author SHA1 Message Date
Michael Bayne a4df939073 No need to get libraries out of our parent's lib dir. It's all in
JAVA_LIBS and the dist/classes now.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2247 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-06 23:57:27 +00:00
Michael Bayne 162f0836d9 Don't delay access to our resources unless we're specifically told that we
should wait.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2246 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-06 19:13:49 +00:00
Michael Bayne f3db47e22b Switch from IntListUtil to ArrayUtil.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2245 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-06 18:58:30 +00:00
Michael Bayne 9e46af6dce Make the spot information available via the object tile; convert object
tile internals to use dimension and points.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2244 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-06 06:23:05 +00:00
Walter Korman 87209ce461 Deal gracefully with having a null jar source in toString() even after an
attempt to resolve the jar file.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2243 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-05 22:48:50 +00:00
Michael Bayne fc1a45dbaa Make where() publicly accessible.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2242 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-05 00:23:52 +00:00
Michael Bayne 6b7f189fc6 Provide access to object tileset info.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2241 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-05 00:22:05 +00:00
Michael Bayne 3bada90f77 Handle non-existent object tiles gracefully.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2240 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-04 21:39:28 +00:00
Michael Bayne 103fcde490 Include the source tileset in the NoSuchTileException.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2239 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-04 21:38:46 +00:00
Michael Bayne 019981ac71 Added setVersion().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2238 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-04 17:25:09 +00:00
Michael Bayne a5c01f8343 Added addObject().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2237 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-04 17:24:56 +00:00
Michael Bayne c66efeb511 Notes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2236 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-04 03:33:38 +00:00
Michael Bayne 5198206dfd Modified render priority handling so that a default priority can be
returned without modifying ObjectInfo.priority which would cause the
default priority to be written out as an overridden priority.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2235 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-04 03:33:09 +00:00
Michael Bayne 543705b935 Added a method for adding a portal.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2234 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-04 03:12:07 +00:00
Michael Bayne 998e4cada4 IntListUtil.sum() replaced total().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2233 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-04 03:11:43 +00:00
Michael Bayne 3a1ec157c2 Added fineToFull().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2232 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-04 03:11:13 +00:00
Michael Bayne f2f8611028 Pass along the priorities and other business when trimming an object tile
set; also changed some things to be bytes since they are bytes.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2231 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-04 02:59:47 +00:00
Michael Bayne d00619fe4d Log a stack trace if we choke during the resolution process.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2230 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-01 04:43:47 +00:00
Michael Bayne 30b72d805c Updated to reflect miso repackaging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2229 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-31 23:11:07 +00:00
Michael Bayne e6796b2d55 The amazing revamp four hundred billion. Let's see:
- Reworked colorization repository such that we now have arbitrary named
  "colorization classes" which can be used by various and sundry entities
  to colorize themselves.

- Added support for individual object colorizations as well as "spots"
  that go along with objects (will be used to automatically create portals
  into buildings and automatically position users properly when at a
  "station").

- Repackaged things in miso to more closely mimic what we do everywhere
  else (no more miso.scene, now we have miso.data and miso.client).

- Fixed up miso scene XML representation so that objects can more easily
  be expanded to have yet more stuff if we think of more stuff that they
  might aught to have in the future. Structured the miso scene model so
  that "uninteresting" objects (those that simply sit somewhere and don't
  do anything) take up a lot less memory than "interesting" objects (those
  that have action strings, "spots", colorizations and the works). I may
  want to roll colorizations into the "uninteresting" realm, but that
  remains to be seen.

- Made it possible for object tilesets to specify default render
  priorities for objects in that tileset. This will hopefully allow us to
  get by without any "custom" render priorities that are specified on
  scene objects, instead relying on the default priorities to resolve
  common conflicts.

There are surely other cleanups in there, but I think that was the major
thrust of it.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2228 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-31 23:10:46 +00:00
Michael Bayne a11f45dec4 Added convenience method for writing a scene to a file using a scene
writer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2227 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-30 19:16:50 +00:00
Michael Bayne 744421c9ec Added support for specifying colorization classes that should be used to
colorize objects in particular tileset.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2226 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-29 21:53:51 +00:00
Michael Bayne ec49d73391 Added support for default render priorities.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2225 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-29 21:31:37 +00:00
Michael Bayne ebfdc80977 Shoot the bootstrap out the debug log.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2224 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-28 04:24:16 +00:00
Michael Bayne 52c62d3e3d The beginnings of a system for profiling the amount of time spent
processing invocation units. It needs a timer with much finer granularity
than one millisecond to be useful.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2223 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-27 22:56:29 +00:00
Michael Bayne c296fefb77 We no longer prepare the source image, so that we can try things out with
a variety of source image formats.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2221 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-24 22:54:48 +00:00
Michael Bayne 412c7701c3 Modified image tracing not to depend on band format but to have the image
convert whatever its internal format is into ARGB for our inspection. It's
arguably a smidge slower (though we eliminated the multiple method calls
per pixel to determine whether it is non-transparent), but will work with
any source and destination image format.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2220 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-24 22:54:08 +00:00
Michael Bayne 347a070e6a Not to freak out if we get to a tileset image that we can't trim because
its hosed. Instead write an error image/tileset to the bundle and keep on
truckin'.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2219 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-24 21:51:26 +00:00
Michael Bayne 0a6dfcd703 Added createErrorImage(); modified createTracedImage() and
createImageMask() not to freak out if the source image is not RGBA, Java
automatically unpacks pixels appropriately for 8-bit colormapped images,
so there's no need to be so picky. In createTracedImage() we were
converting the image to a screen optimized image anyway and thus the
source image format had absolutely no bearing on what we did with the
image later.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2218 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-24 21:48:14 +00:00
Michael Bayne 14331982f8 Return our image path if we have no name.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2217 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-24 21:42:15 +00:00
Michael Bayne 7ff7ddc740 Not to freak out if we've lost our connection before we get around to
sending the bootstrap.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2216 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-24 21:36:04 +00:00
Michael Bayne 75f06dfd78 Removed inadvertently checked in debug logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2215 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-24 19:34:25 +00:00
Michael Bayne 18d0266055 Throw a sensible error message if we choke trimming a tileset.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2214 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-24 19:32:56 +00:00
Michael Bayne cc680cbd17 Give the native keyboard library a chance to initialize itself and
determine whether or not all is well. Use that opportunity in the Linux
keyboard library to determine whether or not we can open a connection to
the X server, and if not, disable the library rather than throwing a
RuntimeException the first time we are called and generally sticking a
fork in the whole program.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2213 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-23 19:00:44 +00:00
Walter Korman ccb5eb4b92 Added provisions for registering a speak observer that will be notified of
all speak and system speak messages.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2212 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-22 23:14:44 +00:00
Walter Korman 14081c752b Added string translations for the various chat modes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2211 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-22 23:14:11 +00:00
Michael Bayne 9bbe02c4cb Remove objects from the local object table when we remove their last
subscriber so that we don't hand them out as happily proxied objects to
subsequent subscribers that might come along before we receive our unsub
ack. We do still maintain non-acked objects in a dead table so that we
know when to warn about undispatchable events and when to ignore them.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2210 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-22 02:02:04 +00:00
Michael Bayne c21d757bfe Added support for float.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2209 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-22 01:42:51 +00:00
Michael Bayne 88f0555af7 Added support for float[].
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2208 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-22 01:40:32 +00:00
Michael Bayne 4ff68a037e Log the number of bands when tracing fails.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2207 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-21 22:11:04 +00:00
Michael Bayne 27197cae5b Log when receivers are added and cleared because we're seeing receiver
registration funny business.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2206 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-21 22:10:41 +00:00
Michael Bayne c1638b9bf3 Brevify log message.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2205 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-21 22:10:18 +00:00
Michael Bayne 8bafb6fd32 Specifically ACK unsubscribe requests so that we don't see a bunch of
warning messages saying that we couldn't deliver events on the client that
come in after all client-side subscribers have been removed.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2204 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-21 22:02:37 +00:00
Michael Bayne ce85e2a157 Adjust should be static.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2203 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-21 05:27:48 +00:00
Michael Bayne 14780e6332 No need to go through handleSystemMessage(). It didn't do much.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2202 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-21 01:08:36 +00:00
Michael Bayne 74ebb4a21e Added toString().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2201 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-21 01:08:10 +00:00
Michael Bayne b246384262 Enable toggling of network event logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2200 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-21 00:17:16 +00:00
Michael Bayne b94763bdbf A repository for preferences for the presents package.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2199 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-21 00:16:36 +00:00
Michael Bayne 205f2dad79 We can't use setActionSequence(_action) to force our frames to be reloaded
because it's smart about that now. So we break out the reloading where
necessary.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2198 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-20 20:28:51 +00:00
Ray Greenwell 8515b2dd04 Use a RuntimeAdjust for the test sound directory pref.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2197 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-20 20:07:05 +00:00