Commit Graph

431 Commits

Author SHA1 Message Date
Walter Korman 1c5d03317b Allow specifying the units associated with the sprite velocity.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@331 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-05 21:51:43 +00:00
Walter Korman 025de7d088 Fixed typo in toString().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@330 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-05 01:08:30 +00:00
Walter Korman 84f2a373cd Allow specifying the scene file to load on the command-line.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@329 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-05 00:45:27 +00:00
Walter Korman 87de9dc3ea Renamed method for retrieving images associated with ambulatory
sprites for increased specificity and modified comment accordingly.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@328 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-05 00:44:37 +00:00
Walter Korman 4f92224a8f Minor comment re-formatting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@327 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-05 00:40:33 +00:00
Walter Korman 24df6a0968 Added convenience method to allow adding a node to a path without
specifying a direction.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@326 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-05 00:40:17 +00:00
Walter Korman 37f18c3c3c Initial images for the first sword puzzle.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@325 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-05 00:38:35 +00:00
Walter Korman 3d32769ec5 Pass along command-line arguments in the appropriate location.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@324 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-05 00:37:49 +00:00
Walter Korman eaf6a8d987 Test data for sliced building as we explore how best to handle
building inclusion in a scene.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@323 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-30 19:15:11 +00:00
Walter Korman 379b9f6e4c Created SelectableButton to allow highlighting a JButton when selected
without having to create a selected icon.  Changed editor and scene
map panel toolbars to make use of SelectableButton.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@322 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-30 01:15:19 +00:00
Walter Korman 6d5a41d834 Return a null tile if a non-existent tile id is requested.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@321 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-30 01:13:08 +00:00
Walter Korman 528e32b22e Removed now-unnecessary scene view model accessors and simplified
set-up and precalculating of view model data.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@320 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-29 20:07:54 +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
Walter Korman 8c7efb79fe Made iso scene view configuration part of the miso properties file.
Standardized config key member data names to match those used in the
cocktail code.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@318 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-29 18:41:46 +00:00
Walter Korman b882283cd3 Draw tool tips at a most-reasonable position, and updated to use
ToolTipProvider interface for Node tool tips.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@317 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-28 23:50:45 +00:00
Walter Korman 00efd9960a Moved miso scene specific node map classes to the
com.threerings.miso.scene.nodemap package.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@316 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-27 21:38:41 +00:00
Walter Korman 8367338a66 Moved editor toolbar icons into a tileset and cleaned up toolbar icon
creation and appearance.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@315 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-27 21:05:23 +00:00
Walter Korman e0f055a461 More progress on scene map layout and interface.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@314 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-24 22:13:10 +00:00
Walter Korman 9f1d5c1534 More work on the scene map.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@313 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-23 23:44:12 +00:00
Walter Korman 19b05150db Use a unique node identifier rather than hashCode() so that paths are
deterministic.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@312 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-23 00:55:30 +00:00
Walter Korman f15738ca20 Modified the animation manager to monitor the ancestor events
associated with the animated view's component so that the refresh
interval can be registered and unregistered based on component
visibility.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@311 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-23 00:23:58 +00:00
Walter Korman 0e61a42004 Reworked tool tips to make the node map panel the tool tip observer.
Early work on evolving the node map into a miniaturized scene display.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@310 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-23 00:22:30 +00:00
Michael Bayne c2fd4ed6c3 Modified sprite management so that if in the course of processing its
dirty rectangles, an animated view has to expand the dirty region, it can
call back to the sprite manager to determine whether this new, expanded
dirty region includes sprites that weren't previously considered to be
dirty. If so, those sprites' rendered bounds are added to the dirty
rectangle list being processed so that they will be properly redrawn
(which may trigger more sprites to be included and so on).

