Commit Graph

521 Commits

Author SHA1 Message Date
Michael Bayne 0a5f5794e8 Fixed packages.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@655 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-28 01:13:13 +00:00
Michael Bayne 2ad3f03a34 Changed MisoTile to BaseTile.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@654 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 22:17:42 +00:00
Michael Bayne 73b952913a Removed some vestigal code.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@652 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 22:06:39 +00:00
Michael Bayne 629e8cbf74 Added code to parse gapSize and offsetPos.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@651 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 22:06:19 +00:00
Michael Bayne f506a686f9 Added unregisterReceiver().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@650 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 21:37:58 +00:00
Michael Bayne dcc1671b9e Use STANDING rather than WALKING as our display action.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@649 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 20:06:38 +00:00
Michael Bayne 7304609bc2 Need to set the action sequence on our character sprite before using it.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@646 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 08:42:24 +00:00
Michael Bayne c1d2c5ab10 Fixed tile count computation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@643 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 08:41:01 +00:00
Michael Bayne 36e3b8ff7f checkedGet() need not throw NoSuchTileException.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@642 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 08:40:34 +00:00
Michael Bayne a3468353e1 Need to reset dframes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@641 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 08:39:43 +00:00
Michael Bayne c25741d8e6 Bundles! Have component bundles largely working. Wrote test code and ANT
tasks and XML parsing rule sets all the good stuff. Rewired up all the
cast code to be amenable to bundling and did some other revamping.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@640 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 08:09:35 +00:00
Michael Bayne be313f8922 *** empty log message ***
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@639 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 08:06:57 +00:00
Michael Bayne d733a429a9 Don't choke if we throw a security exception trying to get the app root.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@638 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-26 23:48:04 +00:00
Michael Bayne 4a31725ff2 Allow the specification of the server host via a system property.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@637 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-26 23:46:47 +00:00
Michael Bayne 7ad2acca11 Bundles! Got all the tileset bundle stuff working and wrote some tests to
inrease my confidence in the use of the word "working".


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@635 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-21 02:42:16 +00:00
Michael Bayne 816fc6172f Missed a spot. Ha ha, ha ha ha ha ha! Sorry. Pardon the pun.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@631 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-20 04:18:11 +00:00
Michael Bayne 6c1051abed Repackaging now that I know what we want to do with the tools package.
Here's the policy:

Every top-level package has a tools package under which all subpackages
exist with their tools additions. For example:

com.threerings.media.tile.TileSet
com.threerings.media.tools.tile.XMLTileSetRuleSet
com.threerings.miso.scene.MisoScene
com.threerings.miso.tools.scene.EditableMisoScene


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@630 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-20 04:15:44 +00:00
Michael Bayne 233b7aca22 Modified TileSetBundle to load resources from a ResourceBundle instead of
a JarFile.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@629 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-20 03:48:41 +00:00
Michael Bayne 8ac5e7c9bb Created tileset repository that loads tiles from tileset bundles. It
obtains the bundles from the resource manager using the new resource set
facilities. Oh, it's all so resourceful.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@628 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-20 03:47:38 +00:00
Michael Bayne a040ab4832 Added containsResource() and a sensible toString().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@627 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-20 03:46:28 +00:00
Michael Bayne a8359efde9 Provide the ability to obtain named resource sets.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@626 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-20 00:23:32 +00:00
Michael Bayne 21ed644984 Added support for loading resources from named resource bundles which are
configured relative to an application root which must be provided to the
resource manager at construct time or via the application.root system
property.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@625 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-20 00:21:41 +00:00
Michael Bayne cc21ad8679 Javadoc fixes and cleanups.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@623 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-18 04:27:56 +00:00
Michael Bayne ae1052a371 Oh the vast sweeping changes, and they're not even close to complete, but
things compile and most things run so this is a good time to checkpoint.
Let me recall:

- Refactored the whole scene deal.
- Revamped the XML parser stuff (now uses Digester).
- Rethought the tile management.
- Started tile bundle stuff.
- Wrote some tests.
- Did a bit of Mike-ification.

