Commit Graph

3055 Commits

Author SHA1 Message Date
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
Ray Greenwell bb11cd4d0a Some better comments, tightening up.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2853 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-12 23:13:45 +00:00
Ray Greenwell 7795edf604 Use BaseTile objects to contain fringe tile info, mark them as impassible
if they are fringed on by any SPECIFIED tileId (ie, not the default tileId)
that is impassible.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2852 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-12 23:05:41 +00:00
Ray Greenwell 708008b65f Changed so that to follow a pathable you pass in the pathable and one of the
public follow mode constants, instead of having a different method for
enabling each different follow mode.
Added a new follow mode: track, which aligns the upper-left coordinate of the
view with the hotspot of the pathable.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2851 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-12 21:47:09 +00:00
Michael Bayne 98e59b847e I discovered that ResourceBundle messages finally seem to do the right
thing with unescaped ticks (') which led me to modify MessageBundle to
automatically escape ticks before passing things to MessageFormat. This
allows us to use unescaped ticks willy nilly in our translation strings.
Yay! No more annoying worrying about whether we should use \' or '' or
having things be booched because we forgot one or the other.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2850 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-05 23:10:43 +00:00
Michael Bayne 342cce503e Added isRegisteredFrameParticipant().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2849 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-03 22:19:51 +00:00
Michael Bayne 9672534004 Make sure the cache and .stamp paths are not versioned. Also ensure we
don't leave any unversioned bundles lying around after a conversion.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2847 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-29 23:09:48 +00:00
Michael Bayne 41ce70349b Revamped the way we handle versioned jar files such that each bundle is
named according to its version number so that when we patch an old version
to create a new version, we don't have to do any renaming, we just create
the new version directly and hopefully avoid this bullshit problem on
Windows where we're unable to rename a goddamned file.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2846 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-29 22:31:55 +00:00
Michael Bayne 7a9f2557f0 Try another strategy if we fail to remain our original file.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2845 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-29 02:42:56 +00:00
Michael Bayne d7c1a05854 Deal more gracefully if some pathological circumstance prevents us from
resolving a scene object.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2844 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-29 01:42:37 +00:00
Michael Bayne ba26e551bd Differentiate between dynamic resource URLs.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2842 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-27 11:43:26 +00:00
Michael Bayne 77bc33214a Handle string and int arrays.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2841 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-27 05:34:19 +00:00
Michael Bayne 2bcf2f26a4 I just saw someone have 2100 outgoing messages queued up for them in 415
milliseconds. I want to know what in the fuck those were.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2840 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-26 05:18:13 +00:00
Michael Bayne b696989375 Removed erronious space.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2838 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-26 02:45:19 +00:00
Eric Lundberg fc2cb730b8 Lets not store the whole marshaller and just the class name. Combine log
message.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2837 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-26 02:44:01 +00:00
Eric Lundberg bcd034d0be Hmm I think this does the right thing tracking the lask 10K invocation
services that registered (ignoring unregisters) but I can't get it to
cough up the problem on my machine, so it's a little hard to test.  If you
fine cvs readers want to take a peek that would be great.  Hurray for
debug code.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2836 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-26 02:33:43 +00:00
Michael Bayne ed5a97243e As it turns out to be nearly impossible to avoid occasionally trying to
post events to an object that is already destroyed, we'll allow
transactions to be started on non-active objects and we'll just log a
warning when the transaction is finally committed like we do for all other
events on non-active objects.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2835 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-25 22:08:02 +00:00
Michael Bayne 0fc8813314 Let's not freak out if our caller disappears while we're off resolving a
scene.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2834 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-25 00:10:35 +00:00
Michael Bayne 5272911863 Don't really need the stack trace.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2833 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-25 00:04:00 +00:00
Michael Bayne 414152443b We don't need to see the message.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2832 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-25 00:01:04 +00:00
Ray Greenwell fcca6c3ce8 Take advantage of HashIntMap.Entry.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2831 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-24 22:15:23 +00:00
Ray Greenwell eca5077375 Do the post-download portion of a bundle immediately after each bundle
instead of waiting for them all to complete.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2830 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-23 20:31:28 +00:00
Michael Bayne e8056bca17 Throw a useful exception if the parameters are invalid.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2828 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-22 20:26:32 +00:00
Michael Bayne 3fadb2b1ea Fucking JarFile throws a SecurityException if there's a signing error
which is *not* an IOException. Thanks guys.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2827 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-22 18:50:27 +00:00