Commit Graph

1330 Commits

Author SHA1 Message Date
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
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 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
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 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 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
Michael Bayne 71c392555f Fixed bug in dobj reference management.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1581 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-17 01:54:33 +00:00
Michael Bayne 18039887b4 Added a debug hook for dumping all objects in the dobj table.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1580 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-17 01:54:16 +00:00
Michael Bayne 6b9424128d Read both the server and port from system properties.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1579 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-16 05:44:29 +00:00
Michael Bayne a2339cea0b Report the server and port to which we are connecting when we log on.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1578 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-16 05:42:53 +00:00
Michael Bayne cbca08878d Allow the port to be set from the command line (this should probably
instead be hijacked from the actual server setting but this works for
now).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1577 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-15 03:09:29 +00:00
Michael Bayne b1252aab66 Edits and fixes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1576 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-12 17:06:52 +00:00
Michael Bayne 75edbad42f Cleaned up the MiCasa logon panel and services. It's all much more nicely
behaved now.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1574 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-12 17:01:28 +00:00
Michael Bayne 6064ab1750 Provide some basic auth codes so that all users of Presents don't have to
come up with these same codes themselves.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1573 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-12 16:17:45 +00:00
Michael Bayne 78b58a6093 Whoops, typo.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1572 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-12 03:50:24 +00:00
Michael Bayne 7a3daa1d2b The simulator should provide a MiCasaContext and generally be a good
MiCasa citizen.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1571 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-12 03:49:37 +00:00
Michael Bayne 40cbabe20c Report when the connection fails.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1570 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-12 03:49:02 +00:00
Michael Bayne 9cde2eab3e Added a constructor that takes a window title.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1569 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-12 03:48:45 +00:00
Michael Bayne 255599b960 Resize the simple frame to fit the place view when it is provided with a
new one.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1568 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-10 02:02:59 +00:00
Michael Bayne cf8608f20a Enhanced reporting in failure conditions; fixed a problem where attempting
to end the session of a client that was already ended would result in
funny business.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1567 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-10 01:26:21 +00:00