Commit Graph

1160 Commits

Author SHA1 Message Date
Dave Hoover d7db823fa1 I'm in ur nenya breaking ur api
We hit a wall in yohoho where we really needed 3 colors on a scene object.
Turns out that colorizations are restricted to 255 even though we stuff it
in a short, and even WE are only up to mid 50s or so with our zations, so
forcing it into a byte hopefully won't pain anybody else that happens to be
using this code.

So we add the ability to have tertiary and quaternary zations on miso objects
while keeping backwards compatability by slotting our two new bytes into 
unused space.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@867 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-12-05 00:55:49 +00:00
Dave Hoover b726523cf1 Javadoc updates
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@866 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-11-25 19:13:32 +00:00
Mike Thomas 0278208ef8 This is breaking a little backwards compatibility but on something we're surely not using anywhere else anyway - if a scene object has already been laid out, don't do it repeatedly, which was then causing extra dirty rectangles, especially when we scrolled. The actual breakage of compatibility comes that I took out the otherIndicators argument on SceneObjectIndicator.layout, which we weren't using anyway.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@865 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-11-25 19:08:12 +00:00
Andrzej Kapolka 29df8b9166 No need for the stack trace.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@864 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-11-18 20:31:16 +00:00
Ray Greenwell 1028287814 Modernize this logging.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@863 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-11-18 18:26:25 +00:00
Andrzej Kapolka 09c2726b46 I don't think this really qualifies as warnable.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@862 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-11-18 03:19:26 +00:00
Dave Hoover a46c4bbb00 Some widening/vararg logging that I've had lying around for ages
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@861 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-10-29 22:28:31 +00:00
Jamie Doornbos faa3315d7d Return the most derived type for the box versions instead of Container. copy&paste error.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@860 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-10-26 20:54:16 +00:00
Jamie Doornbos ad67558798 Some more useful methods for FlexUtil for creating layout containers and wrappers inline.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@859 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-10-26 20:52:04 +00:00
Ray Greenwell 292ca25d5a MethodQueue -> DelayUtil.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@858 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-10-21 21:49:30 +00:00
Michael Bayne faa51ea13c Implement hashCode() sensibly.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@857 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-10-04 23:26:40 +00:00
Nathan Curtis f8f9aaf47d The only place I found that uses this ant task (other than in facepirate) is in the yohoho root
build file, and this change shouldn't cause any problems there from what I can tell.  This is needed
for the hyena build in facepirate, but if it breaks things I'll revert and figure out another way
to do it.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@856 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-10-02 07:45:18 +00:00
Mike Thomas 63bbe83a00 Those who are visiting scene objects in this manner don't expect that their ObjectInfo is going to get stomped on by the next iteration. Let's do this safely and make each visit get its own object - it's also much more consistent with visiting interesting objects.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@855 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-09-03 22:12:16 +00:00
Dave Hoover e4c91222a7 I actually have grander things I'd like to do to fancy up RecolorImage,
but as a quick diversion, move some stuff onto constants, and have it 
store a preference for the last stuff we looked at, since it's constantly
a PITA having to cruise down to the otherwise static home of your 
colorization file. Let's see how quickly the artists notice that I hit one
of their long-standing feature requests.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@854 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-08-28 21:43:27 +00:00
Mark Johnson e5212d48bf Return the play value here as well
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@853 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-08-25 23:49:37 +00:00
Ray Greenwell dc2cbcf8f7 Use new Maps factory.
Does anyone care about this crappy class?


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@852 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-08-24 02:55:11 +00:00
Ray Greenwell dc6f1a79cb OMGWTFBBQ, we can just say "lib" and future-proof it all.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@851 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-08-21 21:55:16 +00:00
Ray Greenwell 502701a32b Bugfix.
When a menu is popped up but contains no items, the listData is null
(rather than empty). Special!


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@850 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-08-18 23:08:20 +00:00
Dave Hoover 707ebe5e5a Prune spurious semicolons & redundant implementation declarations
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@849 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-08-17 21:46:05 +00:00
Dave Hoover ed81ddb402 I'd varargified this a while back w/o getting around to committing it.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@848 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-08-17 21:45:35 +00:00
Ray Greenwell d8ae0c7877 Update to match change to ChatDisplay interface.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@847 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-08-15 00:16:07 +00:00
Charlie Groves e328b428bd Split getting an input stream from the classpath out for subclass customization
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@846 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-08-15 00:11:18 +00:00
Dave Hoover 800ae8195c I will not apply colorizations one after another.
I will not apply colorizations one after another.
I will not apply colorizations one after another.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@845 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-08-05 18:34:56 +00:00
Ray Greenwell 6194a1114f Colors are uints.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@844 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-08-03 22:12:52 +00:00
Dave Hoover 919ab1692f Pull that out so I can override in a subclass
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@843 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-08-02 19:52:33 +00:00
Dave Hoover c1b7b196e8 Durrrrrrrrrr
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@842 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-07-29 20:22:21 +00:00
Dave Hoover 34093e2cfc Change that so we can do things like: zation=textile_p:3&zation=textile_s=red
Specifically, we can do an arbitrary number of different zations (since I have
a case w/ 2 that I know of that I want to use this for, and we're known to
go higher than that in yohoho), plus you can specify the color option by name
as well as number, since sometimes that's handy.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@841 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-07-28 23:04:57 +00:00
Mike Thomas f2bb137f27 Add functionality to the resource:// handler to allow a colorization to be passed as options on the URL.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@840 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-07-28 21:44:32 +00:00
Michael Bayne fc4792d5cd Nixed the Flash utilities (which moved to flash-utils) and wired up a
dependency on same. The repackaged classes are going to break everything, but
I'll go through and fix the big stuff and smaller projects can languish or get
with the times.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@839 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-07-21 21:24:07 +00:00
Dave Hoover 3c610e959a Out, out, damned tabs
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@838 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-07-15 22:13:09 +00:00
Michael Bayne a11f840d85 Nix spurious comment.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@837 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-07-12 22:25:43 +00:00
Michael Bayne a1b03fc7b6 Use narya-tools.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@836 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-07-12 22:25:28 +00:00
Michael Bayne 1443bd59cb Out with commons-io.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@835 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-07-12 21:26:06 +00:00
Andrzej Kapolka dd77edca9c Added shutdown method.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@834 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-06-10 18:47:35 +00:00
Dave Hoover 33264e6c35 Random cleanup I had kicking around
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@833 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-06-09 05:53:13 +00:00
Ray Greenwell 40ac6c882d Let's update the RSL info and NOT statically link them in.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@832 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-06-08 21:59:08 +00:00
Dave Hoover 9c19a17c70 Simple little mirage that just paints a solid color.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@831 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-06-01 20:23:22 +00:00
Dave Hoover 98a2e08a03 Varargs to the rescue
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@830 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-06-01 18:03:55 +00:00
Michael Bayne b1f227246e Nixed unused import.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@829 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-29 00:25:05 +00:00
Ray Greenwell d93aa839d3 Use a googley Predicate, not a samskivert Predicate.
Sorry for the pain and suffering.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@828 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-27 17:45:07 +00:00
Ray Greenwell 2b368d173e Went ahead and did the complicated thing, it's good exercise.
Definitely does not pass the "less code is better code" test.
:(


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@827 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-27 17:43:19 +00:00
Dave Hoover 16413e83fa Risk adding fuel to the fire by pulling out the 1.6ism for now.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@826 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-27 17:38:56 +00:00
Ray Greenwell b51cdf3dfa Stop me if this Iterator needs to support remove().
I don't think it does.
Lets make the samskivert Predicate obsolete.
This code would be slightly more efficient (but also obnoxious) if we iterated over
the entrySet and then transformed the filtered entries into just keys.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@825 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-27 17:29:08 +00:00
Dave Hoover ecdf0f2f4a Prune trailing whitespace & foreachize loops.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@824 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-23 01:57:36 +00:00
Dave Hoover 09d081e261 Ah yes; I don't build the jme stuff, so I managed to miss importing the appropriate things.
I think that should be all, but the build will yell shortly if I managed to miss some in
my quick pass through the logs.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@823 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-23 01:53:40 +00:00
Dave Hoover d2b9e2ebb9 A healthy splash of google-collections
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@822 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-23 01:31:14 +00:00
Charlie Groves a20117d922 Add toString
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@821 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-22 23:17:50 +00:00
Ray Greenwell 9c4173fd8b - In flash 10, oh yay, the mouseTarget might be set to null for security
reasons.
- While I was in there, I renamed the method to createCommandContextMenuItem,
  since that's more what it is.
- Removed the silly-ass option to make the menu item invisible. It was there
  because ContextMenuItem has it, but how about you just don't add the item?


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@820 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-13 23:18:48 +00:00
Andrzej Kapolka 21b70ac753 Accessors for the source play position within the queued buffers.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@819 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-13 02:59:45 +00:00
Andrzej Kapolka e22448caae Move these constants to methods so that we can override them on a
per-class basis.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@818 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-11 20:35:58 +00:00