we're done loading images from them.
Always load through a BufferedInputStream because that seems to fix the
bogosity with ImageIO.load() not working without a cache.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2098 542714f4-19e9-0310-aa3c-eee0fc999fb1
- Use Constant objects for the command constants because the toString()
output on those is more sensible.
- Fall back to the classpath if we don't find our resource in a bundle
- Don't make the sound manager thread a daemon thread as it provides a
shutdown() which is a more civilized way to make it go away anyhow and
allows the sound manager to be used in one-shot tools and test
programs. At the moment, the sound manager (on Linux at least) seems to
start up some threads that refuse to go away anyway but that's a problem
for another time.
- Report if a command is queued up that we don't know about.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2050 542714f4-19e9-0310-aa3c-eee0fc999fb1
which turned out to be due to improper restoring of the anti-aliasing
setting in graphics contexts.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2045 542714f4-19e9-0310-aa3c-eee0fc999fb1
FPS display, made it possible for frame participants to add to the
performance status string. Also modified perf status to be double
buffered. It's not repainting exactly properly at the moment; soon to be
remedied.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2041 542714f4-19e9-0310-aa3c-eee0fc999fb1
themselves, and accordingly dramatically reduced the cache size and fixed
comment.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2036 542714f4-19e9-0310-aa3c-eee0fc999fb1
the frame buffer, and a debug chord (Alt+Shift+F) to toggle the display.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2025 542714f4-19e9-0310-aa3c-eee0fc999fb1
moment that a sound is requested to just before the LineSpooler object
that it was given to starts writing the data to a line.
- Turned drain() back on, but only if we're not running under linux.
If we're in linux, we instead sleep for 3 seconds, and gosh darn it, the
sound should be finished after that.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2019 542714f4-19e9-0310-aa3c-eee0fc999fb1
EventQueue.isEventDispatchThread() and to make Ray happy.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2017 542714f4-19e9-0310-aa3c-eee0fc999fb1
without expensive calls to System.currentTimeMillis().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2016 542714f4-19e9-0310-aa3c-eee0fc999fb1
it should. Added code to track and report desired and obtained frame rate.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2015 542714f4-19e9-0310-aa3c-eee0fc999fb1
our call to Path.init() we don't freak out. Also made a note that paths
will be ticked after being init()ed because that's the way it works.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2011 542714f4-19e9-0310-aa3c-eee0fc999fb1
pathable some number of ticks offset from the "natural" orientation which
would be in the direction it is traveling along the arc.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2002 542714f4-19e9-0310-aa3c-eee0fc999fb1
spark duration. Spark is perhaps a bit of a misnomer as the animation is
really more of a specialized kind of explosion.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2000 542714f4-19e9-0310-aa3c-eee0fc999fb1
during a call to tick() so that if it's subsequently painted we can be
assured that it's been ticked at least once previously.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1993 542714f4-19e9-0310-aa3c-eee0fc999fb1
sounds.
- added test sound directory setting.
- mp3 player needs more fixing, but allow some volume adjustment.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1990 542714f4-19e9-0310-aa3c-eee0fc999fb1
Don't play clips or music if the appropriate volume is zero.
If music is turned off, stop current playback immediately, but also
start it back up if the volume is turned up.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1987 542714f4-19e9-0310-aa3c-eee0fc999fb1