1304 Commits

Author SHA1 Message Date
Andrzej Kapolka 1af5a69266 Moved the code for registering extensions and creating instances to
StreamDecoder.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@154 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-02-09 23:18:40 +00:00
Andrzej Kapolka fc5459fb7d Fixed mp3 playing, refactored to avoid duplicating code.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@153 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-02-09 02:10:32 +00:00
Michael Bayne ea9f4d481e Non-functional MP3 playing support.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@152 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-02-08 19:04:59 +00:00
Andrzej Kapolka 15a4d1d075 Use apply, rather than load, to ensure that JME remembers the current
texture state.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@151 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-02-07 23:52:11 +00:00
Michael Bayne 8df7f7e0b3 Support (but don't require) compiling to a custom destination directory.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@150 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-02-07 18:44:17 +00:00
Michael Bayne aa9f74eed8 Use equals() to assuage code analysis tools that don't know that we assign
localType in the local VM and are careful to use the exact same instance.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@149 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-02-06 06:05:27 +00:00
Dave Hoover 7a9b36f33e Out out, damned question marks.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@148 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-02-05 21:22:21 +00:00
Ray Greenwell 26fe6018ab Momma said delete that cruft.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@147 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-02-03 01:16:56 +00:00
Ray Greenwell 8a063533cf We use the wee arrows for scrolling, so turn off the scrollbar.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@146 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-02-03 01:14:53 +00:00
Mike Thomas 9006af28b9 Some convenience functions for getting color information entirely by name.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@145 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-02-03 00:22:14 +00:00
Ray Greenwell a2da7a8629 Rewrote the comment in English.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@144 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-02-02 19:53:47 +00:00
Ray Greenwell 7ff794343c Moved these here from inside metasoy.
Grid changed into GridUtil.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@143 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-02-02 19:44:04 +00:00
Andrzej Kapolka dddf409ad7 Fixed NPE.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@142 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-02-02 01:36:17 +00:00
Mark Johnson a32f3a65e5 The % operator in Java is not a modulo operator but a remainder
operator.  As such, the result can be negative.  I've added a check to 
prevent our next frame index from becoming negative.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@141 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-02-01 23:01:46 +00:00
Andrzej Kapolka a8e905f419 Added "emissive" and "additive" flags for model bits.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@140 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-02-01 22:48:03 +00:00
Andrzej Kapolka 7f36e60353 Added a translation controller.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@139 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-02-01 21:54:53 +00:00
Andrzej Kapolka 60abc93638 Specify the default repeat type as a parameter; model animations should
not loop by default.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@138 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-02-01 20:03:00 +00:00
Andrzej Kapolka 7cdebe1912 Added a billboard model controller.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@137 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-02-01 19:31:55 +00:00
Michael Bayne 420140a3bc Oh the bad choice of property names. That's not no. Also added a comment
explaining why we don't care if we get a SecurityException.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@136 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-02-01 19:25:09 +00:00
Michael Bayne 5fe2a337c1 This needs to be done in a sandbox safe manner.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@135 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-02-01 19:23:35 +00:00
Michael Bayne c69a5527b9 Don't register the resource: handler by default. It causes problems and we only
want to do it in our clients. Also demoted some log messages to debug and
widened.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@134 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-02-01 07:34:08 +00:00
Michael Bayne f43c9208f3 Let's not create a globally shared temp directory to avoid freakout if multiple
servers are running on the same host as different users.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@133 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-02-01 04:00:44 +00:00
Andrzej Kapolka fb8f4ce0a8 Fixed a bug with the texture controllers and moved some shared code into
a utility class.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@132 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-01-31 22:05:46 +00:00
Ray Greenwell d49e50db89 Cleaned up some issues:
- While Menu.popUpMenu() takes a DisplayObjectContainer as a parent,
  it will hork unless the parent is really a UIComponent.
  Omit that parameter from our convenience function and allow the parent
  to be set to the application.
- Changed show() with no args to show at the mouse location.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@131 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-01-31 21:45:57 +00:00
Andrzej Kapolka 1bdce080ae Assume that we start at the first frame.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@130 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-01-31 03:55:34 +00:00
Andrzej Kapolka 1cba0183f9 Added texture translation and animation controllers.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@129 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-01-31 03:41:26 +00:00
Ray Greenwell 5ed0513644 - Added Scrollable menus, written by Doug McCune, aka Some Guy. This
is the first time I've felt a real benefit to using flex. It's standard!
  People are fixing the deficiencies!
- Have CommandMenu extend that, and Bob's your uncle!


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@128 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-01-31 03:18:22 +00:00
Ray Greenwell 06f7f75fde Moved CommandEvent back, update imports.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@127 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-01-31 03:03:17 +00:00
Ray Greenwell 76074998f4 Moved here.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@126 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-01-31 02:59:09 +00:00
Michael Bayne 12f8cabd90 Config -> PrefsConfig where appropriate.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@125 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-01-31 00:49:05 +00:00
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