Dave Hoover
e760b308c1
Whitespace
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@877 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-02-08 23:43:45 +00:00
Dave Hoover
4610a48b23
I'd really like to make our build script blow up if we accidentally put in
...
duplicate colorIds, but let's at least scream & not put the new color in.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@875 ed5b42cb-e716-0410-a449-f6a68f950b19
2010-01-21 00:38:36 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Mike Thomas
42aa38f832
We really need to adjust _priorCurrent regardless of whether this particular call to elapsed() is at a driftRatio of 1.0 or not - the next one might not be, so we need to keep it up to date. Otherwise, we could potentially yank _startStamp around by minutes or hours due to a stale _priorCurrent.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@726 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-12-02 23:52:23 +00:00
Dave Hoover
e92d57e315
Some warning cleanups, widening, and varargs logification.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@700 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-11-12 18:45:13 +00:00
Dave Hoover
8d4c46f3c3
Some widening/varargs logging/javadoc fixes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@675 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-10-27 21:54:28 +00:00
Dave Hoover
4c9ac3ad6f
Use RandomUtil.getChance()
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@673 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-10-22 17:26:51 +00:00
Dave Hoover
1daf5c206b
And of course, if I were thinking this morning, I would've rerun the organize imports
...
thing before committing instead of just going "oh yeah, I've been having this stuff
sitting around uncommitted for a while waiting on it to be blessed" and missing
out on things that'd changed in the meantime.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@665 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-09-26 17:35:27 +00:00
Dave Hoover
b473318b12
More import cleanups to go with r662, along with a little bit of foreaching, widening, etc.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@664 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-09-26 17:29:23 +00:00
Michael Bayne
8e69ff612e
Some import cleanups from Dave.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@662 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-09-25 22:16:10 +00:00
Charlie Groves
62740fe546
Rather than trying to restrict the drift adjustment into a sane range, just stop applying it if it's huge or tiny.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@656 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-09-14 23:27:29 +00:00
Dave Hoover
1c864bf169
Javadoc warnings cleanup.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@655 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-09-12 18:04:58 +00:00
Charlie Groves
aa171bdd0e
Expose sound types being enabled or disabled
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@646 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-23 19:42:54 +00:00
Charlie Groves
329bedd523
Choose a random sound from multi-option sounds in the SoundLoader when told to
...
play a particular key.
Set the gain on streams before returning them in addition to during each update.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@644 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-22 02:02:54 +00:00
Charlie Groves
c06de7d51f
Add ogg streaming to OpenALSoundPlayer
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@642 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-21 05:33:19 +00:00
Charlie Groves
81a2d3d104
Clean up some possible nulls to quiet Eclipse
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@641 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-21 01:50:06 +00:00
Charlie Groves
0abacd42d3
Give OpenALSoundPlayer its own thread and queue to keep it from sharing with the EDT and possibly blocking
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@639 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-20 23:31:21 +00:00
Charlie Groves
4aefa977b4
Expose shouldPlay
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@629 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-14 19:02:17 +00:00
Charlie Groves
8febded3b3
Nip a compiler warning
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@628 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-14 18:29:09 +00:00
Charlie Groves
fbf539580e
Readd a deprecated SoundManager that just extends JavaSoundPlayer to keep it around with its original name
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@626 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-14 00:51:34 +00:00
Charlie Groves
fc32634412
Rename all the media.SoundManager stuff to variants on SoundPlayer to conflict
...
less with openal.SoundManager.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@625 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-14 00:50:17 +00:00
Michael Bayne
5c234af875
This needs to live in the openal package because all the OpenAL must not be
...
visible to things that don't want or care about OpenAL. Also, the openal
package is conditionally compiled, so this would have broken a Narya build that
didn't use the OpenAL libraries.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@624 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-13 22:49:34 +00:00
Charlie Groves
e678d36262
Look at the big smart programmer using the library code instead of rolling his own, hacked-up shit
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@623 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-13 22:12:25 +00:00
Charlie Groves
e4801b954f
Pull the generic sound playing api from SoundManager up into
...
AbstractSoundManager and implement the actual sound playing with Java sound in
SoundManager and with OpenAL in OpenALSoundManager. I left the SoundManager
name alone so nothing using it will need to change, but if nothing besides
yohoho is using it, I can refactor it to a more sane naming scheme.
Rip out all the music and alternative format stuff since it didn't work anyway.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@622 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-13 21:47:42 +00:00