Commit Graph

192 Commits

Author SHA1 Message Date
Michael Bayne cf598ed396 render() takes a Graphics2D now.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@896 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-31 01:02:37 +00:00
Walter Korman 606fe42305 Updated to reflect keyboard manager modifications.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@887 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-22 18:11:33 +00:00
Walter Korman 0f27719f0e Repackaged keyboard manager related classes for their new location in
com.threerings.util.  Moved RobotPlayer into util package from yohoho.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@873 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-18 23:32:15 +00:00
Michael Bayne 18e5f823ba Resource manager needs be constructed differently now that it loads
resources via a URL.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@865 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-16 03:01:24 +00:00
Michael Bayne 3562e9271b Use resource_url instead of application.root.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@864 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-16 03:00:51 +00:00
Michael Bayne dc00808761 Get shared java libraries from JAVA_LIBS; use resource_url instead of
application.root.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@863 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-16 03:00:37 +00:00
Michael Bayne 40013948c2 Look in JAVA_LIBS for the system-wide java libraries rather than hard
coding the path to /usr/share/java. This allows us to set JAVA_LIBS to the
path to yolibs when building and running Narya code.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@858 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-16 00:41:52 +00:00
Walter Korman 3fc64a8066 Simple test applications for examining keyboard events and testing the
keyboard manager functionality.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@852 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-12 02:31:16 +00:00
Walter Korman aa574a8182 Added support for animations to the animation manager. Moved animation
classes into their own package.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@849 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-11 16:17:34 +00:00
Walter Korman e3c4fd02b7 Initial work on making use of full-screen exclusive mode and additional
rendering optimizations available in JDK 1.4.  Use a BufferStrategy, and
changed AnimatedPanel to extend Canvas rather than JPanel.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@847 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-08 22:16:59 +00:00
Michael Bayne a14fd63141 Whoops. Didn't want things.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@831 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-18 09:17:20 +00:00
Michael Bayne de7f29e154 Added a bunch of new object tiles.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@830 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-18 09:16:32 +00:00
Michael Bayne b260ebb9be Updated to deal with new director organization.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@819 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-17 03:36:36 +00:00
Walter Korman aceff062e1 Set the character manager character class at construction time.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@795 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-16 06:52:11 +00:00
Walter Korman 1db2322e6a Removed obsolete miso editor script.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@786 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-15 19:16:55 +00:00
Michael Bayne 1ebc240198 Prepended rsrc to our test resource paths.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@763 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-13 01:35:52 +00:00
Michael Bayne 563100559f Catch and report errors.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@759 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-12 19:52:50 +00:00
Michael Bayne 940154d7e3 The image manager now falls back to loading images via the Toolkit if it
can't load the ImageIO classes. This unfortunately means that we're back
to passing a Component instance to the ImageManager at construct time.
Whee!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@749 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-07 01:33:29 +00:00
Michael Bayne dd69489de4 More scene and spot scene refactoring. Got parsers working for those in
the new new style (or was that the new new new style).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@739 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-05 03:38:10 +00:00
Michael Bayne ec9986a365 Put test code first in classpath.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@738 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-05 03:37:14 +00:00
Michael Bayne 64be43162e Modifications now that things once again take an image manager in addition
to a resource manager.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@719 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-30 02:35:37 +00:00
Michael Bayne 220060716f Show coordinates in the viewer.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@716 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 23:36:31 +00:00
Michael Bayne 2ff427128e Added a more interesting test scene.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@713 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 23:14:43 +00:00
Michael Bayne 60ee968d48 Added object tilesets bundle to tilesets resource set.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@712 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 23:14:36 +00:00
Michael Bayne f192023132 More object tile fixups.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@705 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 22:10:11 +00:00
Michael Bayne 1203c32fa8 No more MisoUtil.createConfig().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@704 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 22:01:59 +00:00
Michael Bayne 2c28736c3f Changed class name so that it doesn't match the JUnit test case class name
pattern.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@703 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 22:01:03 +00:00
Michael Bayne 89f8ef5d68 Changed default target to compile because we don't always want to run the
tests.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@702 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 22:00:37 +00:00
Michael Bayne eea46eb827 Enable object tileset parsing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@698 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 21:55:56 +00:00
Michael Bayne 089dc87b38 Turned test into JUnit test.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@697 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 21:55:40 +00:00
Michael Bayne e3d39f9a49 Modified tileset descriptions according to new style.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@696 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 21:55:06 +00:00
Michael Bayne c9b1066ebe Enable the object tileset bundling.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@695 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 21:54:22 +00:00
Michael Bayne 244b301909 Build the objects tileset bundle as well.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@694 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 21:54:07 +00:00
Michael Bayne 3b3c852640 A sample tileset description file for the tileset parser test.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@692 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 20:35:45 +00:00
Michael Bayne cafecfefa6 Added a simple miso scene for the viewer to view.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@691 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 20:34:58 +00:00
Michael Bayne 7adc7b670f Ignore the created bundle file.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@687 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 20:32:57 +00:00
Michael Bayne d2c4c85efe Set up a bundled tileset repository and added code to parse a miso scene
file which is specified on the command line.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@686 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 20:31:53 +00:00
Michael Bayne 215808c8de Can't create paths until we have a scene. Also changed _scenemodel to
_viewmodel.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@685 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 20:31:22 +00:00
Michael Bayne 225d8dded3 Changed the path to the test bundle.jar.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@684 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 20:30:47 +00:00
Michael Bayne 421c1321e0 Configure the tileset bundle set.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@683 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 20:30:26 +00:00
Michael Bayne 09e00d8f35 Need the test_dir system property.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@682 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 20:29:58 +00:00
Michael Bayne 5d16972518 Cropped and checked in all the walking component images.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@681 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 20:29:40 +00:00
Michael Bayne 97f4963b4f Added a bunch of test configuration and data for creating tileset bundles.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@673 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:21:15 +00:00
Michael Bayne f49005a40c Added a target for building tileset bundles.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@672 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:19:49 +00:00
Michael Bayne 277d622ef7 Changed name to bant as it's now used to do all bundle building.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@671 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:19:35 +00:00
Michael Bayne 6dccfe70ed It's gapSize now not gapDist.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@653 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 22:11:43 +00:00
Michael Bayne 14cb492cd3 New classes and associated new components.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@648 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 20:05:53 +00:00
Michael Bayne 28d53e469c Wired things back up in the viewer now that we have a component
repository.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@647 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 08:49:58 +00:00
Michael Bayne 1bf37c0129 Now creates a bundled component repository and fixed up some other stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@645 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 08:41:49 +00:00
Michael Bayne 67b388cadc We'll be compiling the builder app now.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@644 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 08:41:18 +00:00