Onward and moreward.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@621 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-18 04:09:23 +00:00
Michael Bayne e82bc2b4fe Beginnings of Spot services.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@618 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-13 02:25:36 +00:00
Michael Bayne 17281a9db3 We love to document. Provided an initial description of what services the
whirled.spot package will provide and created a Log class for the package.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@617 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-13 00:12:20 +00:00
Michael Bayne d35f2894c1 Phase one of the scene refactoring (which will set the stage for all
manner of happiness and joy).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@615 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-12 20:56:56 +00:00
Michael Bayne 45a642764f Added getSceneManager() for looking up scene managers by scene id.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@613 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-09 21:47:09 +00:00
Michael Bayne 6278a8fd1f No longer need the _root directory.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@612 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 18:36:56 +00:00
Michael Bayne 42eb80a104 Tile coordinate calculations were booched.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@611 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 06:58:57 +00:00
Michael Bayne ff94bd7799 Made it possible to disable client and connection managers for testing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@609 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 05:39:51 +00:00
Michael Bayne feb2a2633e A bunch of intertwingled changes:
Refactored TileSet into TileSet, UniformTileSet, SwissArmyTileSet and
ObjectTileSet.

Removed dependence on the "root" system property from the
XMLSceneRepository (things either pass in full paths now or input streams
fetched via the resource manager).

Removed MisoUtil.createImageManager() because everyone does that by hand
now (which is good because some non-Miso things were using MisoUtil for
that).

I think that's it, but if there was something else, don't blame me. Blame
the monkeys.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@608 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 03:04:45 +00:00
Michael Bayne d584566899 Removed bogus imports.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@606 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 02:59:30 +00:00
Michael Bayne 79066da9a6 Package jockeying related to moving everything into the test directory.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@605 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 02:59:17 +00:00
Michael Bayne 99a0730696 First pass at moving all of Narya test stuff into the tests directory.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@598 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 02:07:36 +00:00
Michael Bayne fc3d4dbd43 Log a briefer description of the place manager when it's unmapped.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@596 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-07 10:47:55 +00:00
Michael Bayne f4f846f7e8 Don't log the whole game object when we destroy it, just the oid.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@595 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-07 10:44:02 +00:00
Michael Bayne ebdb840264 Modified gameDidStart() and gameDidEnd() to take place after the game
state transition event has been processed. This ensures that any events
posted up to (and during) the call to startGame() or endGame() are
dispatched before we invoke code that reacts to that change in game state.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@593 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-07 03:21:42 +00:00
Walter Korman 639007759c Changed builder model to make data available on the character classes
and components unmodifiable.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@590 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-02 15:39:07 +00:00
Walter Korman b42f20f191 Removed unused import.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@589 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-02 15:37:51 +00:00
Walter Korman e45ec0ae24 Moved to cast.util.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@588 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-02 15:37:30 +00:00
Walter Korman e9211f8fd5 Moved TileUtil to cast.util, added CastUtil to provide an easy way to
get a random character descriptor for use until we have fancified
storage of character descriptions.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@587 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-02 15:28:20 +00:00
Walter Korman bd998aff3d Added getImageManager() to the miso context.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@586 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-02 03:09:10 +00:00
Walter Korman 1a3ed6e45a Renamed XMLFile* classes to just XML*.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@585 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-02 02:52:16 +00:00
Walter Korman 662b60e53e Update the character image immediately when a component is selected.
General clean-up.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@583 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-02 01:10:28 +00:00
Walter Korman 182306a5e4 Commented out verbose logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@582 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-02 01:09:08 +00:00
Walter Korman 39966726aa More work on character components. Revamped tile sets to allow them
to be constructed and used directly.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@581 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-01 01:40:43 +00:00
Walter Korman 3ea91cdfdd More work on character components.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@579 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-30 16:16:01 +00:00
Walter Korman 933a427b68 Render scene tile layers inclusive of the fringe layer.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@578 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-27 01:37:37 +00:00
Michael Bayne b632510cb1 Javadoc edits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@576 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-26 01:40:22 +00:00