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
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
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
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