Commit Graph

587 Commits

Author SHA1 Message Date
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
Michael Bayne 33cca57cdf Notes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@564 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 22:10:56 +00:00
Michael Bayne 0b181954df ImageManager was referencing miso.Log rather than media.Log.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@563 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 22:10:32 +00:00
Michael Bayne 976e219f56 Moved PerformanceMonitor and PerformanceObserver into media.util to remove
dependencies of media on miso.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@562 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 22:08:29 +00:00
Walter Korman 66c06781bf Updated female pirate image.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@561 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 18:07:34 +00:00
Walter Korman 384ce51614 Updated character descriptions to reflect altered animation image
layout.  Added new female pirate image.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@560 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 18:07:13 +00:00
Walter Korman 95d6896ef7 Altered character animations to separate standing image from walking
animation images.  Created and made use of basic single- and
multi-image implementations of the MultiFrameImage interface.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@559 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 18:06:17 +00:00
Walter Korman 4b58a696ca Added the ability to specify one portal in a scene as the "default
entrance."  The default entrance is specially highlighted in the scene
and can be read from and written to XML scene description files.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@558 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 16:36:43 +00:00
Walter Korman 63a822862d Explicitly check to make sure two dirty items occupying the same tile
are sprites since that's what we're actually expecting.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@557 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 16:35:45 +00:00
Walter Korman c0e31c9d3b Don't allow resizing, and don't bother retrieving the tile manager
since we don't need it here any more.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@556 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 16:33:20 +00:00
Walter Korman 6ff80f8a92 Don't merge dirty rectangles when moving a sprite if the rectangles
don't overlap.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@555 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 03:01:13 +00:00
Walter Korman c9535eca02 Simplified dirty item render sorting. General clean-up and comments.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@554 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 01:42:49 +00:00
Walter Korman 4b1f7af899 Merge any overlapping dirty rectangles before making them available to
outsiders.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@553 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 01:40:26 +00:00
Walter Korman 1dcad7f6b0 Create only a single dirty rectangle when a sprite moves. Cleaned up
bounds and rendered bounds discrepancies.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@552 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-25 01:39:38 +00:00
Michael Bayne 882dc381b0 Added moveBack() which requests to move to the location we occupied
immediately previous to our current location.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@551 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 03:10:30 +00:00
Walter Korman 092d96509e We can't merge dirty rectangles for each dirty item when rendering
into a single rectangle, since doing so may cause new areas to be
dirtied that impact portions of other sprites or objects that won't
get properly redrawn.  Sigh.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@550 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 01:33:47 +00:00
Michael Bayne 000463f491 Added a "Go" button to games in progress that can be used to enter those
game rooms.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@549 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 01:26:54 +00:00
Michael Bayne 6cc3631d48 Rearrangements and added code to clean up after tables when their
associated games finally go away.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@548 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 01:14:38 +00:00
Michael Bayne 30185cb814 Shut down the game manager when everyone leaves the room. The game object
and manager will simply disappear at that point which means that the game
will be aborted if it hasn't yet been completed.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@547 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 01:00:54 +00:00
Michael Bayne 96b0faff38 Forgot to implement ObjectDeathListener.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@546 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 01:00:09 +00:00
Michael Bayne 75327a0b40 Scene manager now follows place manager example in requesting an unmap
from the scene registry during its shutdown process.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@545 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 00:58:12 +00:00
Michael Bayne ac62348afc Modified shutdown handling such that the place manager now listens for
place object death and lets the place registry know to unmap it during its
shutdown process.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@544 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 00:57:39 +00:00
Walter Korman c839b61548 More polishing work on scene rendering.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@543 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 00:55:08 +00:00
Walter Korman 7263ecba95 Added test female pirate character.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@542 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 00:52:54 +00:00
Michael Bayne ae114ceae2 Notes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@541 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 00:40:25 +00:00
Michael Bayne 7a305193ff Unmap our scene manager when its associated place is destroyed.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@540 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 00:38:54 +00:00
Michael Bayne fb587d2190 PlaceManager now downcalls to let derived classes know when it becomes
empty. Some derived classes will probably want to commit suicide at that
point.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@539 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 00:38:01 +00:00
Michael Bayne bf777349cc PlaceRegistry now finds out about place destruction and unmaps the place
manager accordingly.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@538 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-10-24 00:37:24 +00:00