Commit Graph

2517 Commits

Author SHA1 Message Date
Michael Bayne d43f20d60f Only warn if we take a (relatively) long time path finding (ie. over 500ms).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2910 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-13 02:52:00 +00:00
Michael Bayne 3af7167f2c Track and report whether we go long periods of time without being ticked.
We should be ticked every five seconds.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2909 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-13 02:50:12 +00:00
Michael Bayne ede1aafffd Allow a custom cluster record to be used.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2908 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-11 22:50:55 +00:00
Michael Bayne 62e0e9cf37 Add a single method that we call in the various circumstances where our
client object has been updated so that the 90% of the directors that just
need to know any time that sort of thing happens so that they can listen
on the current client object can easily and robustly do so.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2907 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-11 21:36:12 +00:00
Michael Bayne f93c87cfb2 Properly manage the _pending flag in requestFailed().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2906 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-11 18:47:43 +00:00
Michael Bayne 810a6baf44 Make the safesub a little nicer about an unsubscribe() request that comes
on the heels of a requestFailed(). They don't have to do it, but it's
easier to just always call unsubscribe() whether things succeeded or
failed, so we'll quietly allow an unsubscribe() even if we have no object
or nothin'.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2905 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-11 18:46:02 +00:00
Michael Bayne 0bbb6759db Yes kids, it's important to be safe when you're playing in the dangerous
playground of distributed object subscription.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2904 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-11 18:36:55 +00:00
Michael Bayne 69a973efb2 Make our object manager available to nice askers.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2903 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-11 18:36:32 +00:00
Michael Bayne 9cfe784c2f Use the appropriate methods from MessageUtil and provide pass-throughs for
our zillions of lines of code that expect the methods to be in
MessageBundle.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2902 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-11 06:34:43 +00:00
Michael Bayne f0b7c187c4 Not to freak out if someone hasn't stuffed the right s3cr3t business in
the UIManager.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2901 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-10 03:32:07 +00:00
Michael Bayne f8664ab2b5 Some tweaks to the simulator services.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2900 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-10 03:31:41 +00:00
Michael Bayne 06230b3d47 Note and warn rather than choke.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2899 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-09 21:01:43 +00:00
Michael Bayne eac5cc2e01 The body object might have already been destroyed by the time we get here.
If so, don't start a transaction on it just let the events quietly float
off into the ether.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2898 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-09 20:57:14 +00:00
Michael Bayne 5418ffd2fd We love to be robust.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2897 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-09 20:41:23 +00:00
Michael Bayne ece997e937 Made getPuzzleFont() public.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2895 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-05 05:15:03 +00:00
Michael Bayne 505674bfbe Remove crack pipe, finish job.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2894 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-05 02:39:12 +00:00
Michael Bayne fedf57cbcd No implementing listener interfaces in the controller. Bad bad bad.
Unfortunately PlaceController already implements AttributeChangeListener
and various things take advantage of that. At some point I'll go in and
clean that all up, but for now I'll limit my fiddling to PuzzleController
on down.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2893 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-05 02:00:48 +00:00
Michael Bayne b4ad08ad81 Hell, let's give 'em 10000. We blow through that many distributed object
events in 500 milliseconds.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2892 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-04 18:42:40 +00:00
Michael Bayne fcef745724 We use fast computers, let's give 'em 1000 loops.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2891 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-04 18:41:59 +00:00
Michael Bayne 0cd11f034b Not to freak out if we've no bootstrap.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2890 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-03 23:38:58 +00:00
Michael Bayne 8de11561ac Out with XLATE_MODES which Narya doesn't use; and make sure it's a default
message received on the user object that we consider to be a tell.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2889 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-03 23:38:45 +00:00
Michael Bayne bd24341589 Rejiggered the order in which board state comparison logging is done.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2886 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 23:16:43 +00:00
Michael Bayne 72f4b6e1d9 This should extend ParlorContext. We be gaming.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2885 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 23:16:13 +00:00
Michael Bayne 6fd403b88d Wait until tick() is done before we clear the action.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2884 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 23:06:05 +00:00
Michael Bayne b3e07b1bc1 This needs to go back in.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2883 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 18:04:37 +00:00
Michael Bayne fa1c7af17a More updates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2882 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 17:46:06 +00:00
Michael Bayne c5a422f7a2 Track our manager in the base delegate.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2881 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 03:17:16 +00:00
Michael Bayne 2f0db5ea0f Yet more bits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2880 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 02:11:34 +00:00
Michael Bayne 5424a66006 Missed some bits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2879 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 02:07:45 +00:00
Michael Bayne 104763ac88 Moved SoundCodes into Narya because it's a reasonable basic set of sound
types and the puzzle stuff wants to classify the sounds it produces.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2878 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 01:43:31 +00:00
Michael Bayne 1178984f48 Moved KeyDispatcher into Narya because it's generally useful (and needed
by the puzzle stuff).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2877 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 01:42:57 +00:00
Michael Bayne 54eaddb27d Holy crap Batman! It's the beginnings of refactoring the basic puzzle
stuff into Narya.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2876 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 01:42:34 +00:00
Michael Bayne 0601c94e42 Cope.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2875 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-25 22:35:10 +00:00
Michael Bayne da03a2b775 No need to log here, sometimes it happens every frame.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2874 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-25 19:42:54 +00:00
Michael Bayne 97a9b91531 Cancel any path on a sprite if it's removed while in the middle of
execution.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2873 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-24 21:58:36 +00:00
Michael Bayne 4436720153 Added where().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2872 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-24 21:06:36 +00:00
Michael Bayne 29d2d781f6 Not a warnable offense.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2871 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-24 20:42:22 +00:00
Michael Bayne 0fd5923421 This is not a warnable offense.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2870 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-24 18:17:41 +00:00
Michael Bayne 94e10e81cd Scratch that we can deal with this in DutyPuzzleManager.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2869 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-24 18:09:03 +00:00
Michael Bayne 4415472bef Allow that warning to be disabled for duty puzzles.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2868 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-24 18:07:58 +00:00
Michael Bayne ba9e8276ce Let's make that key public.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2867 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-24 17:53:11 +00:00
Michael Bayne 6f336305f8 Obtain the idle time from our client config.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2866 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-24 17:52:15 +00:00
Michael Bayne cb9ed7030d Provide a config instance.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2865 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-24 17:51:56 +00:00
Michael Bayne 30190bfd85 Provide a config instance via which we can communicate customizations down
to various and sundry services.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2864 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-24 17:51:08 +00:00
Michael Bayne 7056f6dfac Log a warning and return null.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2862 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-22 19:57:16 +00:00
Michael Bayne 2e69e6770e Log a stack trace when this happens.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2861 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-22 19:57:03 +00:00
Michael Bayne e3b2930778 Added getNaturalWidth() and getNaturalHeight().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2860 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-19 18:27:10 +00:00
Michael Bayne f634ee53dc We don't need to be so Draconian, we can just do our best and leave it at
that.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2857 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-15 00:17:59 +00:00
Ray Greenwell 515e5a293e Instead of drawing thousands of little pieces of the background tiled,
draw but 9 images, with the non-corner ones being scaled as appropriate.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2856 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-14 19:39:52 +00:00
Michael Bayne f77cceffe6 Make our _iid available to the SafeInterval.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2854 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-12 23:37:47 +00:00