Commit Graph

39 Commits

Author SHA1 Message Date
Walter Korman ad7b64d4a1 Initial work on support for objects whose images span multiple tiles.
Made TileSet an interface.  Throw exceptions for unknown tile or tile
set requests.  General clean-up and documentation.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@427 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-11 00:41:27 +00:00
Walter Korman 95ba5ef9cf Separate the notion of tile passability from tile objects since
passability is specific to the miso layer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@405 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-08 21:04:26 +00:00
Michael Bayne e5849ab0b6 Added ability to set scene id and version to EditableScene.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@356 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 01:46:10 +00:00
Michael Bayne cdaea4bbab Waffle waffle. Changed MisoScene back to returning lists rather than
arrays for locations, portals and clusters.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@355 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 01:31:32 +00:00
Michael Bayne 2fb833fd5b Serious scene surgery.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@344 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-21 02:30:35 +00:00
Michael Bayne 7c96663f44 Minor scene changes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@342 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-21 00:21:40 +00:00
Walter Korman a7c639ffe0 Modified MisoScene and related classes to obtain the scene tile
dimensions from the scene view data model.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@319 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-29 19:50:46 +00:00
Michael Bayne 8376b6e9fa Extracted tile code from MISO and moved it into it's own package in media
because it's general purpose.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@273 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-16 23:14:21 +00:00
Walter Korman 5780e57dcf More work on loading scene groups.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@272 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-16 22:05:01 +00:00
Walter Korman a99829818f Changed exit to portal. Limit tile bounds to something reasonable
when invalidating the scene view.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@270 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-16 18:05:17 +00:00
Michael Bayne 2cbed37cac Whirled Scene ids are ints. Need to bust the upgrade from shorts.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@250 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 01:10:09 +00:00
Michael Bayne a07f5d4d13 Changed Scene to MisoScene. Made MisoScene implement Whirled's Scene
interface.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@249 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-15 01:08:49 +00:00
Walter Korman 1502dcaa06 Moved scene util classes into a separate package.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@243 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-14 21:29:40 +00:00
Walter Korman d54d562992 Updated comments.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@230 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-13 15:00:24 +00:00
Walter Korman 546e39b0bb Added support for creating and editing exits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@229 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-13 05:42:36 +00:00
Walter Korman 60b47ff298 Reworked location placement so that the editor knows only about
Location objects and needn't muck about with full coordinates.
Beginning work on exit placement.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@214 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-11 00:00:13 +00:00
Walter Korman 356f15595e Draw locations such that orientation is apparent. Added support for
editing existing location information.
 CVS: ----------------------------------------------------------------------


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@213 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-10 23:07:04 +00:00
Walter Korman 8d7c2fc4e9 Fixed bug in saving clusters to XML. Added checkbox to editor to
allow display of locations and cluster indexes.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@212 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-10 21:17:07 +00:00
Walter Korman ff101fb4ef Renamed Spot to Cluster, replaced SpotGroup with ClusterUtil.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@211 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-10 01:31:25 +00:00
Walter Korman 9df1deef66 More work on editor support for location creation and editing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@209 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-10 00:47:34 +00:00
Walter Korman 593d17aeb5 Reworking exits and locations en route to editor support for placement
within a scene.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@208 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-09 21:17:06 +00:00
Walter Korman 6e7c8e29c5 Implemented tile deletion from the scene.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@205 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-09 05:44:07 +00:00
Walter Korman 42967815e1 Created base SceneViewPanel that the editor and viewer apps extend.
Added fringe layer to scenes.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@176 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-04 01:41:02 +00:00
Walter Korman efb1881507 Use a polygon to determine whether a sprite is within a particular
tile.  Updated scene/tile dimensions and default scene to use 64x48
tiles.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@151 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 18:59:00 +00:00
Walter Korman 343eb1b38f Added default tileset and tile id to the editor properties. Added
more sample tiles with ingenious "daniel"-based naming scheme for
testing purposes.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@139 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-02 01:19:47 +00:00
Walter Korman 9bec86fe87 Completed parsing of multi-layer scene XML files.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@123 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-25 01:38:08 +00:00
Walter Korman 15bb149600 More work on parsing scene XML files.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@120 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-24 22:52:02 +00:00
Walter Korman f31efe3a32 Added sparse layer tile format in XML output for layers other than BASE.
Refresh the scene view when coordinates are toggled.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@118 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-24 19:15:51 +00:00
Walter Korman 05f3a6aa25 Altered persistent storage of scenes to be handled by the
SceneRepository.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@117 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-24 16:10:19 +00:00
Walter Korman f02475b4c2 Initial work on reading and writing scenes to XML files.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@113 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-23 22:31:48 +00:00
Walter Korman 2572535f95 General updating per initial code review. Created EditableSceneView
to separate scene display from editing functionality.  Load and
initialize managers in a fashion that more appropriately hides the
implementation details.  Tidied comments up a bit.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@103 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-23 18:52:51 +00:00
Walter Korman 274fd01cef Altered scene width/height and positioning to completely fill the
scene view in the editor.  Fixed IsoSceneView.screenToTile() to work
correctly again.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@85 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-20 07:09:56 +00:00
Walter Korman 1da63af67f Added checkbox to toggle display of tile coordinates in scene view.
Made separate scene panel for layer selection and coords toggle,
renamed previous ScenePanel to SceneViewPanel for posterity.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@81 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-20 00:35:09 +00:00
Walter Korman c4654e2a11 Repackage classes from com.threerings.cocktail.miso to
com.threerings.miso.  Moved ImageManager to com.threerings.media.
Removed unused StripImage.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@62 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-18 21:45:42 +00:00
Walter Korman cb4d268139 Load tileset descriptions from an XML file.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@57 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-17 17:21:33 +00:00
Walter Korman ab18d9742e Allow placement of the selected tile in scenes undergoing edit in the
scene editor application.  Added comments.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@53 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-16 22:12:01 +00:00
Walter Korman 0a0fce7db3 Highlight the tile under the mouse cursor. Increase the width of a
scene for easier testing.  Other minor clean-up.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@51 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-16 00:45:07 +00:00
Walter Korman edc687fcb4 Started tooling about with Java2D BufferedImages. Retrieve tileset
config information from miso.properties for now.  Don't pass around
ImageObservers since we're hoping to be able to address that
differently.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@49 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-14 00:21:24 +00:00
Walter Korman 672fecf682 Initial working version of many miso classes. The beginnings of some
of our tile- and scene-related machinations.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@44 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-12 22:38:03 +00:00