Commit Graph

2486 Commits

Author SHA1 Message Date
Michael Bayne f2c1c7dad5 Updated render sort to reflect arbitrary ordering assigned to non-ordered
objects.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2493 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-28 20:53:24 +00:00
Michael Bayne 0165cca20a Make a note of a potentially non-intuitive return value.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2492 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-28 20:41:13 +00:00
Michael Bayne da3ec5f6e4 Report unexpected visibility more sensibly.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2491 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-28 20:28:45 +00:00
Michael Bayne 120c2643ef Added grow() and a Log class.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2490 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-28 20:27:52 +00:00
Michael Bayne 508e389678 Make the bounds of just our objects available as well.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2489 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-28 20:27:35 +00:00
Michael Bayne 8ce7d7bc69 Slap a big fat random number on the end of our cache directory to avoid
annoyances when we run multiple clients for testing.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2488 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-28 18:21:47 +00:00
Michael Bayne 7c5d0f275e Document that little feller.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2487 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-28 18:12:09 +00:00
Michael Bayne 831539b09d How simple! If our bounds change, delay a repaint until we have all of our
blocks resolved. In the future, we could attempt to resolve the blocks
that are needed to repaint the visible view first and allow repaint as
soon as those blocks are resolved.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2486 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-28 18:08:57 +00:00
Michael Bayne 72768a3a9e More synchronization is needed! The dangers of multithreaded programming.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2485 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-28 17:38:06 +00:00
Michael Bayne 201ee0acf3 Don't log the whole message, just the class.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2484 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-27 07:53:31 +00:00
Michael Bayne 5c03adbb72 Added support for temporarily disabling image and tile cache flushing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2483 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-27 07:33:15 +00:00
Michael Bayne a26d42549f Enhanced error logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2482 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-27 06:43:51 +00:00
Michael Bayne 278b04206c Test fast loading speed. It's speedy!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2481 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-27 06:38:48 +00:00
Michael Bayne 21889f5a9e Trimmed tilesets are all fast. This should ensure that it's possible to
save the tileset image in fast format before doing so because the set of
formats for which we support trimming is slightly larger than those for
which we support saving in fast format. We don't use such formats
presently, so I'll temporarily punt.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2480 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-27 06:38:15 +00:00
Michael Bayne 57c805d929 Component bundles are all fast.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2479 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-27 06:35:28 +00:00
Michael Bayne b84f62e35d If our image has been converted to fast format; load it up fast and propah!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2478 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-27 06:35:09 +00:00
Michael Bayne cab6cfb131 Convert images to "fast" images if possible. Also fixed a bug where it
wasn't cleaning up properly if it failed to generate a bundle. Plus the
error reporting is all much better.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2477 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-27 06:34:43 +00:00
Michael Bayne 65106d8815 Generate better error messages if we fail.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2476 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-27 06:33:40 +00:00
Michael Bayne 8973ca0d8c Make ImageDataProvider responsible for loading the actual image instead of
returning an ImageInputStream.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2475 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-27 06:33:11 +00:00
Michael Bayne a4e09831c5 The amazing fast image loading extravaganza. Images load in 1/4th the time
and generate almost zero garbage during the loading process (unlike the
ImageIO loaders which practically generate an entire image worth of
garbage during the load).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2474 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-27 06:32:15 +00:00
Michael Bayne a54e01a0fd Provide estimated travel time.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2473 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-27 03:53:41 +00:00
Michael Bayne 3962a0fa77 Allow our resource cache directory to be configured.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2472 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-27 03:27:33 +00:00
Michael Bayne e1ba8eeeec Allow others to know what our cache directory is.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2471 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-27 03:27:21 +00:00
Michael Bayne e1b4198d8f Let's just report the type of message.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2470 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-27 01:32:08 +00:00
Michael Bayne 661d7598ed Commented out verbose logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2469 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-27 01:30:25 +00:00
Michael Bayne 055bd6a642 Factored out the flip-buffer versus volatile image back-buffer code into
start-time selectable implementations. Modified back buffer to use
BufferCapabilities.FlipContents.COPIED which should do what we need in
terms of providing us with the current frame's contents on which to paint.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2468 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-26 17:56:26 +00:00
Michael Bayne b907bc02b0 Ensure that we always eventually claim to be resolved.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2467 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-26 02:16:18 +00:00
Michael Bayne db1a0f59c9 Don't constrain tooltips to the view bounds because they won't repaint
properly and in happy virtual land it's not so necessary any longer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2466 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-26 00:48:47 +00:00
Michael Bayne dac610797e Added a means by which the default base tileset can be set.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2465 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-25 22:26:25 +00:00
Michael Bayne d86ddce45d More delayed block loading improvements: resolve fewer blocks, use the
same mechanism for including and excluding blocks.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2464 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-25 22:13:14 +00:00
Michael Bayne 8bab0bd281 Added useful debug logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2463 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-25 22:12:14 +00:00
Michael Bayne cca2a9cd16 Beginnings of support for asynchronous scene image data resolution.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2462 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-25 18:22:52 +00:00
Michael Bayne a03ad10f8d Beginnings of support for asynchronous resolution of scene image data.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2461 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-25 18:22:26 +00:00
Michael Bayne 2051770c91 Synchronize access to the tile cache so that we can load tiles on other
threads.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2460 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-25 18:21:49 +00:00
Michael Bayne 90391aa69d Synchronize access to the image cache so that we can load images on other
threads.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2459 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-25 18:21:28 +00:00
Michael Bayne 40e72feb45 Cleaned up the image loading speed test.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2458 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-25 15:52:39 +00:00
Michael Bayne a4741de4f8 No more MisoSceneMetrics.bounds.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2457 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-25 15:52:25 +00:00
Michael Bayne 2f80c9b057 Removed obsolete image loaders.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2456 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-25 15:51:49 +00:00
Michael Bayne ae0376d4ec Removed a bunch of obsolete stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2455 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-25 15:51:34 +00:00
Michael Bayne 082af9eedd Add support for putting scene object into warning mode.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2454 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-25 01:15:00 +00:00
Michael Bayne 5d5a0e8173 Allow base tiles to be cleared out; clear out the fringe when a base tile
is updated because the caller will need to recompute it.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2453 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-24 21:27:23 +00:00
Michael Bayne fc9a5dc7e2 Minor restructuring.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2452 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-24 21:12:10 +00:00
Michael Bayne f894a18bcb Fixed bug with object removal. Added sanity checking code in addObject()
to prevent duplicate objects from being added.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2451 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-24 21:11:23 +00:00
Ray Greenwell 26d15d3d23 Corrected documentation: the resource set is supplied, not the specific
bundle.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2450 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-24 07:26:45 +00:00
Ray Greenwell 5d6e746b88 Wire up the magic so that data in resource bundles can be acquired via
URLs.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2449 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-24 07:23:47 +00:00
Michael Bayne ea3adbb530 Use the compose() method which properly handles negative y values.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2448 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-23 00:45:24 +00:00
Michael Bayne 0eea772f57 Oh the delicacy of the negative numbers. Wasn't properly computing
neighbor and block keys and was thus booching object footprint coverage
computation.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2447 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-23 00:37:46 +00:00
Eric Lundberg 3d290efb21 A streamable intint map, it's amazing!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2446 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-22 23:36:56 +00:00
Michael Bayne 995f33af84 Provide our view bounds to the radial menu services.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2445 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-22 22:00:51 +00:00
Michael Bayne 76cb19646c Use the default base tileset when computing fringe if an actual base tile
is not specified.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2444 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-22 20:36:11 +00:00