Ray Greenwell
d43eabc156
We should be removing ourselves from our parent when we're finished.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@225 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-05-04 00:41:32 +00:00
Andrzej Kapolka
bb54ec1888
Optimize vertex order for cache usage and use a better data structure to
...
(re)index vertices.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@224 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-05-04 00:39:54 +00:00
Michael Bayne
095c718244
Render to the applet instead of its parent window since that doesn't work.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@223 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-05-03 22:56:29 +00:00
Michael Bayne
ab6252cee7
Widened. Added getMirage(String).
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@222 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-05-03 21:13:32 +00:00
Andrzej Kapolka
277b62bd52
Don't merge meshes where, in any animation, one is visible and the other
...
isn't.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@221 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-05-02 18:19:09 +00:00
Ray Greenwell
a855fa8340
Comment fixup.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@220 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-05-02 00:13:29 +00:00
Ray Greenwell
330a99f337
Added isContentInitialized(), which should be used to help differentiate
...
between an MsoySprite that does not have any WhirledControl subclass in it
and those that do, but are just not yet fully loaded.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@219 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-05-02 00:10:00 +00:00
Andrzej Kapolka
072926f814
Merge meshes in animated models by finding ones that maintain the same
...
relative position throughout all animations. Also, don't include
transforms in the animations for nodes that never move.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@218 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-05-01 23:36:23 +00:00
Ray Greenwell
86298ca832
I've decided I like setCallback() better than setFunction().
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@217 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-05-01 16:32:27 +00:00
Ray Greenwell
353d7213d0
Bugfix for animations that complete instantly.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@216 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-27 23:06:32 +00:00
Andrzej Kapolka
250670e699
Default to using S3TC texture compression.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@215 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-27 20:48:48 +00:00
Ray Greenwell
1d04c51070
Use TextFieldUtil.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@214 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-27 01:28:28 +00:00
Ray Greenwell
f50613a913
Utility methods to attempt to make initializing a TextField easier.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@213 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-27 01:27:54 +00:00
Ray Greenwell
fb1eb6026b
Call updateAnimation() immediately on any starting animation.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@212 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-27 00:51:50 +00:00
Ray Greenwell
5f83a3bbcf
Revamping animations to be based off of ENTER_FRAME rather than
...
using a rapidly-expiring Timer. Cleaned up some other bits.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@211 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-26 23:52:25 +00:00
Robert Zubeck
79c388a906
Basic 3D vector library.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@210 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-25 23:13:16 +00:00
Ray Greenwell
c48aa541e8
Added hook for subclasses to initialize things prior to loading a new
...
piece of media.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@209 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-24 23:25:03 +00:00
Ray Greenwell
74d0b7286b
More text animations, these are capable of animating each character.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@208 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-24 22:56:26 +00:00
Ray Greenwell
03e3b1b91c
Some fixups. I think I'm going to want to refactor this so
...
that there are util methods for creating nice textfields, and then
generic animation classes for floating anything. This can then become
a convenience class that marries the two.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@207 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-24 22:55:29 +00:00
Ray Greenwell
476334e5ee
It's ok to BE null, it just can't be set to null.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@206 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-24 21:28:49 +00:00
Ray Greenwell
97ff4caa41
Working towards some easy-to-use score animation type things.
...
Actionscript's lack of method overloading sucks. I can't have more
than one constructor, and factory methods will have to have different names.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@205 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-24 21:22:54 +00:00
Nathan Curtis
b77c72220e
Rather than break out a general purpose matrix algebra class that may not be needed anywhere else,
...
just compress those huge unneccessary functions into a couple of sensible loops for this
specific case.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@204 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-23 22:04:03 +00:00
Nathan Curtis
f6060d95af
bring the functionality from UD's HueFilter into FilterUtil. I need to test this with UD to make
...
sure it works, and then these matrix functions should probably be put into a separate lib class
(perhaps a new narya com.threerings.util.Matrix?)
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@203 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-23 18:44:02 +00:00
Ray Greenwell
54290011ae
Properly document our event.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@202 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-19 23:12:53 +00:00
Andrzej Kapolka
488d47262b
Where possible, merge meshes with identical attributes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@201 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-18 21:06:08 +00:00
Michael Bayne
f7cb60407e
Nix the flexlib.swc from Nenya. We're going to need this in Whirled as well now
...
and we don't have a fancy system for enumerating shared dependencies like we do
for Java, and such a thing wouldn't really work or make sense given the way
ActionScript is compiled anyway.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@200 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-16 22:55:35 +00:00
Ray Greenwell
8c01691397
Finished off FilterUtil.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@199 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-14 03:42:11 +00:00
Michael Bayne
c8ee262b7f
Added popLeftwards. Only really useful for menus without submenus.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@198 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-14 01:45:04 +00:00
Ray Greenwell
a3b441fcaa
Partial implementation of FilterUtil.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@197 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-14 00:17:18 +00:00
Ray Greenwell
97a7ebcab3
Removed import that turned out not to be necessary. I was so prepared
...
for this to be complicated!
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@196 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-12 23:54:04 +00:00
Ray Greenwell
a8a3295f26
Conveniently, it appears that the extra events generated by key repeat
...
are all KEY_DOWN events.
So holding down a key in flash generates: DOWN, DOWN, DOWN, ... UP.
In Java, we get DOWN, UP, DOWN, UP ...
Made a little helper class that can be used to block the extra DOWN events.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@195 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-12 23:49:29 +00:00
Ray Greenwell
54fd9e0df4
Moved Mike's artvatar Button utility class here, make it a little more customizable.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@194 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-12 22:03:04 +00:00
Nathan Curtis
ab19cb897e
Do something sensible when people set the width on this control
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@193 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-11 22:11:58 +00:00
Robert Zubeck
2291510909
A Shape is lighter than a Sprite.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@192 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-10 00:27:13 +00:00
Robert Zubeck
1eef72d9da
Adding a mask and changing some colors inside the ScrollBox.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@191 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-09 23:31:22 +00:00
Michael Bayne
47d8ed1d63
Allow a custom dispatcher to be provided because the default (dispatching on
...
the stage) only routes commands to the global controller, bypassing the
controller for the current place view.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@190 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-08 02:42:16 +00:00
Dave Hoover
deec0b10b8
Let's do keyword substitution on the actionscript; it's got all those purty $Id$ tags, too.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@189 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-07 00:25:46 +00:00
Dave Hoover
4b933b4379
Keyword substition.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@188 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-07 00:22:24 +00:00
Jonathan Le Plastrier
a6fca4c25e
Kill off the .cvsignore files.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@187 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-06 23:09:28 +00:00
Nathan Curtis
e7c72867e5
show the standard hand cursor when hovering over any CommandButton
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@186 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-05 22:02:31 +00:00
Mike Thomas
3320ab34cd
We specify an Arcing path in terms of a start position and various parameters. It's useful to be able to ask the resulting path where that path ended, especially if we want to create another path starting from that new end point.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@185 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-05 20:24:47 +00:00
Ray Greenwell
3a6d0d0972
Extend the flexlib scrolling menu.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@184 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-03 17:06:16 +00:00
Ray Greenwell
e976920747
Removed. The scrolling menus are now part of flexlib.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@183 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-03 17:06:02 +00:00
Ray Greenwell
a7c6725418
Flexlib version .1.6
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@182 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-04-03 17:05:16 +00:00
Ray Greenwell
05b02ffc5a
Log something when we unload media.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@181 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-03-23 21:56:26 +00:00
Andrzej Kapolka
33c0d7f8a5
Added a visitor for geometry batches.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@180 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-03-22 20:55:51 +00:00
Ray Greenwell
fd665f3f83
- Changed to display the text "fps: ", followed by the frame rate to only
...
2 decimal places.
- Size our width accurately.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@179 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-03-22 19:17:53 +00:00
Andrzej Kapolka
89e7c41c2e
Check for successful shader linkage, returning null if there was an
...
error.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@178 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-03-21 21:15:53 +00:00
Mark Johnson
9ed8c648ac
Allow createDisplay to throw a JmeException
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@177 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-03-21 18:26:02 +00:00
Ray Greenwell
52a53ab1e9
Cope with non-Loader media objects that have set up their own masks.
...
God, what a disaster. I'd say the right thing to do would be to add the
mask directly to the media container, but we rely in a few places on being
able to easily decorate the media container by winging other objects off
the edges, and we don't want to just create one mask that's big enough for
the user media as well as our decorations (because then malicious user
media could alter what the user perceives as our decorations).
Perhaps the right thing to do is make MsoySprite not be a subclass
of MediaContainer, but contain one. That's a refactor I won't be
rabbit-holing right now, thankyou.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@176 ed5b42cb-e716-0410-a449-f6a68f950b19
2007-03-21 01:04:49 +00:00