Commit Graph

1887 Commits

Author SHA1 Message Date
Walter Korman dea46e4cc0 Assume the keyboard focus, or relinquish it, when we're enabled or
disabled respectively.  Sanity-check before adding ourselves as a window
focus listener when enabled to make sure we don't add ourselves more than
once.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1890 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-04 22:28:58 +00:00
Ray Greenwell 01219cd341 Added ChatterValidator interface to validate usernames before they can
be added to the 'chatters' list.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1889 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-04 20:06:15 +00:00
Michael Bayne e8ee391d24 Report moveTo() for now as it may inform the hunt for the puzzle in world
view bug.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1888 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-03 01:15:36 +00:00
Michael Bayne 3736670fb0 Refuse to set a null scene.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1887 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-03 01:15:06 +00:00
Ray Greenwell 271d0ffb85 a timorous transition from listening to stop events to just calculating
the time at which the sound will stop. Stop events are flawed.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1886 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-02 01:49:20 +00:00
Walter Korman c81cf22659 Don't complain about receiving playerReady() for non-players if the game
is a party game.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1885 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-02 01:20:59 +00:00
Walter Korman 7b9f0332f1 Cleaned things up so that a single keyboard manager is to be constructed
and used throughout an application that cares to make use of its
functionality.  Allow registering key observers that are notified of all
key presses while the keyboard manager is active.  Clear things out
properly when the keyboard manager is disabled or reset.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1884 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-02 00:59:00 +00:00
Ray Greenwell 4cbca95044 Sound manager revamp.
- let the AudioSystem figure out the file format from the sound data.
- LRU cache for clip data
- Don't free system resources from clips until at least 4 seconds after
  they're finished playing. Reuse clips (and their resources) when possible.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1883 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-02 00:26:55 +00:00
