Commit Graph

1652 Commits

Author SHA1 Message Date
Michael Bayne 22449b143e Compile with deprecation warnings on.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1655 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-20 19:01:36 +00:00
Michael Bayne 615383483b Revised use of deprecated methods.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1654 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-20 19:01:08 +00:00
Michael Bayne 9de7ff77ba Added isLocationOccupied() which allows server-side entities to determine
definitively whether or not someone is in a location and/or has it
reserved via a call to getUnoccupiedLocation().


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1653 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-20 18:21:45 +00:00
Michael Bayne a08d08850e Provide access to the source file from which a resource bundle was
created.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1652 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-19 23:31:48 +00:00
Michael Bayne 11d84452bb Whoops. Need the right modifiers.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1651 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-19 22:58:15 +00:00
Michael Bayne 4cbd454b24 Added serialVersionUID to the various classes we serialize for
configuration reasons to avoid annoying "recompile and nothing works"
phenomenon. We'll opt for the "make incompatible class change and nothing
works" scenario instead.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1650 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-19 22:28:05 +00:00
Walter Korman b4d997a8df Perform actual rectangle intersection to determine whether a chunk is
still visible within the animation bounds.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1649 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-19 21:08:51 +00:00
Michael Bayne e8c7ba6084 Not to freak out if some unruly caller sends us null arguments.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1648 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-16 19:31:39 +00:00
Michael Bayne 3dfc8404c8 The simulator server now extends the MiCasa server since it lives in the
MiCasa package and aught to support the testing of Parlor-based games.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1647 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-15 23:21:45 +00:00
Walter Korman 2ed4b6e0c4 Oops; fixed incorrectly placed try/catch.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1646 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-15 20:56:08 +00:00
Walter Korman ec765c0258 Minor optimization and cleanup.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1645 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-15 20:53:50 +00:00
Walter Korman f0113d4916 Catch exceptions while rendering animations so that we can report the
animation at fault.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1644 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-15 20:53:24 +00:00
Michael Bayne 165843ac96 Fixed calculation error.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1643 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-14 23:52:15 +00:00
Michael Bayne e54a4d41f4 The great invocation services rethink of 2002! Rearchitected the remote
method invocation services and converted everything to the new style.
Could this be my biggest checkin ever?


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1642 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-14 19:08:01 +00:00
Walter Korman 4481c5f835 Added facilities for clearing the chat displays. Minor documentation
editing and reformatting.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1641 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-14 00:48:57 +00:00
Walter Korman 60594e5499 Demoted log message to debug.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1640 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-13 23:09:25 +00:00
Michael Bayne f38e14e428 Added targets for generating service and receiver related class
definitions. Cleaned up gendobj target a smidge.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1639 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-11 05:54:57 +00:00
Michael Bayne 749621063f Changed dispatcher template file name.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1638 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-11 05:53:29 +00:00
Michael Bayne eb186c2675 Script for generating invocation receiver derived code: decoder and
sender classes.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1637 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-11 05:53:13 +00:00
Walter Korman 5ff720b586 Added getPlayerIndex().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1636 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-09 23:34:10 +00:00
Michael Bayne 872c12a626 Marshaller and dispatcher class templates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1635 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-09 03:36:09 +00:00
Michael Bayne 86a0e96b83 No need to slurp the idstr unless we're actually going to update the
generated file.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1634 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-09 03:35:47 +00:00
Michael Bayne 78f48f2add Script for generating marshaller and dispatcher classes based on an
invocation service interface definition.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1633 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-09 03:33:16 +00:00
Michael Bayne 5eb08a1ad9 More notes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1632 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-09 03:06:23 +00:00
Walter Korman fa21a78242 Override setBounds() to capture resizing and movement rather than creating
a component listener.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1631 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-08 20:58:32 +00:00
Walter Korman c671f5a1c8 Update the panel's absolute screen coordinates whenever the component is
moved or resized, in addition to when it is laid out.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1630 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-08 20:16:07 +00:00
Walter Korman 0e86592ca7 Updated documentation to reflect addition of turnDidStart().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1629 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-07 21:17:50 +00:00
Walter Korman dcb2361d89 Added getTurnHolderIndex().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1628 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-07 21:16:08 +00:00
Walter Korman 5262a10a69 Added turnDidStart().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1627 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-06 23:23:39 +00:00
Walter Korman 567e51f08a More hideous sound hackery. We can't determine audio file format at
runtime after launching from Java Web Start because the input streams we
obtain don't support mark()/reset(), and so we hardcode the file format we
know we're using for now.  Also commented out verbose debug logging, and
cache audio file data after initial playback.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1626 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-02 01:45:19 +00:00
Walter Korman c4943a40f8 If a time delay is specified, fade out the chunks as time elapses.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1625 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-31 23:33:46 +00:00
Walter Korman 0b313223eb Provide a faux-configurator.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1624 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-30 20:32:39 +00:00
Ray Greenwell f6d9139b2d Let the user know when we drop a tell to a muted user.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1623 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-27 01:58:57 +00:00
Ray Greenwell 42f2df01c8 Bah! Changed the ChatterObserver interface to take an iterator(),
made our internal order be LRU so we blow users off the chatterlist
in a smart way.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1622 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-27 01:34:47 +00:00
Ray Greenwell a4941ce52e maintain a list of the user's we've recently whispered to or
received whispers from, and make available an interface by which
objects can register their interest in this list.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1621 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-27 01:10:59 +00:00
Ray Greenwell ef52f31ad4 Created client-side message objects which are the only thing passed
to the newly simplified ChatDisplay interface, which now has but one method.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1620 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-26 20:35:02 +00:00
Michael Bayne ea5e5adbad Pay our respects to Chapter 12 of the JLS.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1619 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-26 16:00:19 +00:00
Ray Greenwell 07d02f772a fixed it from horking repeatedly on my machine
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1618 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-26 00:16:47 +00:00
Michael Bayne b7b44f5f14 Added basic framework for providing game configuration interfaces that can
be used by a matchmaking interface when setting up a game.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1617 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-25 23:20:22 +00:00
Michael Bayne d06aeb2cc7 Shut the server down if we were unable to initialize it.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1616 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-25 20:24:02 +00:00
Michael Bayne 1877aacb3b Report the port to which we attempted to bind in the event of a bind
failure.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1615 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-25 20:23:25 +00:00
Michael Bayne 22b001eb73 Added support for falling back to a "default" action image for components
that do not have an image specificly for a particular action sequence. In
the future, I'd like to at least provide a mechanism for specifying on a
per action sequence basis which action sequence to fall back to in the
event that a component is missing imagery for that sequence. Then the
default mecahism could be used without forcing all action sequences for a
particular class of components to be exactly alike.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1614 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-24 22:24:05 +00:00
Michael Bayne be8b5ea243 Make the default orientation SOUTHWEST since that's orientation zero and
if we have no other orientations then to request anything but orientation
zero causes things to freak out. (This will be fixed but it's going to
require a fair bit of work that I don't have time to do right now.)


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1613 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-24 22:19:50 +00:00
Walter Korman 146014344e Don't append clips to the queue if we didn't start up successfully.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1612 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-24 21:39:43 +00:00
Walter Korman f930d53cdd Initial primitive sound manager that provides facilities for >gasp<
playing sounds.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1611 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-24 21:28:10 +00:00
Michael Bayne 4e55c7dc0e Updates relating to the new streamable world order.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1610 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-23 05:56:53 +00:00
Michael Bayne a55a36e766 No need to do this business by hand any longer.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1609 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-23 05:55:40 +00:00
Michael Bayne 0a8d4ad20b Need to include new io package in narya-base.jar.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1608 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-23 05:55:25 +00:00
Michael Bayne eb0f92fcef Brought things into line with new streaming world order.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1607 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-23 05:54:53 +00:00
Michael Bayne c3191b9170 Brought code into line with the new streaming world order.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1606 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-23 05:52:49 +00:00