Commit Graph

3687 Commits

Author SHA1 Message Date
Michael Bayne 52b2a730c4 Enumerate things by package to avoid having ant foolishly blow past the maximum
command line size.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3745 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-11-03 21:55:29 +00:00
Michael Bayne c733a47eb4 Whoops, missed an obsolete import.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3744 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-11-02 00:19:29 +00:00
Michael Bayne 74912c63c8 Updates to work with refactored JME input handling.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3743 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-11-02 00:01:26 +00:00
Michael Bayne 3203ceb380 Cope gracefully if one of our shadow components is booched or missing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3742 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-11-01 23:36:36 +00:00
Elizabeth Fong eada0b7f50 r58@sally: elizabeth | 2005-10-25 03:59:59 -0700
Changed things around a bit to have the cheesy JabberChat run out of the box:
 * ChatDirector no longer freaks out when given null message bundles/managers.
 * MiCasa's ChatPanel is marked with a TODO item to stop passing in null
   messagebundles and messagemanagers to ChatDirector.
 * JabberApp and JabberClient have been adjusted to allow the user to specify
   which chatroom to join from the command line; I plan to implement this using
   BootstrapData when time permits.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3741 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-25 11:13:51 +00:00
Michael Bayne 4dba269585 Finished support for shadows. This is all some seriously complicated shit, but
the shadows sure look cool.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3740 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-20 22:12:45 +00:00
Michael Bayne 882868abb4 Changed the way shadow layers will be handled because we only have a list of
components when creating our character and we need to be able to determine
which shadow layers are needed from the set of active components.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3739 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-20 18:10:03 +00:00
Ray Greenwell 18833d7eb7 Added an isPrivate variable to GameObject.
Set it if a table game is created as being private.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3738 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-20 07:17:02 +00:00
Ray Greenwell 8ca6e7a17c Preconcatenate the translation into the transform so that we have
that in there for hitTest().

(Note: a lot of what's going on in this class is untested beyond what
I need right now).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3737 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-19 18:46:49 +00:00
Ray Greenwell 4848a3e2ca A TransformedMirage is another mirage that is transformed by any
AffineTransform.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3736 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-19 18:28:40 +00:00
Michael Bayne 684834cc87 Report whether this component has an associated shadow.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3735 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-19 00:29:07 +00:00
Ray Greenwell a12b610007 Extend SimpleStreamableObject rather than TrackedStreamableObject.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3734 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-18 00:06:30 +00:00
Ray Greenwell 29c2cfddd1 Some optimizations and cleanup, since sprites are already sorted by
render order in our internal list.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3733 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-13 19:00:08 +00:00
Ray Greenwell dec1b3c6ef Added a form of pickRandom that accepts a Random object.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3732 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-13 09:19:22 +00:00
Ray Greenwell bb5e7fed19 Treasure Drop depended on the previous behavior, where if the hover sprite
was still hitting it didn't check for a new one. Let's keep the
check but instead let's just make sure that we ignore sprites
that are non-action or non-hover or are disabled.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3731 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-13 08:54:25 +00:00
Ray Greenwell aed0f94e50 Fixed my own retarded (broken) implementation of pickRandom. If a list
had been passed in with 3 elements and the first one was the 'skip',
then the second one would get picked 100% of the time.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3730 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-13 08:52:13 +00:00
Michael Bayne b7e6480b6f The first steps toward supporting shadows and cropping in the character
compositing system. These changes will not affect systems (like Yohoho) that
don't use said features.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3729 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-13 00:00:33 +00:00
Ray Greenwell bd7c2caab9 Use new Interval.Runnable interface name.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3728 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-12 21:02:18 +00:00
Ray Greenwell 078e131c16 Force us to unsubscribe to our cluster when we log off.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3727 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-12 19:12:37 +00:00
Ray Greenwell 5bd90aa797 Stop using TrackedObjects.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3726 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-11 19:17:43 +00:00
Michael Bayne dd2468b140 Javadoc tidying up.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3725 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-08 22:21:19 +00:00
Michael Bayne 0351fa6ddc Added a bunch of library dependencies.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3724 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-07 22:36:26 +00:00
Michael Bayne 10e32b117f Made getActionFrames() public.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3723 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-05 21:57:34 +00:00
Michael Bayne c442ce3023 Allow the sprite action handler to be customized.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3722 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-05 05:59:53 +00:00
Michael Bayne 1a61beac13 Added getComponentRepository().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3721 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-05 03:37:58 +00:00
Michael Bayne 1631093451 No longer insist that we ask the AWT to create optimal images. Instead an
interface is provided that does that in a pluggable manner.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3720 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-05 01:39:45 +00:00
Michael Bayne 9c2fccb8eb Added an optional array to store colorization classes for a character component
class. Most users of the Cast system will be recoloring their character
components and this allows such users to avoid using the sort of "component
constraints" system that Yohoho uses when they don't need all the weird stuff
like starter status or activation cost.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3719 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-04 20:34:06 +00:00
Michael Bayne a9d72cf9c4 My change didn't properly "unhover" the old hover sprite when an overlapping
but higher priority hover sprite was entered. Noted a refinement that would
make getHit() more correct in the overlapping case.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3718 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-02 01:32:05 +00:00
Michael Bayne d556c79088 Removed the optimization of not recalculating the hover sprite when we were
still over a hover sprite as that prevents things from working properly if
hover sprites overlap. This isn't much of a tradeoff as most of the time the
mouse is not over a hover sprite in which case it does the full hit testing
anyway.

