Commit Graph

438 Commits

Author SHA1 Message Date
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
Dave Hoover 6fe87f6920 getBoolean
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@780 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-10 05:40:36 +00:00
Charlie Groves ad9837830b Check that the new variable isn't null, not the one that we just checked two lines ago
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@779 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-05 23:15:42 +00:00
Mike Thomas 56e43572b8 On FadableImageSprite, we need to check for end-of-path fade in/fade out PRIOR to calling super, which chats with our sprite observers. Otherwise, those sprite observers might dispatch the sprite on a new fade which would then be immediately applied at full strength rather than applying slowly over the appropriate interval.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@776 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-02-19 22:31:15 +00:00
Charlie Groves e7773e0b86 Respect the current volume in looping sounds
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@775 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-02-09 20:08:59 +00:00
Mike Thomas 2af7ad1dcf Roll back r760 - this was forcing use of raw images in some cases, not just allowing.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@770 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-29 17:42:49 +00:00
Matt Jensen 648ad3e0fc Formatting tweak.
TODO: I should probably add a third type of resource bundle, CLASSPATH_TYPE, that just searches the classpath for resource bundles.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@762 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-22 02:16:36 +00:00
Matt Jensen aacdc439a5 A couple changes to allow for a custom resource bundle.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@761 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-22 01:48:35 +00:00
Matt Jensen 3934ced69e Allowing raw images to be read from a stream.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@760 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-20 04:34:05 +00:00
Matt Jensen 6258d6e28e Allowing raw images to be read from a stream.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@759 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-20 01:24:45 +00:00
Matt Jensen 00d60b7397 Allowing raw images to be read from a stream.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@758 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-20 01:21:50 +00:00
Dave Hoover f381f4fe01 Widening/vararging
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@757 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-17 23:48:10 +00:00
Mike Thomas dbc4c06d15 My search-fu seems to be failing. These printouts shouldn't be there.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@754 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-15 22:21:23 +00:00
Mike Thomas 79c5d9c925 Split out a little logic related to recentering and finishing up block resolution so it can be used reasonably by subclasses.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@753 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-01-15 00:49:23 +00:00
Michael Bayne 8fc55ee79b A bunch of Eclipse facilitated cleanup.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@734 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-12-09 02:00:28 +00:00
Michael Bayne 1df7613dfc Use the correct Log reference.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@732 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-12-07 06:56:29 +00:00
Dave Hoover a431ffa3a3 And while I'm in there, let's qualify that reference so my
javadoc parsing doesn't spit an error.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@731 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-12-05 23:20:37 +00:00
Dave Hoover 06bcdeea14 Don't always claim unpacking resources is a mere 1 second from completion.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@730 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-12-05 23:15:39 +00:00