Ray Greenwell
a41128f93d
Broke streaming backwards compatibility, only stream the ints that matter.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3937 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-11 02:42:21 +00:00
Michael Bayne
3f5aed3555
Let the vsync limit our frame rate instead of trying to do it by hand.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3934 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-09 23:54:26 +00:00
Ray Greenwell
bdfecce767
A bit of simplification.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3927 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-08 23:21:47 +00:00
Michael Bayne
2841e90659
Load our initial configuration data synchronously. See comments for
...
explanation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3925 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-08 22:16:01 +00:00
Andrzej Kapolka
3163825b29
For low frame rates, deal with moving over more than one leg per
...
update.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3923 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-08 01:40:09 +00:00
Ray Greenwell
a0e9f70db3
Cleaned that method up a bit.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3922 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-08 01:03:57 +00:00
Ray Greenwell
b72ee36b29
While working on Streaming arrays in actionscript I realized that
...
our streaming system should work with multidimensional arrays: in fact it
kinda already did, if the element type of the outermost array was something
for which we already had a streamer. Thus, int[][] worked, Object[][] worked,
etc. One small method change and now arbitrary multidimensional arrays
will work.
Why bother? Consistency, and the way I'm working on doing even the int[][]
arrays in actionscript supports unlimited dimensions, so why not?
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3921 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-08 00:56:23 +00:00
Ray Greenwell
5f6152230a
Tiny optimization.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3920 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-08 00:49:04 +00:00
Andrzej Kapolka
af8408fe5d
Added an optional pan to SwingPath.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3919 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-07 22:46:28 +00:00
Mike Thomas
e5c65b95b5
Allow action handlers to show a scene object's associated text without having an allowed action (though by default they still don't)
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3917 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-06 23:45:12 +00:00
Michael Bayne
18418122ea
More fixy fixy with the commas.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3916 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-06 22:10:05 +00:00
Michael Bayne
1effaf4ad9
No comma if we have no args.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3915 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-06 22:01:31 +00:00
Michael Bayne
58cbfb6db1
Regenerated using the new Ant-task-based generator.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3914 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-06 21:51:59 +00:00
Michael Bayne
17fdaa7c0d
Rewrote the InvocationReceiver generation process in Java as an Ant task. I had
...
previously redone the InvocationService and DObject generation tools but not
the InvocationReceiver tool.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3913 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-06 21:50:23 +00:00
Andrzej Kapolka
162440ed7e
Record the frame time as the different between the last and current
...
frames. JME's timer was using a running average: good for calculating
frame rates, bad for updates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3906 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-02 21:40:57 +00:00
Andrzej Kapolka
69da887537
Added a method to disable limits in CameraHandler and an optional second
...
swing axis to SwingPath.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3902 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-02 01:02:03 +00:00
Michael Bayne
679133091b
Use shorter columns so that we don't blow past the 1000 byte key limit on
...
databases configured to use utf8 encoding for their strings.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3899 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-01 22:08:40 +00:00
Michael Bayne
c6eb691cdc
Comment clarification.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3895 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-28 01:06:11 +00:00
Michael Bayne
282b04930f
Extracted our hairy bunch of logic for launching an external web browser into a
...
reusable location.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3894 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-28 00:46:15 +00:00
Mike Thomas
6aa865f51b
Was a little too overzealous on the errors during change-location calls. Times when the user is already there or already moving should just be silently ignored to avoid flooding the user with extraneous feedback. Also, use a better error for the case when they just somehow aren't currently in a scene.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3890 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-24 19:51:11 +00:00
Mike Thomas
ac6e897905
Colorizer is now smart enough to handle xml files instead of just the pre-parsed dat files.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3887 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-24 01:24:34 +00:00
Mike Thomas
9472c58efb
Updated recolorization tool to be more useful in creating colorizations and in viewing colorizations of art. Now has two modes:
...
- View all colorization mode shows all the colorizations of a selection colorization class for the image.
- Normal mode allows modification by sliders of the colorization parameters.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3886 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-23 23:53:36 +00:00
Michael Bayne
6d9d71256f
Actually, the distributed object event name is the normal DObject field name
...
(inStudlyFormat), it's just the constant that we use to reference that field in
code that's upper case. So we need to convert those as well. And I moved that
code into a documented method.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3884 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-23 19:01:15 +00:00
Michael Bayne
ff098a9394
Dooh, unStudlyName() returns an uppercase string (in spite of what it said in
...
its method documentation). And I was doing the wrong thing with event names
which were already unstudlied (but are also uppercase).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3883 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-23 18:52:59 +00:00
Mark Johnson
c2d7b7361a
Added the ability for DelayPath to set a location for the path.
...
Some whitespace cleanup.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3880 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-22 18:29:05 +00:00
Andrzej Kapolka
50e36adb6b
Make sure cameraIsMoving returns false for the callbacks at the end of a
...
camera path.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3875 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-22 01:22:28 +00:00
Mike Thomas
46f61df574
Bugfix: Black screen on furniture rearranging:
...
- The range model was not correctly handling the case that the viewport in which we were arranging furniture was bigger than the area that the room wanted to cover. This problem never occurred in 800x600 mode, but could occur at larger resolutions in smaller rooms (such as shacks).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3874 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-21 19:53:26 +00:00
Michael Bayne
105f0c5470
Whoops, needed to finish the re-refactor.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3873 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 23:55:32 +00:00
Michael Bayne
971b0bd079
Boolean.parseBoolean() was apparently introduced in 1.5. Yay for orthogonality.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3872 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 23:43:57 +00:00
Michael Bayne
a4fff6494f
Define the schema in code, fixed up some bugs.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3871 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 22:41:59 +00:00
Michael Bayne
9d9bebd092
Created a database backed implementation of the runtime config services.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3870 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 21:59:54 +00:00
Michael Bayne
b33ae477ac
Started refactorying the config object registry so that we can make a
...
database-backed implementation to replace the Java preferences backed version.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3869 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 19:39:38 +00:00
Mike Thomas
cd7e127bc6
Marking another invocation listener where we don't care there's no response.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3860 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-17 01:08:01 +00:00
Andrzej Kapolka
7d46f81392
The problem was that setQuad was being called in the second constructor
...
after updateRenderState in the third constructor, so the quad's render
state didn't include the alpha state. I changed it so that
updateRenderState is called in setQuad.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3859 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-15 22:19:36 +00:00
Michael Bayne
bbc4dcad31
Added toString() to TimeFunction; moved AlphaState onto the quad being faded
...
rather than the node containing the quad, which shouldn't really make a
difference.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3858 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-15 21:01:39 +00:00
Ray Greenwell
892bdce01d
Old man Occam came a knockin'.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3857 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-15 04:05:40 +00:00
Ray Greenwell
174fa1b9c6
Use PrivilegedExceptionAction to do privileged actions that might throw
...
an exception.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3856 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-15 04:04:24 +00:00
Ray Greenwell
28ac720b98
Moved avoid animation tracking into a helper class.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3854 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-14 22:17:52 +00:00
Ray Greenwell
9faa866dba
Added a method that exists in VirtualMediaPanel.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3853 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-14 22:15:55 +00:00
Mike Thomas
f449e2e77d
Changed Exceptions to InvocationExceptions to invoke translation of error reason messages.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3852 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-14 21:57:39 +00:00
Mike Thomas
402de06e07
Added float-based weighted random selection function.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3851 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-14 21:46:53 +00:00
Mike Thomas
ccce88790a
Function wasn't informing listener of failures.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3850 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-14 21:46:28 +00:00
Michael Bayne
ad7e4f6be6
Added a helper class for sliding windows onto and off of the screen. Modified
...
the fade effect to automatically remove itself when it's done.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3847 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-10 04:45:12 +00:00
Michael Bayne
132dad93d2
Added a mechanism to skip to the end of the current camera path. It's sort of a
...
hack in that it just fakes an update to the path as if 100 seconds had elapsed,
but that essentially does just what we want and is so simple.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3845 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-10 02:24:58 +00:00
Andrzej Kapolka
fe47f6a478
Float.MIN_VALUE is the smallest positive value, not the smallest
...
negative value.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3841 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-08 00:03:28 +00:00
Andrzej Kapolka
4849d344e1
Added optional target orientation to PanPath.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3840 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-07 22:37:40 +00:00
Andrzej Kapolka
44bc8722eb
Removed redundant call to onFrameChange.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3839 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-07 21:45:08 +00:00
Andrzej Kapolka
593ee3a54d
Added an explicit axis parameter (as opposed to using the up vector at
...
each time step) to avoid camera roll.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3838 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-07 21:43:26 +00:00
Michael Bayne
d822c597b3
Allow the FadeInOutEffect to be used on arbitrary quads.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3837 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-07 01:33:46 +00:00
Michael Bayne
e9be71fdf2
JME uses a separate Z order to determine how to sort ortho geometry.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3836 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-06 02:33:16 +00:00