Also fixed a bug wherein the active sprite was not actually configured unless
it implemented HoverSprite which the rest of the code takes pains not to
require (it should be and is now possible to have action sprites that do not
implement HoverSprite but still work).

By the way, this whole action/hover/etc. sprite business is goddamned handy.
It's *so* much nicer than having to implement mouse listeners and do a bunch of
crap by hand.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3717 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-10-02 01:27:24 +00:00
Michael Bayne f32b2de490 Enumerated legacy services which have class-based providers and regenerated
those that do not using the template.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3716 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-27 23:09:45 +00:00
Michael Bayne e52758ef2c Allow the specification of legacy services for which provider interfaces should
not be generated. Cleaned up the generated provider interface formatting a bit.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3715 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-27 23:05:40 +00:00
Michael Bayne 2d9dffc7ec Automatically generate the provider interface when generating the FooMarshaller
and FooDispatcher. This means we will no longer be able to make FooProvider a
class that directly handles FooService methods, but the savings in confusion
for first time users of the framework will more than make up for the minor
inconvenience.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3714 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-27 22:27:04 +00:00
Andrzej Kapolka 4fbb911d7c Use a sublist view rather than removing and adding cards one by one.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3713 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-27 21:58:10 +00:00
Michael Bayne 7fb4eafbf8 How have we not previously been screwed by the fact that an Error (like
NoSuchMethodError) sticks a fork in the event dispatcher thread?


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3712 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-27 04:38:33 +00:00
Ray Greenwell 277af53513 We shouldn't be using OidLists to report winners/losers/players knocked out.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3711 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-27 01:50:29 +00:00
Michael Bayne 484c3ff86d Wrapped long line.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3710 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-26 00:11:02 +00:00
Ray Greenwell ede0d9f471 Broke out sending the player-ready signal to the server into a method
so that it can easily be overridden.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3709 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-23 02:00:52 +00:00
Michael Bayne 88e72fbbf6 Call endPlayerGame() before we finish the bodyLeft() processing because if the
leaving player was the last human player in the room, bodyLeft() will result in
a call to placeBecameEmpty() which will shut the game manager down before it
has a chance to end the game cleanly as a result of said player leaving.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3708 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-22 19:52:58 +00:00
Ray Greenwell 5fe4dc5a37 Allow editing of a field with a pulldown (combobox).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3707 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-21 07:37:55 +00:00
Ray Greenwell 51acbb09f4 Only set the value if it's changed.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3706 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-21 07:36:09 +00:00
Michael Bayne c9bd489c0b Had the beans above the frank.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3705 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-21 02:19:53 +00:00
Michael Bayne 103e145f1d Updated to reflect changes to JME.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3704 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-21 02:11:37 +00:00
Ray Greenwell 7f34a9cfaf Catch and log runtime exceptions when finishing a move-to request and
inform the client that the shit hit the fan so that it's not locked from
making any other move requests.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3703 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-16 00:36:21 +00:00
Michael Bayne f75d7d6f31 Update to cope with the new JME world order.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3702 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-15 20:52:15 +00:00
Michael Bayne f79a52142c Nomenclature fix: puzzle -> game.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3701 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-09 00:42:34 +00:00
Michael Bayne 77a28c401c Added isRotating(); changed the default camera velocity to be in line with
the other velocities.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3700 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-09 00:42:15 +00:00
Michael Bayne 456444da26 Added support for smoothly rotating the camera.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3699 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-08 23:45:51 +00:00
Andrzej Kapolka f1511a8398 Fixed comment; the same prefix is used for normal-height and low walls.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3698 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-07 23:23:06 +00:00
Andrzej Kapolka 00ae2e251c Added support for "low" walls/attachments.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3697 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-07 23:19:17 +00:00
Michael Bayne dd44bb4f69 Removed unneeded and improper Runnable check.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3696 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-09-06 18:32:37 +00:00