Commit Graph

174 Commits

Author SHA1 Message Date
Mike Thomas 186327b3d1 CopyUtils has been deprecated, using IOUtils instead.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@124 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-01-24 21:36:24 +00:00
Dave Hoover 8bff333dd8 Fix dirty coords for our overlay so it all lines up and works. Yay!
And some tabs -> spaces while I was there.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@123 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-01-24 21:34:51 +00:00
Jonathan Le Plastrier b2cec8efc3 On second thought, we'll take care of calling javadoc first.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@122 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-01-24 02:44:32 +00:00
Jonathan Le Plastrier a06abd514d We want our javadocs in the snapshot as well.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@121 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-01-24 02:27:28 +00:00
Jonathan Le Plastrier 23760740b2 Let's build our snapshot into dist/ and not use ../snapshot as our temp directory.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@120 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-01-24 00:54:47 +00:00
Dave Hoover 120e9c0db9 Actually substitute keywords (these files are chock full of stale $Id$ tags)
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@119 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-01-24 00:22:12 +00:00
Michael Bayne 360d1b92bd Locate our jars from the NWO directory.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@118 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-01-20 03:58:53 +00:00
Michael Bayne 283fd15f19 Some fixes but components are still not getting properly repainted in all cases
for some reason.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@117 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-01-20 03:58:18 +00:00
Michael Bayne fb91fd8770 Let's have all the same convenience methods as MediaPanel.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@116 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-01-20 02:55:16 +00:00
Michael Bayne 81a3dd4dd9 In theory this should work (modulo some particularly fiddly bits that I'm going
to have to think about), but it's totally untested. That comes next!


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@115 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-01-20 02:35:56 +00:00
Michael Bayne 088bc4b88b Fix initialization ordering problems in MetaMediaManager ->
Sprite/AnimationManager -> AbstractMediaManager.

A smidgen more progress on MediaOverlay, but we need to get these bits checked
in ASAP.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@114 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-01-20 02:10:30 +00:00
Michael Bayne 031b51419f Widened, reordered methods, removed some old debugging cruft in preparation for
adding the MediaOverlay stuff.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@113 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-01-20 01:21:05 +00:00
Michael Bayne a8de5bb789 A whole bunch of refactoring to support a MediaOverlay which will allow us to
render sprites and animations anywhere in the frame for those times when you
just need to draw outside the lines.

The actual MediaOverlay isn't done yet, but all the refactoring to support it
is done, so the rest should be easy. In theory this shouldn't break anything
(like the Yohoho build), but we're about to find out.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@112 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-01-20 01:09:53 +00:00
Mark Johnson 86645aa41e Let's remove the path controller when we cancel our move
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@111 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-01-19 18:14:43 +00:00
Mike Thomas 0a5a13302c Allow the clearing of the tile manager's cache.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@110 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-01-18 23:01:47 +00:00
Andrzej Kapolka 154ce35b3a When stopping animation, make sure to update the meshes if the model was
outside the view frustum on the last update.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@109 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-01-02 19:06:34 +00:00
Michael Bayne 9dadf30d2e Widened, demoted logging to debug.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@108 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-30 01:25:57 +00:00
Mark Johnson c3f4992328 Set the holders to null after we've reclaimed the sounds.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@107 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-22 02:16:34 +00:00
Mike Thomas 71259f2ceb Protect from an NPE if we find no graphics yet at sprite initialization time.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@106 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-20 20:05:09 +00:00
Landon Fuller 45c75b5039 Newly built (up-to-date) version of libunsafe for FreeBSD/i386
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@105 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-12-20 01:01:24 +00:00
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