Commit Graph

1629 Commits

Author SHA1 Message Date
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
Walter Korman 9f641c5796 Download resource bundles asynchronously and provide facilities for
observing bundle downloading progress.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1595 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-19 20:12:23 +00:00
Michael Bayne 6d8f304aa3 Old notes, new notes. (Red notes, blue notes?)
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1594 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-19 16:00:32 +00:00
Ray Greenwell d22350ff3c Added a version of blend that takes a float argument so that
two colors may be blended at a ratio other than 50-50.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1593 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-18 23:14:02 +00:00
Michael Bayne f186ef5537 Updates to PRMI design to account for the need to provide a ClientObject
to the server-side implementation of an invocation service.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1592 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-18 20:56:44 +00:00
Michael Bayne 06ab6c8b90 Initial design of new Presents RMI services to replace invocation
services.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1591 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-18 18:25:57 +00:00
Michael Bayne 9a696b3a24 Split the Narya library into various subsystem-specific .jar files.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1590 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-18 05:31:55 +00:00
Michael Bayne a9ef042dae Debug logging changes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1589 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-18 00:42:30 +00:00
Michael Bayne e9ceaa6ae9 Marked transient fields accordingly so that the Marshaller doesn't try to
send them over the wire.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1588 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-18 00:41:59 +00:00
Michael Bayne 7a1a162a0d Changed field marshaller registration to be compatible with DashO-style
field renaming. I'm a bad monkey for overusing reflection.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1587 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-17 23:05:28 +00:00
Walter Korman f53975fe74 Cache tell request information in the chat director and pass it along to
the various chat displays once we've ascertained success or failure.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1586 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-17 20:53:31 +00:00
Michael Bayne 34bbab5ee7 More logon translation messages.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1585 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-17 18:11:14 +00:00
Michael Bayne bd44038ae2 Formatting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1584 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-17 18:11:02 +00:00
Michael Bayne 8559e2eb29 Added auth code for use when the server is operational but not available.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1583 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-17 18:10:04 +00:00