Commit Graph

1642 Commits

Author SHA1 Message Date
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
Michael Bayne 2330afc3cd New object streaming code is born!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1605 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-23 05:42:34 +00:00
Michael Bayne 2601ab2321 Old object streaming code goes bye-bye.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1604 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-23 05:41:59 +00:00
Walter Korman ffb030d40a Added temporary hack workaround to keep text input fields from rendering
themselves with an incorrect font.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1603 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-23 03:52:23 +00:00
Michael Bayne 2c666df5cf Fetch the password from a system property as well.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1602 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-23 03:17:50 +00:00
Walter Korman 7d7624fc67 Need to synchronize on the lock object before calling download() so that
we don't accidentally notify ourselves nigh-immediately (e.g., if things
are already entirely up to date) before we've begun waiting on the lock
object on the calling thread.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1601 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-22 23:19:23 +00:00
Ray Greenwell 71c7a488c9 byte'd chat mode code
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1600 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-22 22:54:04 +00:00
Ray Greenwell 5c5038690b Added support for think and emote.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1599 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-22 22:26:26 +00:00
Walter Korman af8b7bf237 Allow plus or minus five seconds in modification time when comparing
source and destination files for differences since Windows (and probably
other platforms) doesn't set the file modification time to the precise
time requested.  Don't notify the observer when we're finished downloading
all files until we've finished all of our work with the file.  Check the
return value from the call to setLastModified().


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1598 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-22 20:45:22 +00:00
Walter Korman dd38c90665 Don't notify observers when we reach 100% completeness until the streams
are closed.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1597 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-19 22:19:34 +00:00
Walter Korman ef41daa34f Updated to reflect changes to resource manager.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1596 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-19 20:13:30 +00:00