Commit Graph

209 Commits

Author SHA1 Message Date
Michael Bayne 8451c39797 Added missing copyright headers to the .dobj files.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3218 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-17 23:16:56 +00:00
Michael Bayne a70efc3ffb NoLongerAnySuchNoSuchTileException. Instead we just log a warning and
return a tile with an error image so that the caller doesn't freak out and
we achieve maximal "continue to work as much as possible."


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3177 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-28 17:49:02 +00:00
Michael Bayne a9720fd905 LGPLed the library. Hello world.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3099 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-27 02:21:06 +00:00
Michael Bayne d4595269d5 Brought things back up to date; pruned imports; made Eclipse suggested
cleanups.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2972 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-02-25 14:51:26 +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 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 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 d5701962a3 The big fat bernie revamp! Er, big fat miso revamp rather:
- Combined SceneViewPanel and IsoSceneView into one happy panel.
- Ditched the DisplayMisoScene notion; the new MisoScenePanel now manages
  resolved scene information (like base, object and fringe tiles) itself
  so that it can...
- ...support scrolling scenes by keeping blocks of resolved base, fringe
  and object information loaded only for what is potentially visible
  rather than for the whole scene.

Other things were surely cleaned up or broken in the process to keep a
keen eye out.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2413 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-17 19:21:17 +00:00
Michael Bayne a8a2d9b1ba Various changes to support changes in the Narya library.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2276 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-12 07:24:08 +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 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
Walter Korman 17298d5710 Revised to use image manager to create blank image.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2147 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-15 02:17:52 +00:00
Michael Bayne a90b9a5bd1 Let's have those decoys back and remove the debug logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2130 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-13 23:56:28 +00:00
Michael Bayne 7f706aa063 Updates to reflect new media architecture.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2123 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-13 22:57:46 +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 64ab1e11ae Got the sound manager test app mostly working again.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2051 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-10 21:36:53 +00:00
Michael Bayne 8943daf060 Revamped frame test to use new nio-based framing services.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2049 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-10 19:38:56 +00:00
Michael Bayne 5373597143 Removed caching of tile coordinates as it was too fragile. It is easy to
forget to update a sprite's tile coordinates when updating its screen
coordinates and only TilePath could be used for sprites in the view and
generally a huge pain was incurred to avoid what isn't very expensive
which is to calculate a sprite's tile coordinates from its screen
coordinates when that sprite is involved in a repaint.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2029 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-05 23:06:30 +00:00
Walter Korman 275d35ce07 Added traceImage(), which will doubtless be further optimized, and it
would sure be nice to have a variant that traces the supplied image rather
than always creating a new one, and more flexibility with respect to the
alpha gradient steps might be nice, but all of that sort of thing will
just have to come later.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1950 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-15 09:29:40 +00:00
Walter Korman 11da0c8983 Need to specify a null parent when initializing the bundle.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1940 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-12 22:56:18 +00:00
Walter Korman 8a767a3897 Need to specify the sound type when playing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1939 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-12 22:55:59 +00:00
Walter Korman cc0d07836b Use new keyboard mgr interface.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1938 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-12 22:55:32 +00:00
Walter Korman ac42d81217 Added clearPlaceView().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1937 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-12 22:55:15 +00:00
Walter Korman 1ee866e1e5 Added clientObjectDidChange() implementation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1766 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-01 04:44:40 +00:00
Walter Korman 383a1ec550 Made it compile, but not certain it works.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1765 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-01 04:44:23 +00:00
Michael Bayne ae1375ca7b Updates to reflect changed APIs.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1713 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-18 20:09:55 +00:00
Michael Bayne 380fa50610 Moved MultiFrameImage and friends from media.sprite into media.util
because they'll be used for both sprites and animations.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1692 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 19:11:13 +00:00
Michael Bayne 311846fced Created simple app for testing new types of path.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1689 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-17 03:59:27 +00:00
Michael Bayne e54a4d41f4 The great invocation services rethink of 2002! Rearchitected the remote
method invocation services and converted everything to the new style.
Could this be my biggest checkin ever?


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1642 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-14 19:08:01 +00:00
Walter Korman 0b313223eb Provide a faux-configurator.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1624 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-30 20:32:39 +00:00
Walter Korman f930d53cdd Initial primitive sound manager that provides facilities for >gasp<
playing sounds.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1611 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-24 21:28:10 +00:00
Michael Bayne 4e55c7dc0e Updates relating to the new streamable world order.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1610 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-23 05:56:53 +00:00
Michael Bayne a55a36e766 No need to do this business by hand any longer.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1609 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-23 05:55:40 +00:00
Walter Korman ef41daa34f Updated to reflect changes to resource manager.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1596 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-19 20:13:30 +00:00
Michael Bayne 6d1185c208 Fixed bug in normal rendering, caused the angle to rotate for more
thorough testing.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1553 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-28 01:31:11 +00:00
Michael Bayne 00986b3bfd Center the window before displaying.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1552 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-28 01:29:43 +00:00
Michael Bayne 976627a5b9 Test app for GeomUtil.whichSide().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1551 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-28 01:29:32 +00:00
Michael Bayne e75ae89f22 Various and sundry modifications to clean up orientation handling and add
support for 16 orientations in situations where it is merited.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1548 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-26 23:53:07 +00:00
Michael Bayne c3bbaa3e40 Modified getDirection() to use arc tangent so that it maps angles smoothly
to their nearest compass direction instead of the wacky way it did before.
Also added getFineDirection() along with rotateCW() and rotateCCW() to
rotate through (fine) directions (though coarse directions can be rotated
as well, simply by always requesting two ticks of rotation). Also wrote
some test code to make sure everything works.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1545 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-26 02:54:56 +00:00
Michael Bayne 4724e25154 Added debug code and commented it out.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1539 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-25 01:21:17 +00:00
Michael Bayne c6878853e5 Fun with geometry.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1535 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-25 00:22:44 +00:00
Michael Bayne dd85c179f2 Updates to reflect cleanups.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1498 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-19 23:24:19 +00:00
Michael Bayne 1f5cfa6f4c Updated to work with new media architecture.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1477 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-18 22:38:55 +00:00
Michael Bayne 4c589d3802 Fixed up to conform to new setPath() signature.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1435 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-11 00:04:43 +00:00
Michael Bayne eb8e85c503 Test new path-scrolled media panel.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1413 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-31 07:34:23 +00:00
Michael Bayne 844b0672f9 Reference path stuff in new package.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1412 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-31 07:34:11 +00:00
Michael Bayne 2e46950ef0 Message bundles are init()ed now rather than constructed with their
desired arguments.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1337 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-04 19:39:27 +00:00
Michael Bayne cdb20c8389 No longer need to disable lightweight popups. Yay!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1330 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-05-03 04:17:25 +00:00