Also modified sprite internals in a cleany uppy sort of way.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@309 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-22 02:14:57 +00:00
Michael Bayne 5eb0afaace A postscript program that draws an isometric grid in the shape of our
scene that we can use to sketch and fiddle with isometric ideas.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@308 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-22 01:13:32 +00:00
Michael Bayne 90fe366aff Add chat support by default into the Whirled scene manager. This will
probably come out again because it should really be added by the manager
used by the target application. They may not want exactly the same kind of
chat support.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@307 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-22 00:09:52 +00:00
Michael Bayne 0d1a4ba1db Not to register ourselves with the invocation manager until we're logged
on. Prior to that, it don't exist.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@306 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-22 00:08:39 +00:00
Michael Bayne 0a1e364e03 Created adapters for the ClientObserver and LocationObserver interfaces to
make handling just one or two of the callbacks for those interfaces
simpler.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@305 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-22 00:08:12 +00:00
Walter Korman 62309a966c Fixed up new character tilesets. Initial test building icons for node
map.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@304 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 23:35:25 +00:00
Michael Bayne 2de7726c4e Removed unneeded import.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@303 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 23:26:21 +00:00
Michael Bayne 4c77daa2b2 Make sure we have message handlers before we go looking at them.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@302 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 22:34:20 +00:00
Michael Bayne 4e8bab51f7 Added two new character tile sets.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@301 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 22:34:01 +00:00
Michael Bayne 8aed4795e1 Modified sprite to use iterator rather than enumerator. Made x and y
members protected and provided accessors. Added toString() to Path.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@300 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 21:18:42 +00:00
Michael Bayne 7f49cfb35a Removed vestigal code.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@299 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 21:18:21 +00:00
Michael Bayne c8e6606056 Need to reset our byte array output stream when we're done with it.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@298 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 21:16:53 +00:00
Michael Bayne eb13ed5cc1 Modified the animation interface not to take a target component and an
animated view, but to combine those so that the animated view provides the
necessary means by which to invalidate and paint. Now the SceneViewPanel
rather than the SceneView is what the animation manager talks to. It then
passes the necessary information on to the SceneView.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@297 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 20:02:39 +00:00
Michael Bayne 30a6e3f3a2 AmbulatorySprite no longer takes a SpriteManager at construct time.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@296 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 19:41:58 +00:00
Michael Bayne bbd1eb9ced Modified sprites not to take a sprite manager reference upon construction
but to have it set by the sprite manager when it is requested to manage
them.

Modified sprite manager to invalidate the view when sprites are added and
removed.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@295 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 19:40:30 +00:00
Michael Bayne 043cb46a4d Start up the place manager *after* we've put it into our place table.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@294 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 19:38:06 +00:00
Michael Bayne fe7bfdc67f Added a toString() implementation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@293 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 19:37:21 +00:00
Michael Bayne 7cac50ee00 Clear out the occupant cache when changing rooms and cache all the
occupants in a room when we first arrive.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@292 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 19:37:08 +00:00
Michael Bayne 70eb9480d8 Made element iteration work properly.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@291 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 19:35:56 +00:00
Michael Bayne a065652ac6 Unbooched subscriber array handling.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@290 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 19:35:02 +00:00
Michael Bayne 9ce3d894bd readExternal() should have been called readFrom().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@289 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 19:33:38 +00:00
Michael Bayne 67a3dabac2 Have the invocation manager pass the client object back to the client when
it is ready. Then the client hangs on to it because the invocation manager
doesn't really need to hang on to the client object.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@288 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 19:33:06 +00:00
Walter Korman 59a6b2b723 Fixed javadoc syntax.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@287 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 01:17:25 +00:00
Walter Korman 56c48c011f Fixed minor bugs in failed attempts to resolve portal bindings. Check
and report errors when attempting to bind entrance portal.
Sanity-check portals in all scenes in the group after bindings are
resolved and report warnings for any still-unbound portals.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@286 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 01:15:16 +00:00
Michael Bayne 4b0f742356 Added a toString() set up to make it easy to stringify place manager
derived classes.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@285 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 01:07:19 +00:00
Michael Bayne bee0ae1ddb Provide a mechanism for unregistering a sprite.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@284 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 00:58:36 +00:00
Michael Bayne dac504c7bb Provide support for iterating over a DSet.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@283 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 00:58:26 +00:00
Michael Bayne abb831bca8 Provide access to the client object instance.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@282 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-08-21 00:58:10 +00:00