Commit Graph

614 Commits

Author SHA1 Message Date
Michael Bayne b1748332f5 OptimizeIt!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@614 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-10 00:39:39 +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 281c00d3a3 Converted the rest of the tests to JUnit unit tests.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@610 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 05:40:07 +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 0b5d51a80c Small modifications. Need to update this with the latest template.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@607 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 03:02:41 +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 a85ba5e2c6 Fetch things via the resource manager. Modified code to create resource
manager and then create image manager as well where appropriate.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@604 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 02:58:24 +00:00
Michael Bayne f206129062 Package jockeying.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@603 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 02:57:14 +00:00
Michael Bayne dd1737c357 Turned into JUnit unit test.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@602 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 02:21:23 +00:00
Michael Bayne 39815115d3 Test stuff comes first in the classpath, then narya stuff, then standard
libraries.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@601 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 02:21:03 +00:00
Walter Korman 1059e197ec Added an additional test torso component.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@600 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 02:15:59 +00:00
Walter Korman c4ebe4b1a8 Initial test images.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@599 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 02:15:31 +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
Walter Korman f6c08bfbbd Initial version.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@597 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 01:14:02 +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 13770d1efb Notes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@594 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-07 10:43:48 +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
Michael Bayne ea23f37b25 Notes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@592 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-07 03:20:42 +00:00
Walter Korman 48755da985 Initial version of script to pack individual component frame images
into full animation sequence images and stuff them into a zip file
archive.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@591 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-05 20:43:30 +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 a954cccfe1 *** empty log message ***
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@584 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-02 02:51:11 +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 435bea052e Removed unused tile sets. Renamed tile set manager to tile set
repository in miso properties file.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@580 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-01 01:35:23 +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
Walter Korman 57ba4b0e9c Utilize two mouse buttons to allow creating paths for either the user
sprite or the decoy sprites.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@577 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-27 01:35:21 +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
Walter Korman d102a47f13 Abstracted character-sprite-related activity to the cast package in
preparation for character component compositing and other
character-related antics.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@575 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-26 01:17:22 +00:00
Michael Bayne cf51ce8a9c Connect to the server specified by our codebase host.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@574 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 23:43:02 +00:00
Michael Bayne 20d8b968c2 Catch the security exception if our invite-test code chokes on
System.getProperty(). We want to leave it in, but we don't want applets to
complain about it.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@573 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 23:42:33 +00:00
Michael Bayne 304e7bd4b4 Whoops. Missing an import.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@572 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 23:37:13 +00:00
Michael Bayne cd458fa3aa Moved the default server port into the client where it is accessible by
various entities rather than only server code.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@571 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 23:36:06 +00:00
Michael Bayne ea6248f99d Only attempt to log off in stop() if we're actually logged on.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@570 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 23:29:00 +00:00
Michael Bayne 9c781457c6 Revamped logon and logoff handling so that the driver is responsible for
either exiting or closing the window when we logoff rather than the client
or the client controller which don't know if we're in an applet or an
application or something else.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@569 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 23:21:32 +00:00
Michael Bayne 264a71ddd5 Created a basic applet driver for the MiCasa client.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@568 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 23:03:48 +00:00
Michael Bayne e3767a5241 Added faked login code to the app.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@567 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 23:03:29 +00:00
Michael Bayne 22ee2981cb Wrapped the jumpOid check in a catch clause in case we're running in an
applet. Removed the faked login code.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@566 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 23:02:57 +00:00
Michael Bayne afdba54f1c Remove the body to table mapping when a user leaves the table.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@565 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 23:02:17 +00:00