Commit Graph

201 Commits

Author SHA1 Message Date
Michael Bayne 151d06b62c Moved tools directory under tiles/bundle.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@959 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-07 06:55:46 +00:00
Walter Korman b4f20f1b36 Initial test landscape tiles from Rick.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@954 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-07 02:53:19 +00:00
Michael Bayne 98c0b84562 No longer need this ant wrapper. Use narya/bin/ant.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@935 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 21:40:40 +00:00
Michael Bayne 0f47b72787 Repackaging! Changed a bunch of foo.tools.bar to foo.bar.tools and brought
some other things up to date with changes that had been made to that
effect previously. I love the vast sweeping changes that come along with a
change of mind.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@933 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 20:29:10 +00:00
Michael Bayne 235537f7d4 No need to do toString() business any more.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@932 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 20:27:59 +00:00
Michael Bayne 80dd2854e8 Get shared libraryes from JAVA_LIBS rather than /usr/share/java.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@931 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 20:27:34 +00:00
Michael Bayne 9b17dafd03 Created an icon manager for loading icons from tilesets using a
configuration file to map icon set identifiers to tileset images and
metrics.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@924 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-03 22:43:54 +00:00
Michael Bayne e351a54dec Moved miso.tools.scene into miso.scene.tools and same with
miso.tools.tile.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@915 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-02 01:09:53 +00:00
Michael Bayne 6890624b6b Replaced sample scenes with two in the new format.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@906 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-31 02:58:36 +00:00
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