Commit Graph

675 Commits

Author SHA1 Message Date
Michael Bayne 6bbce232b4 Implemented and/or cleaned up the XML scene writers.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@675 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 06:36:29 +00:00
Michael Bayne f3eeae834a Added header.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@674 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:22:41 +00:00
Michael Bayne 97f4963b4f Added a bunch of test configuration and data for creating tileset bundles.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@673 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:21:15 +00:00
Michael Bayne f49005a40c Added a target for building tileset bundles.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@672 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:19:49 +00:00
Michael Bayne 277d622ef7 Changed name to bant as it's now used to do all bundle building.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@671 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:19:35 +00:00
Michael Bayne 04be7dafec Yet more MisoUtil pruning.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@670 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:19:03 +00:00
Michael Bayne e693afa130 Made the ruleset actually do the right thing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@669 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:18:33 +00:00
Michael Bayne d666b38394 Changed getModel() to getMisoSceneModel() to jive with similar methods in
other model classes; was passing tile coordinates backwards to tile layer
objects.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@668 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:18:15 +00:00
Michael Bayne 538bd697a5 Was using old method signature; added toString().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@667 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:17:32 +00:00
Michael Bayne b94c5d691c Added toString() and a means by which to create a blank miso scene model.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@666 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:17:14 +00:00
Michael Bayne f6888abcb1 Added a means by which to create blank spot scene models.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@665 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:16:46 +00:00
Michael Bayne 573b9821cd Added a name for use in the editor and in XML files.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@664 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:16:31 +00:00
Michael Bayne cdc4adfca8 Added getDefaultEntranceId().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@663 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:16:11 +00:00
Michael Bayne b84b342973 Added means by which to create a blank scene model.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@662 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:15:48 +00:00
Michael Bayne 6b79fc70f0 Spelling and documentation fixes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@661 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:15:25 +00:00
Michael Bayne 09e1a961b8 Picked wrong offset multiplier.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@660 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:15:06 +00:00
Michael Bayne 075ea5e9fe Created a persistent tileset name to id broker implementation; wrote an
ANT task for creating tileset bundles.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@659 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:14:11 +00:00
Michael Bayne b7312882f4 Added enumerateTileSetIds().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@658 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:13:42 +00:00
Michael Bayne 80072f7048 Added methods that take File instances in addition to those that take
String paths.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@657 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:13:20 +00:00
Michael Bayne 38a538a446 Implemented enumerateTileSetIds(); also added sanity check when scanning
the resource bundles at construct time.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@656 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:12:42 +00:00
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 6dccfe70ed It's gapSize now not gapDist.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@653 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 22:11:43 +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 14cb492cd3 New classes and associated new components.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@648 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 20:05:53 +00:00
Michael Bayne 28d53e469c Wired things back up in the viewer now that we have a component
repository.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@647 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 08:49:58 +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 1bf37c0129 Now creates a bundled component repository and fixed up some other stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@645 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 08:41:49 +00:00
Michael Bayne 67b388cadc We'll be compiling the builder app now.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@644 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 08:41:18 +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 396e1dd3c3 Added <?xml?> header to make things propah.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@636 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-22 05:05:57 +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 39c6b9d9b1 Need to define application.root property for things that want to use a
resource manager.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@634 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-21 02:40:53 +00:00
Michael Bayne 2d064262a4 Need to define the application.root system property in case tests want to
use a resource manager.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@633 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-21 02:40:33 +00:00
Michael Bayne d1b70f964b Extracted optimization flag into a build parameter for easy fiddling.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@632 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-21 02:39:51 +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