Ray Greenwell
cda3d6f94e
Headless building for happy Mac development.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@683 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-11-04 01:40:56 +00:00
Ray Greenwell
343b24728c
Tidied logging, including commenting out super-annoying unload messages.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@682 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-11-01 03:15:04 +00:00
Ray Greenwell
666999284e
Use the new video player.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@681 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-11-01 03:10:45 +00:00
Ray Greenwell
8ee553c3e3
New video stuffs.
...
- VideoPlayer is the interface to the video backend.
- Adapted my old VideoDisplayer into a FlvVideoPlayer
and the SimpleVideoDisplay frontend.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@680 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-11-01 03:10:21 +00:00
Ray Greenwell
7ac5d036de
Dispatch a COMPLETE event when we finish loading media.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@679 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-10-31 00:10:46 +00:00
Charlie Groves
df7fdc5e81
Add tileToFull
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@678 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-10-29 01:11:57 +00:00
Ray Greenwell
df41e4e849
Added createText() for conveniently creating a multiline text widget.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@677 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-10-27 23:42:03 +00:00
Jamie Doornbos
c420e540d6
New method to allow a command button to be activated, emulating a user click
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@676 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-10-27 22:13:45 +00:00
Dave Hoover
8d4c46f3c3
Some widening/varargs logging/javadoc fixes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@675 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-10-27 21:54:28 +00:00
Michael Bayne
fbe0b18bb3
Bye bye log spam, hello once again readable client logs.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@674 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-10-24 19:01:36 +00:00
Dave Hoover
4c9ac3ad6f
Use RandomUtil.getChance()
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@673 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-10-22 17:26:51 +00:00
Charlie Groves
e2e3243a29
Reinstate the mask cache. We were spending about half our scene time making masks
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@672 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-10-22 01:02:31 +00:00
Charlie Groves
b13728ac5f
Wait for the call to wasResolved to call back about being abandoned as the scene panel is expecting that to be on the AWT thread
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@671 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-10-22 00:13:58 +00:00
Ray Greenwell
7fdedc30a3
ooo-style formatting and importing.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@670 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-10-17 22:07:50 +00:00
Ray Greenwell
1df26e8813
Added LoaderUtil, which has unload.
...
Hmm, I'm not able to use unloadAndStop() yet.
Perhaps I need to grab an even newer version of the flex SDK,
so it's commented out for now.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@669 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-10-16 00:49:34 +00:00
Ray Greenwell
a19690f205
Added countLayoutChildren(), which counts the children of a container that
...
have includeInLayout = true.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@668 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-10-15 20:45:27 +00:00
Ray Greenwell
fcf091b5c1
Allow the up and down arrow keys to traverse the command history, like we do in Java.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@667 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-10-14 21:25:37 +00:00
Ray Greenwell
c0a22fdabb
Line wrappery.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@666 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-10-14 21:24:50 +00:00
Dave Hoover
1daf5c206b
And of course, if I were thinking this morning, I would've rerun the organize imports
...
thing before committing instead of just going "oh yeah, I've been having this stuff
sitting around uncommitted for a while waiting on it to be blessed" and missing
out on things that'd changed in the meantime.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@665 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-09-26 17:35:27 +00:00
Dave Hoover
b473318b12
More import cleanups to go with r662, along with a little bit of foreaching, widening, etc.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@664 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-09-26 17:29:23 +00:00
Charlie Groves
b481c48791
Only log native library loading errors if we attempt to use it
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@663 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-09-26 00:34:23 +00:00
Michael Bayne
8e69ff612e
Some import cleanups from Dave.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@662 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-09-25 22:16:10 +00:00
Michael Bayne
8590d5650b
Added createTipLabel().
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@661 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-09-25 00:54:54 +00:00
Charlie Groves
4b038fb8e1
Keep updating the tick time even if the sound manager is null
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@659 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-09-23 20:09:36 +00:00
Charlie Groves
62740fe546
Rather than trying to restrict the drift adjustment into a sane range, just stop applying it if it's huge or tiny.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@656 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-09-14 23:27:29 +00:00
Dave Hoover
1c864bf169
Javadoc warnings cleanup.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@655 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-09-12 18:04:58 +00:00
Michael Bayne
e284b6cfc1
Unused import patrol.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@654 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-09-11 17:54:45 +00:00
Andrzej Kapolka
89f1f1938e
Some changes to bring OpenAL code in line with OpenGL code: use a
...
Java object to represent each OpenAL object (listener, sources,
and buffers) and delete the OpenAL object if the Java object is
garbage-collected. Added the full range of listener and source
settings.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@653 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-09-10 23:55:25 +00:00
Andrzej Kapolka
5df6f85014
I don't think anything is using this. I'm moving it so that I
...
can extend it with Clyde-specific bits.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@652 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-09-10 00:50:46 +00:00
Andrzej Kapolka
5d3f025b7a
Uncommented line after updating samskivert with the required
...
method.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@651 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-28 22:57:32 +00:00
Andrzej Kapolka
adeab3efa2
Added methods to observe resource files for changes to their
...
last-modified timestamps (by manual polling).
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@650 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-26 23:12:13 +00:00
Charlie Groves
60d2febeda
Allow streams and sounds to have their gain controlled individually as well as from the overall control
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@649 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-26 22:17:11 +00:00
Charlie Groves
e4cdad7741
Start up streams on the sound queue thread and handle OpenAL barfing on startup
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@648 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-26 20:23:02 +00:00
Charlie Groves
fff73d94cc
Expose the SoundLoader
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@647 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-23 21:07:47 +00:00
Charlie Groves
aa171bdd0e
Expose sound types being enabled or disabled
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@646 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-23 19:42:54 +00:00
Charlie Groves
135b25516e
Hey, let's not just completely break locking and unlocking sounds
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@645 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-22 02:38:57 +00:00
Charlie Groves
329bedd523
Choose a random sound from multi-option sounds in the SoundLoader when told to
...
play a particular key.
Set the gain on streams before returning them in addition to during each update.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@644 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-22 02:02:54 +00:00
Michael Bayne
a2f5bd532e
In this case I think the helper function reduces clarity rather than adds.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@643 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-21 18:30:01 +00:00
Charlie Groves
c06de7d51f
Add ogg streaming to OpenALSoundPlayer
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@642 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-21 05:33:19 +00:00
Charlie Groves
81a2d3d104
Clean up some possible nulls to quiet Eclipse
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@641 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-21 01:50:06 +00:00
Charlie Groves
99fc1ddbf7
Uhh, probably makes sense to actually hook the volume setting up to the sound manager
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@640 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-21 01:43:08 +00:00
Charlie Groves
0abacd42d3
Give OpenALSoundPlayer its own thread and queue to keep it from sharing with the EDT and possibly blocking
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@639 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-20 23:31:21 +00:00
Bruno Garcia
1bd35bd926
Flex 3.1 changes
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@638 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-20 22:31:30 +00:00
Ray Greenwell
ac836c1cea
New chat prompt from Bill.
...
Yeah, not very i18n.
We're just trying this out.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@637 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-20 22:24:42 +00:00
Michael Bayne
3faa619689
That should be tests not test.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@636 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-20 16:41:56 +00:00
Andrzej Kapolka
e399b4dd15
Avoid pesky stack overflows.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@635 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-19 21:11:32 +00:00
Ray Greenwell
b7e3f617f0
Fixed NPE found by Sigalig Whirligig.
...
I find this super annoying about flash:
for (propName in objRef) { // this works fine if objRef is null
if (propName in objRef) { // this NPEs if objRef is null
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@634 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-19 02:41:30 +00:00
Ray Greenwell
cbe1f76632
It's the return of the chat prompter!
...
What's this white box on the control bar?
Now it says "type to chat" right in there when empty and unfocused.
My life is empty and unfocused, checking this in at 11:15 on friday night.
Things like this were tried in the past, and were always screwing up
and getting in the way of chatting or using the room. This is a skin,
not actual text, so it's more fuckup-proof.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@633 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-16 06:14:41 +00:00
Dave Hoover
754566d011
Pedanticism police.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@632 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-15 23:19:44 +00:00
Charlie Groves
8a3c6c8614
There's no way to genericize the Comparable while using the static
...
ClipBuffer.makeKey to create them, and non-genericized Comparables make the
Baby Jesus(Nate) cry, so just drop the pretense and use String.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@631 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-08-15 22:38:46 +00:00