Commit Graph

453 Commits

Author SHA1 Message Date
Michael Bayne 340bba9956 Add general components.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2121 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-13 22:55:28 +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 26065cef4a A test sound.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2052 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-12-10 21:37:10 +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 b1f17bd32d Trimmed the test component set down to a few essentials; updated the
test vessel components.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1546 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-26 21:57:01 +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 8e4d4382bd ComponentBundlerTask now requires the action definitions.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1492 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-19 21:15:47 +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
Michael Bayne fad747e69e Updates to reflect changes to DisplayMisoScene.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1309 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-27 23:07:58 +00:00
Michael Bayne f3131f994a Fixed up the test tiles (got rid of the last of Dave's old tiles) and
created a couple of test scenes using said test tiles so that we can run
the viewer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1301 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-27 05:16:01 +00:00
Michael Bayne 206fe37de9 Shrink the frame size to test rendering with a viewport smaller than the
view.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1300 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-27 05:15:17 +00:00
Michael Bayne ba6e88b2a0 Identify water tileset correctly; actually center test sprite in screen;
switch scrolling directions more rapidly.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1299 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-27 04:57:37 +00:00
Michael Bayne a2c59dd2a5 Added a menu bar to test overlapping widgets.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1297 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-27 02:34:29 +00:00
Michael Bayne 1ce70d6c5a Changes to jive with new rendering deal.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1288 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-23 01:19:04 +00:00
Michael Bayne 06f8a68b56 Moved RandomUtil from media.util to util.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1248 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-15 18:18:20 +00:00
Michael Bayne 6f2dd62941 New scrolling interface; fixed up tile ids (whee!).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1245 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-15 17:47:05 +00:00
Michael Bayne 11251fef90 Formatting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1243 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-15 17:45:24 +00:00
Walter Korman db5f42d9b1 assert() -> assertTrue() to reflect new Java reserved word.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1241 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-15 16:34:36 +00:00
Walter Korman f6fedf5bdf Renamed OccupantManager to OccupantDirector.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1239 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-15 14:38:46 +00:00