Commit Graph

98 Commits

Author SHA1 Message Date
Michael Bayne 51f410cbd9 Initial pass at place registry and place manager stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@135 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-01 03:22:54 +00:00
Walter Korman 82831f3baf Work on rendering a character in the scene and moving them about with
mouse-click events.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@134 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-31 01:38:28 +00:00
Walter Korman 11800e8a43 Added simple test character sprite to viewer application, and render
any involved sprites in IsoSceneView after each set of tiles is drawn.
Exit the viewer and editor applications on window close.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@133 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-30 15:38:52 +00:00
Walter Korman c76ae0ccf5 Initial version of mostly-placeholder sprite-related classes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@132 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-28 01:50:07 +00:00
Walter Korman f39087cfc3 Removed verbose logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@131 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-28 01:35:06 +00:00
Walter Korman 92e46c6eae Added row-based tile width, image offset, and image row/column gap
distance parameters to tile sets.  Removed constant tile width/height
references except, for now, for isometric tile rendering which still
requires tiles that are 32x16.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@130 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-28 01:31:51 +00:00
Walter Korman a82e5f656d Added tileToScreen() and moved drawing of highlighted tile out of the
main tile-drawing loop now that we can.  Added comments.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@128 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-27 17:54:08 +00:00
Walter Korman 01f0d88213 Removed verbose logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@127 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-27 17:52:07 +00:00
Michael Bayne a8ef12d483 Whoops. Was putting wrong thing in client map.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@126 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-25 17:59:30 +00:00
Walter Korman 9eba46d700 Initial version of viewer application to allow playtesting of scenes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@124 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-25 17:38:15 +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
Michael Bayne 14d47f8c85 Allow credentials to be set after creating the client.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@122 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-25 00:51:05 +00:00
Michael Bayne 0c59e20f23 Logon not login.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@121 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-25 00:26:44 +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 0be5c2f654 Added mnemonics and accelerators to menus. Fixed log message syntax
in XMLSceneWriter.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@119 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-24 20:12:18 +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
Michael Bayne 3e5060c7c5 More location management progress.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@116 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-23 22:59:43 +00:00
Walter Korman b4d5f76c70 Fixed to conform to the updated SceneParser interface.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@115 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-23 22:47:03 +00:00
Walter Korman 98e19f8fac Initial versions.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@114 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-23 22:45:04 +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
Michael Bayne a643dfd7e3 Further implementation of body/place/chat stuff. Mostly location related.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@109 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-23 21:14:27 +00:00
Michael Bayne b56a70ff34 Allow configuration to use derived class for Client and ClientObject.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@108 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-23 21:13:56 +00:00
Michael Bayne b22d3bb9bd Added convenience function for zero-argument response.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@107 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-23 21:13:29 +00:00
Michael Bayne 1c8e363f98 Preparing for the additions that will allow oid list tracking facilities
to be put in place.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@106 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-23 21:12:55 +00:00
Michael Bayne 3798a6a763 requestOid{Add|Remove}(): called by (eventually automatically generated)
derived classes to add/remove oids to/from an oid list field.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@105 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-23 21:11: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 ab7c437a35 Brought into the newly revamped world of contexts. Moved SwingUtil to
samskivert.  Added config values to specify the tileset manager and
scene manager.  Split miso and editor config into two separate
properties files.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@101 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-21 01:51:10 +00:00
Michael Bayne 6c8c08a033 Removed unneeded imports.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@100 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-21 01:09:55 +00:00
Michael Bayne b6a8e3d598 Added oid lists and the ability to add and remove oids from them
(incomplete).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@99 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-21 01:06:49 +00:00
Michael Bayne 398362623b Added comments that explain the temporal validity constraints on the
objects available via the context.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@98 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-21 01:06:24 +00:00
Walter Korman ffe2c3169f Initial version of a miso context interface providing access to the
tile and scene manager objects.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@97 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-20 23:42:20 +00:00
Walter Korman 1fae8e43b1 Moved XMLUtil to com.samskivert.xml.XMLUtil.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@96 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-20 23:41:12 +00:00
Michael Bayne 1f610d73e9 Log class jockeying; implemented a test client at the party layer that
does proper context object creation; small progress on locmgr stuff.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@95 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-20 23:23:50 +00:00
Walter Korman 235e5eca1e Moved XMLUtil to com.samskivert.xml.XMLUtil.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@94 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-20 22:57:51 +00:00
Michael Bayne f5cb6ca04c Skeletons for the party services.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@92 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-20 20:07:38 +00:00
Michael Bayne 581e773eb7 Created a CherContext which will be supplied to code that makes use of the
cher services.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@91 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-20 19:49:06 +00:00
Walter Korman db91329aff Moved tile edge length into IsoSceneView since it's specific to
rendering the tiles from an isometric perspective.  Added comments and
minor clean-up.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@88 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-20 08:17:10 +00:00
Walter Korman 3e82036691 Created XMLUtil to centralize our XML machinations and allow for
code-sharing between the tileset and scene XML antics.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@87 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-20 08:08:59 +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 b5d45abd2a Render all layers in the scene.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@84 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-20 03:50:35 +00:00
Walter Korman 633eda4cfe Moved TileSetManager-specific methods from TileManager to TSM since
the editor is a special-purpose app and as such can reference the TSM
directly and save us from unnecessary TM -> TSM machinations.
Reference miso.properties in its new miso-specific location.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@83 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-20 02:23:34 +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 7d101b08f4 Revamped iso scene rendering to draw the entire scene-space. Still
need to fix screen-to-tile coords mapping, position scene display
correctly, and perhaps allow asymmetric scene dimensions.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@79 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 23:11:27 +00:00
Michael Bayne 5678b1edb6 Added code to load up configuration information at server init time.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@78 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 21:29:01 +00:00
Michael Bayne e912b18e27 toString()stravaganza!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@77 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 19:30:14 +00:00
Michael Bayne 41488822dc Modified invocation request procedure to provide a reference to the client
object that initiated the request. Implemented the invocation notification
side of things.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@76 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 19:18:07 +00:00
Michael Bayne 359af834ae Use StringUtil.toString() to toString() our args array so that it is
readable.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@75 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 19:17:06 +00:00
Michael Bayne f8ccff8f23 More progress on the invocation services.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@74 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 18:08:20 +00:00
Michael Bayne 406d181d1a Use a one second select loop delay for testing purposes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@73 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 18:06:57 +00:00