1304 Commits

Author SHA1 Message Date
Michael Bayne b44864c506 Some fiddling to support a potential wacky project.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@104 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-19 21:45:43 +00:00
Landon Fuller ae23946af0 seteuid()/setegid() support
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@103 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-19 20:38:18 +00:00
Landon Fuller fc284c2e58 Let's use one copy of this identical code
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@102 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-19 19:46:10 +00:00
Landon Fuller f91aaf6ba1 Mac OS X support
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@101 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-19 19:45:09 +00:00
Andrzej Kapolka 8c346c4f4f Don't set the other texture buffers for cards that don't support
multi-texturing.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@100 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-19 02:22:03 +00:00
Michael Bayne 871e38149b Added a new slider mode.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@99 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-19 01:55:53 +00:00
Michael Bayne bf6eb30ef6 Whoops added scale caching to the wrong method.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@98 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-18 04:24:23 +00:00
Michael Bayne 7b47faa5ed Make it easy to scale a BImage when loading it.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@97 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-17 23:31:10 +00:00
Mike Thomas 493e1f1a8b New type of sprite that wraps an animation. This is useful for moving animations. It's also useful, thanks to some wackiness in the MediaPanel for making animations appear in appropriate places in the render order compared to sprites.
I'd really prefer to put this in the sprite package, but putting it here means I don't have to publicize the willStart/willFinish/didFinish functions on Animation.  I'm open to suggestions for better solutions to that one...


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@96 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-16 00:51:03 +00:00
Michael Bayne e7d9acdad6 Delete jar files when cleaning.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@95 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-15 23:21:27 +00:00
Mark Johnson d2aabbcfae Added the ability to stop and reclaim all the sources without fully
disposing the sound group.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@94 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-14 23:00:21 +00:00
Dave Hoover 11f82ff097 Add hooks so that other fringers can muck around with tiles to
do art swapish stuff.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@93 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-13 21:53:10 +00:00
Michael Bayne 23f305aa81 Make the first sentence not overlong so as to play nicely with javadoc.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@92 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-05 07:00:42 +00:00
Michael Bayne 20021d7eab Fixed typo.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@91 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-05 06:59:48 +00:00
Michael Bayne 4ae22890bf Use our surprisingly handy new method.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@90 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-05 06:58:04 +00:00
Michael Bayne cd97adf00b Track bounds changes for our underlying sprite in such a way that we dirty
things properly if they do. Simply stealing our target sprite's _bounds will
not result in the necessary calls to addDirtyRegion() if they change due to
calls to setLocation() on our (now unmanaged) target sprite.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@89 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-05 06:52:54 +00:00
Michael Bayne 7850123988 Factored some duplicated code into a shared method that can be used to easily
and efficiently dirty old and new bounds when our bounds change.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@88 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-05 06:51:41 +00:00
Michael Bayne 8286ef88c4 Patch to BobbleAnimation (which we don't seem to use anywhere) from nvanderh.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@87 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-05 06:25:23 +00:00
Michael Bayne 562b1f11ab Patch from nvanderh: handle dirtying properly if our bounds change between
frames.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@86 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-05 06:21:33 +00:00
Mike Thomas e74970ac1e Also need to adjust the path to find localized resource files if we come through the getResource/getImageResource calls that pass us a resource set.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@85 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-02 01:41:28 +00:00
Andrzej Kapolka 227108e7fa Cope with the sad bastards who have only one texture unit.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@84 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-01 20:06:59 +00:00
Mike Thomas 5fda18ef31 Add two features our multi-locale yohoho is going to need:
- Ability to set a locale prefix in which to search for locale-specific images.
- Ability to clear the image cache (we want to do this when we switch locales, otherwise we end up with wrong-language images cached.)


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@83 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-01 18:49:09 +00:00
Michael Bayne 4c61406ea8 Moved Bang's handy ImageCache into our handy JME extensions library.
Note: This marks my official conversion to a 100 character line width. We've
been experimenting with it on MetaSOY for a while now and it reduces wrapping
by what feels to be a substantial amount. We also tried 120 which ended up
feeling too wide.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@82 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-11-26 00:11:30 +00:00
Andrzej Kapolka 8fc51080a8 OK, that wasn't so hard. Enable all of the "quick compare" flags, which
force states to be reapplied for every batch when disabled.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@81 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-11-17 00:16:59 +00:00
Michael Bayne 929dd438b8 The viewer is only in tests/.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@80 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-11-16 23:38:06 +00:00
Michael Bayne afaa0153b6 If we don't have xml-writer avoid compiling all the XML scene crap (and
unfortunately also the Miso Viewer).


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@79 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-11-16 23:34:01 +00:00
Michael Bayne 81cd97edc7 New libs.dir business.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@78 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-11-16 23:13:21 +00:00
Andrzej Kapolka cfe8c0f2df Updated to reflect changes in JME and changed hashCode to hash on the
node name instead of the identity, to ensure consistent ordering.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@77 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-11-16 23:11:27 +00:00
Michael Bayne a8e1855207 Use distlib.dir.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@76 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-11-16 21:26:58 +00:00
Mark Johnson c8d5239edc Handle the clear command in a ChatView
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@75 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-11-09 01:01:51 +00:00
Mike Thomas 20922a1cf1 Rather than getting the tile count from the raw image each time (as TileSet.getTileCount does for certain tilesets), keep a copy of the number of tiles we're counting.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@74 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-11-08 19:11:16 +00:00
Andrzej Kapolka 46616164f4 Use utility method ArrayUtil.copy.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@73 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-11-08 03:07:19 +00:00
Ray Greenwell 95cc9ea2ef Java 1.6 includes a javax.swing.GroupLayout, so be specific about the
things we're importing from samskivert.
(Our style nowadays is to always explicitely specify imports.)


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@72 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-11-07 23:56:07 +00:00
Andrzej Kapolka 09627624c6 Switch to using JME's serialization mechanism, which promises a degree
of version safety (meaning we won't necessarily have to recompile all 
the models when we add a new field) and should help avoid the frequent 
binary changes to which Java serialization is prone.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@71 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-11-07 03:14:35 +00:00
Michael Bayne 04a833f169 Obscure password information when we log URLs.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@70 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-11-06 23:57:45 +00:00
Andrzej Kapolka 434c5f86c2 Probably only need one of those.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@69 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-11-01 02:17:22 +00:00
Andrzej Kapolka a7c56949aa Translation for camera position option.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@68 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-11-01 02:10:39 +00:00
Andrzej Kapolka 261bc3a9ee Added option to show camera position.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@67 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-11-01 02:09:06 +00:00
Mark Johnson 61b8e6792a Added the ability to check if a sound is currently playing.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@66 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-27 18:33:24 +00:00
Michael Bayne db91a42b05 More juicy fallthrough bug finding.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@65 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-26 23:09:43 +00:00
Andrzej Kapolka e1c864ff46 Fixed NPE in model variant handling.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@64 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-24 20:59:25 +00:00
Andrzej Kapolka 3f2885496e Switched attribute name from "radpersec" to "velocity".
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@63 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-20 18:43:18 +00:00
Andrzej Kapolka 7ea2db3111 Updated to match new version of JME.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@62 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-19 18:35:35 +00:00
Mark Johnson 4175ec61da Let's allow crop mask images to be optional as well
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@61 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-19 18:29:28 +00:00
Michael Bayne a2f36abd2b These are not in the shared library directory but rather the project's
top-level library directory. Probably we need an alias for that but lib/ will
do for now.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@60 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-19 01:27:07 +00:00
Andrzej Kapolka 41d9f206d5 Moved the Max exporters here to live with the model code.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@59 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-18 00:14:16 +00:00
Mark Johnson 7bf691a518 Protect against negative bounds sizes.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@58 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-17 21:09:24 +00:00
Mark Johnson 2c9eb850da Composite masks after generating the shadows so we can mask the shadows
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@57 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-17 20:41:23 +00:00
Andrzej Kapolka 0dc6586e6a For models with locked transforms (i.e., props), don't bother trying to
keep the world bound up-to-date; it won't change, and updateWorldVectors 
has no effect.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@56 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-14 00:49:23 +00:00
Michael Bayne 95500d74f3 Use project.dir.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@55 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-13 23:59:04 +00:00