Commit Graph

142 Commits

Author SHA1 Message Date
Michael Bayne 1bf6e6093d Added support for streaming arrays of streamables; extracted the efficient
streamable serialization code from PolyStreamableList and made it
generally available; modified the StreamableArrayList to support
heterogenous lists (because they don't have much more overhead than
homogenous lists now) which allows us to remove PolyStreamableList
entirely.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1140 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-20 22:58:26 +00:00
Michael Bayne 59aeb61fe3 Added ability to update individual elements of an array field. The objects
have helper functions named set<field>At() for such a purpose.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1134 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-19 01:10:03 +00:00
Michael Bayne 1b7f56ca9e Obey new CharacterDescriptor constructor signature. (That's a lot of
syllables).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1113 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-08 22:37:50 +00:00
Michael Bayne 42a8993c93 Added code to test the new MessageBundle recursive escaped composed
translation facilities.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1078 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-28 23:12:27 +00:00
Michael Bayne 5f18acd3d8 Modified distributed object attribute setting such that attributes are
*always* set immediately because after some deliberation, we decided that
doing that led to less unexpectedly annoying behavior than having to wait
for the event to propagate to see the new value.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1062 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-20 23:35:42 +00:00
Michael Bayne 12dd0ff1c7 Load our vessel components by name now that we can.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1055 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 22:08:25 +00:00
Michael Bayne f5c7d7864c Added a ship sprite to the center of the scrolling view.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1053 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 20:03:13 +00:00
Michael Bayne a54339594c Pick tiles pseudo randomly based on the coordinates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1052 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 20:02:16 +00:00
Michael Bayne 817c7aab39 Removed obsolete variables.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1044 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 07:43:20 +00:00
Michael Bayne 025f212df0 Use a BorderLayout.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1043 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 07:42:51 +00:00
Michael Bayne b01df00f3f Use a border layout.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1040 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 07:21:33 +00:00
Michael Bayne 74ae7214da Use full-screen mode if possible.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1039 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 07:21:15 +00:00
Michael Bayne d6ad960a14 Don't show coordinates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1035 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 04:45:55 +00:00
Michael Bayne 68823a9f8a Updates to support new method signature.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1025 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 01:27:48 +00:00
Michael Bayne 7302924ea0 Can't ignore repaints, try not being decorated.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1024 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 01:27:34 +00:00
Michael Bayne f497a93541 Create the IsoSceneViewModel and no longer create the sprite manager.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1018 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-18 00:43:24 +00:00
Michael Bayne 718ca0de17 Test application for the scrolling isometric view.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1014 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-17 23:48:38 +00:00
Michael Bayne 7fa37c5837 No coordinates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1013 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-17 23:48:27 +00:00
Michael Bayne 635e9cf930 addObserver -> addClientObserver.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@982 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-09 20:47:11 +00:00
Michael Bayne a1162ae85a Whipped unit tests into shape. Added simple test for dobject transactions.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@978 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-09 07:50:04 +00:00
Michael Bayne fcca82c3f6 Added build directives to generate dobj source files; made test object a
generated dobj class.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@969 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-08 23:17:38 +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 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 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
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 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
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 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 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 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 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 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 be313f8922 *** empty log message ***
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@639 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 08:06:57 +00:00