Ray Greenwell
d40a3535e6
Nix redundant casts.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@874 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-01-13 19:20:45 +00:00
Dave Hoover
fc187ae697
Remove now spurious casts
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@873 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-01-13 19:20:13 +00:00
Ray Greenwell
f0eaa44cab
clone() modernization.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@872 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-01-13 18:28:28 +00:00
Dave Hoover
acfdd4be48
There's a whole bunch of serious overhaul and new feature work I'd love to
...
have the time to do to this guy, but here's a quicky that I've wanted before
that I can bolt on and make things even uglier
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@869 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-01-04 22:26:25 +00:00
Dave Hoover
db71878346
Welcome to the future.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@868 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-01-04 21:47:34 +00:00
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
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
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
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
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
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
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
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
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
Dave Hoover
7656af30c7
Fluff the pillows.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@817 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-11 17:35:12 +00:00
Matt Jensen
86e9c39a2f
Exposing method to get at my package.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@812 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-04-29 19:06:31 +00:00
Charlie Groves
7c7faa43ab
Some people seem to get an OpenAL error here after being in the client for a while, so let's see if
...
catching it allows them to soldier on.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@803 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-04-11 21:02:56 +00:00
Charlie Groves
59a8a16ccd
Need to dirty indicators when they're recomputed, otherwise the result of the recomputation doesn't show up till something else changes
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@801 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-04-01 23:36:59 +00:00
Charlie Groves
afc8a7e4c7
Add method to get an array of all the tiles as mirages
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@789 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-24 20:14:19 +00:00
Michael Bayne
8f6e10af8f
Changed a bunch of Thread.dumpStack() calls into stack traces properly logged
...
via the logging system.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@788 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-24 18:46:59 +00:00
Michael Bayne
40c32e0f04
Updated headers, added missing headers to some source files.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@784 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-19 23:44:46 +00:00
Mike Thomas
6f101a4b5f
Useful for cases where you have a tileset but only want some of the tiles in your multi frame image. This means that multiple different MultiFrameImages can be created using different, possibly overlapping subsets of the same shared tileset.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@782 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-18 21:34:11 +00:00
Charlie Groves
c32d68afd2
Break resource set checking out of NetworkResourceBundle into an abstract superclass such that non-network bundles might also share in the glory of not asking for things that aren't there
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@781 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-13 18:49:15 +00:00