Walter Korman
2ec74a8347
Removed now-unused image.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@348 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 00:42:55 +00:00
Walter Korman
56238e7820
Read tileset id and name from attributes of the tileset tag.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@347 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-27 18:43:08 +00:00
Walter Korman
77378d1d5e
Changed tileset ids and names to be attributes of the tileset element.
...
Removed separate sword block tileset and updated sword piece tileset
description.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@346 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-27 18:41:13 +00:00
Michael Bayne
da5cc91882
Use PersistenceException rather than IOException.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@345 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-21 03:15:02 +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
fda93f4445
Use file= rather than jarfile=.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@343 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-21 00:21:55 +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
ae5c9ba187
Minor comment edits.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@341 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-17 23:55:45 +00:00
Walter Korman
b9ac6f9e24
Added getOrientation() and a more extensible toString(). Fixed
...
notifyObservers() header comment to use correct parameter name.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@340 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-17 23:25:26 +00:00
Michael Bayne
ec1cf5c667
Changed IntMap to HashIntMap.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@339 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-17 05:18:21 +00:00
Michael Bayne
00fde3eeb3
Modified sprite event mechanism to used classes derived from SpriteEvent
...
rather than codes to indicate different types of events. Also modified
name of sprite observer callback as spriteChanged() implies that the
sprite actually changed which it may not have, whereas handleEvent()
doesn't imply anything other than the sprite observer is being asked to
deal with a sprite event.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@338 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-13 19:36:20 +00:00
Michael Bayne
780e39d4e9
Modified animation manager to provide a timestamp with every tick.
...
Modified sprite and path code to make use of these timestamps to determine
a sprite's progress along the path. Abstracted the path stuff so that
paths other than line segment paths can be cleanly implemented.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@337 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-13 19:10:26 +00:00
Michael Bayne
2fc86f89b3
Documentation edit.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@336 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-13 19:08:30 +00:00
Walter Korman
4553c01d6d
Handle all sprite events at the end of each SpriteManager.tick() so
...
that observers can do things like remove sprites without unhappy
side-effects.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@335 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-07 23:01:53 +00:00
Walter Korman
45ee2f682b
Fixed block piece tileset and shading colors.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@334 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-07 18:21:20 +00:00
Walter Korman
5966b128c3
Added shatter blocks and basic blocks used to build joined block
...
images.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@333 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-06 01:36:13 +00:00
Walter Korman
627896ce59
Renamed Graphics2D variable to conform to naming elsewhere.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@332 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-06 01:35:05 +00:00
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