Commit Graph

362 Commits

Author SHA1 Message Date
Michael Bayne 278e1f0f6e More notes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@362 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-01 02:56:11 +00:00
Michael Bayne c08207c40a Initial overview of Parlor services.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@361 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-30 00:08:10 +00:00
Michael Bayne f4cc436137 Allow the throwing of Exception rather than IOException during the server
init process.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@360 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 22:32:28 +00:00
Michael Bayne c847e468e5 Added code to create a connection provider and use that when creating the
scene repository. Also added example config for the static connection
provider that's used by default.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@359 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 22:23:48 +00:00
Michael Bayne c7dfb31972 Added documentation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@358 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 22:15:57 +00:00
Walter Korman e041c72900 Changed sword piece tileset image back to .png.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@357 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 03:46:02 +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 b567223419 Added an id member which will be used to track the location's unique
identifier. (We'll need to be able to look locations up by id.)


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@354 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 01:25:26 +00:00
Michael Bayne b22ccb7b71 Return a List rather than an ArrayList.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@353 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 01:24:54 +00:00
Michael Bayne c69e46be21 Added getTileId() which returns the fully qualified tile id.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@352 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 01:24:27 +00:00
Walter Korman 2c98b8ce10 Revamped node map and scene node map to share a single scene map
manager and obtain building information from the config object.
Separated test code from base scene node map code.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@351 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 00:46:54 +00:00
Walter Korman da1484a019 Don't attempt to put a tile in the tile cache if we didn't retrieve it
from the tileset manager successfully.  Cleaned up comments.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@350 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 00:44:31 +00:00
Walter Korman 33854265f8 Added config values detailing the building types and icon tileset id.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@349 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-09-28 00:43:19 +00:00
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