Ray Greenwell
9f2ff310e7
Match changes to DSet.java streaming implementation.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3939 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-11 02:49:02 +00:00
Ray Greenwell
7336f11d6f
Shrink capacity in DSets upon element removal if the capacity is 8x larger
...
than it needs to be.
Broke streaming compatibility in order to be much more efficient over the wire.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3938 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-11 02:43:32 +00:00
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
Ray Greenwell
600a74ee39
More progress.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3936 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-10 04:02:32 +00:00
Ray Greenwell
ca66f91ac7
Started work on the 'crowd' package.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3935 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-10 03:05:37 +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
13c0830908
Again updated note on constructors.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3933 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-09 22:23:07 +00:00
Ray Greenwell
2f2ffdabbe
Notes, figured out how to make a static initializer.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3932 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-09 22:14:08 +00:00
Ray Greenwell
704fbfaec3
Removed debugging for a heisenbug that seems to be gone now.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3931 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-09 03:27:52 +00:00
Ray Greenwell
4bb90a9002
Jesus Christ, what is the point of all these typed variables and casting
...
if the compiler DOESN'T FUCKING CARE?
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3930 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-09 03:00:10 +00:00
Ray Greenwell
04255b383b
Checkpoint.
...
Never in my life have I spent so much time debugging so little.
I think the flash player is full of bugs, I've learned to just run
everything two or three times and chase the error that happens the most. Fun!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3929 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-09 02:55:07 +00:00
Ray Greenwell
15cf89770f
Forgot to check this one in yesterday.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3928 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-09 02:48:14 +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
Ray Greenwell
486fd770c5
Another note.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3926 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-08 22:18:56 +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
Ray Greenwell
b82b079469
It seems that Array streaming now works.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3924 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-08 03:28:09 +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
Ray Greenwell
d8276bb4a9
More crap, some new discoveries, backtracking, annoyance.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3918 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-07 03:49:33 +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
Ray Greenwell
a75f496e76
Checkpoint.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3912 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-04 02:43:14 +00:00
Ray Greenwell
15c258cdd4
Updated notes with the results of PITA explorations into introspection.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3911 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-04 00:37:23 +00:00
Ray Greenwell
5558ebd6ca
Changed some things around with a few helper classes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3910 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-02 22:20:04 +00:00
Ray Greenwell
aabc454801
Fixed typo.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3909 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-02 22:17:08 +00:00
Ray Greenwell
5241863bbd
Further testing clarified something, it's not as bad as I thought it was.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3908 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-02 22:16:14 +00:00
Ray Greenwell
ffdcaeb495
Added some more notes, and found another insane pitfall (possibly a bug).
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3907 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-02 22:04:05 +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
Ray Greenwell
cec3ffe59d
Fixed up some things and added streaming translations.
...
I'm to the point where I need to go back to array streaming and straighten
that out.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3905 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-02 03:44:37 +00:00
Ray Greenwell
961f3ffdfe
More bits and hackery (and a hand-generated TimeBaseMarshaller, so that I
...
can get fully logged in).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3904 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-02 03:07:01 +00:00
Ray Greenwell
477fb777f6
More bits.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3903 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-02 01:30:04 +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
Ray Greenwell
8039de2dad
Removed accidentally checked-in testy code.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3901 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-01 23:54:51 +00:00
Ray Greenwell
740e00c731
More work on things.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3900 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-01 23:52:52 +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
Ray Greenwell
2ca83d0a29
Generate errors if an element's key is not simple or Equalable.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3898 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-01 19:52:27 +00:00
Ray Greenwell
703b309108
Scrapped using a Comparable for the keys to a DSet on this side of things.
...
- There is no such thing as Comparable in ActionScript, I had made my own,
but String (one of the most common keys) couldn't implement it, and String
is a final class (like in Java). It would be a huge inconvenience to have
to wrap String objects.
- The language also has no .equals() method in the base class. The strict
equality operator (===) works like equals() except that objects that
aren't one of the base types (String, Number, Boolean, int) are compared
by reference. I added a "Equalable" interface, if the key in a DSet
implements that interface then equals() is called, otherwise the strict
equality operator is used.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3897 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-01 19:43:22 +00:00
Ray Greenwell
ee25f8f1a8
Updated note on accessibility domains: I was smoking crack.
...
'protected' members can be accessed by subclasses, but ONLY subclasses:
other classes in the same package don't have visibility, unlike in Java.
I think I got screwed up when protected members were not accessible
to other classes in the same package.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3896 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-28 01:46:34 +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
Ray Greenwell
abd7f75ae9
Started work on invocation/receiver stuff, but jeez ActionScript is making
...
it a pain in the ass.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3893 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-27 21:56:39 +00:00
Ray Greenwell
72f33bbbc0
Added another note about helper classes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3892 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-27 21:55:51 +00:00
Ray Greenwell
69d0b35e0f
Some notes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3891 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-25 03:35:18 +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