Walter Korman cf101fad52 Don't need dobjmgr in BodyProvider's constructor.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1882 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-01 21:33:49 +00:00
Walter Korman 1c5165e44b Update a user's status in their occupant info via the place manager as
required, rather than directly in the place object.  Don't need dobjmgr in
constructor.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1881 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-01 21:33:21 +00:00
Walter Korman 9347fec9ce Populate newly created occupant info with the body object's status.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1880 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-01 21:32:23 +00:00
Michael Bayne 383d500f4b Created LACK_ACCESS error code; use it for chat.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1879 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-01 01:01:27 +00:00
Michael Bayne 8f1bfa66ff Freak out when they don't have access. Not when they do.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1878 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-01 00:57:50 +00:00
Walter Korman f25c028cca Initial work on a body service to allow setting a user's idled state.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1877 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-01 00:39:18 +00:00
Michael Bayne b07fef8396 Added support for a global message bundle to which other bundles fall back
if they can't find a message in their own list of strings.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1876 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-01 00:01:37 +00:00
Michael Bayne dd4b1c69c3 Added broadcast chat mechanism.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1875 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-31 23:27:16 +00:00
Michael Bayne 35f3173694 Added pluggable mechanism for feature-level access control.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1874 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-31 21:32:39 +00:00
Michael Bayne bb22856f76 Changed get...() to enumerate...().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1873 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-31 21:32:15 +00:00
Michael Bayne 2e32b6c3a7 Periodically scan the clients table and end the session of any expired
clients.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1872 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-31 21:04:19 +00:00
Michael Bayne 79259479c6 Make a note of when we started our session and when we most recently
connected or disconnected. Use this to determine if a client has "expired"
(meaning they've been disconnected for too long).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1871 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-31 21:03:57 +00:00
Michael Bayne 2f7399ed68 Added support for specifying a version string during the client
authentication process.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1870 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-31 18:44:34 +00:00
Walter Korman f1c8ccd347 Added PlaceManager.applyToOccupants(), and a generic useful OccupantOp.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1869 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-31 01:12:08 +00:00
Michael Bayne 8252efeed1 No more ping verbosity.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1868 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-30 18:46:33 +00:00
Walter Korman d9f7ebc792 Busted a cap in the accidentally-left-in verbose logging that pissed me
off so much while I was sailing around.  Take that you little fucker!  How
do you like that, huh?


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1867 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-30 09:34:08 +00:00
Ray Greenwell c919832043 we actually want to report disconnect time with a granularity of SECOND
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1866 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-30 01:56:17 +00:00
Ray Greenwell 316634eb58 report idle / disconnected times when whispering.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1865 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-30 01:47:12 +00:00
Michael Bayne 7adcf49ef3 We need to allow the caller to specify the location in which the users
status should be updated.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1864 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-30 00:47:19 +00:00
Michael Bayne 77ae8c7d0f Maintain user's status in their body object; also maintain a timestamp
that indicates the time at which their status became what it is.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1863 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-30 00:42:37 +00:00
Michael Bayne 6b651c2f9c Don't request to dirty an invalid region if we scroll more than an entire
screen vertically, instead request to dirty one with zero height.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1862 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-30 00:27:37 +00:00
Michael Bayne 92c6a8a564 Complain about invalid dirty regions; ignore useless regions.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1861 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-30 00:26:53 +00:00
Michael Bayne 98d19e055a Added facilities for idling out clients that have not communicated with
the server in 90 seconds. The client is set up to ping the server if it
has had nothing to say to it for other reasons in the last 60 seconds.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1860 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-29 23:51:26 +00:00
Walter Korman af5b530b4c Fixed log message formatting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1859 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-29 23:44:23 +00:00
Walter Korman 6334b6d690 Sanity-check dirty rectangles when painting the media panel.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1858 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-29 20:33:51 +00:00
Walter Korman 092e0f110c Sanity-check for null dirty rectangles.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1857 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-29 20:33:26 +00:00
Michael Bayne e94ff3de5e Added shiftToContain().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1856 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-29 06:07:22 +00:00
Walter Korman 5c189fbb14 Added isWinner() and getWinnerIndex().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1855 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-29 02:09:03 +00:00
Ray Greenwell b5e5f5f4e1 director audit: make sure things shut down well.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1854 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-28 00:22:38 +00:00
Walter Korman 883f912a30 Added gameWillEnd(), and GameObject.winners that details the winners of
the game, as assigned by GameManager.assignWinners() when the game ends.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1853 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 23:54:32 +00:00
Walter Korman 556347c778 Clear things out when the client logs off.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1852 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 23:30:56 +00:00
Ray Greenwell c3743cd98c change to ChatDisplay.clear() method signature
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1851 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 22:34:43 +00:00
Ray Greenwell 811ccd0bf1 when the client logs off, forcibly clear all chat displays
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1850 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 22:34:11 +00:00
Ray Greenwell a3eb2e1b7a changed clear() -> clear(boolean force), if force is true,
ChatDisplays may not ignore the request to clear.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1849 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 22:33:42 +00:00
Michael Bayne 34e777c444 Debug log fiddle.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1848 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 22:24:59 +00:00
Michael Bayne e166a3efff Debug logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1847 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 22:24:20 +00:00
Michael Bayne 31baef425a Director audit: make sure these guys clean up after themselves when the
client logs off.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1846 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 22:23:14 +00:00
Michael Bayne 7aa16f09e0 Removed obsolete comment.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1845 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 22:19:21 +00:00
Walter Korman 2625d76084 Oh god, how did I accidentally leave this in here? Removed verbose
logging.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1844 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 21:58:18 +00:00
Michael Bayne 6781e1da56 Oh the price we pay for wanting to be able to logoff and log back on
without exiting the client.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1843 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 21:24:58 +00:00
Michael Bayne 14a313486b Documentation repairs.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1842 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 18:49:51 +00:00
Walter Korman 4b97ff9916 Fixed typo in javadoc.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1841 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 02:05:26 +00:00