Commit Graph

3919 Commits

Author SHA1 Message Date
Ray Greenwell a91bf8b14c Added some missing marshallers.
Use Long instead of long. I had them both (it may be useful so that we
know if we're streaming an object or just 8 bytes of value) but Windows
couldn't fucking tell them apart (case insensitivity) so I nixed one.
Reference some more marshallers in the client so that the classes will
be compiled in.. gawd.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3977 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-24 23:49:51 +00:00
Mark Johnson b7e63c4b38 One more handy constant
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3976 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-24 22:25:03 +00:00
Ray Greenwell 02f1aaa904 Fixed bug with setting pan.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3975 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-24 22:19:16 +00:00
Ray Greenwell 9f4c7c1ae2 Use setPan() in the SoundKey constructor so that we bound to sanity the
pan value passed to us.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3974 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-24 04:12:38 +00:00
Ray Greenwell 6ab61243d9 Allow setting the pan for a sound.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3973 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-24 04:01:24 +00:00
Ray Greenwell 4a1fdbbbe8 A few things, now that I'm running again (I downgraded to the older beta).
I'm now pounding my head against new limitations that I'd not seen before, now
that the Client class that I'm using is not in the presents.client package.
Macromedia can go fuck themselves with a hot poker.
The .swf is already 200k and I've barely begun working on UI elements.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3972 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-24 02:28:26 +00:00
Mark Johnson 70cb89d62d Bobble paths now with extra smoothness
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3971 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-24 00:13:06 +00:00
Mark Johnson b22dad2519 Moved this into the yohoho code base.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3970 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-22 19:00:18 +00:00
Ray Greenwell a9e862bead A bit more crap.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3969 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-22 03:29:31 +00:00
Ray Greenwell f6826f010c Dictionary is in the docs, but the compiler doesn't seem to know about it
yet. Rolled back (nearly, I fixed a small bug).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3968 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-22 03:10:43 +00:00
Andrzej Kapolka 1c7041a20e Added support for component masks.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3967 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-22 02:41:15 +00:00
Ray Greenwell 7d3ef496fd More faffing about.
- started making chat UI stuff
- upgraded SimpleMap some to use the new Dictionary class
- Lots of experimenting with attaching functions to interface implementations.
I've upgraded to the new beta of Flex and it's giving me the pain. There's
new compiler bugs and I am working blind right now.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3966 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-22 02:10:37 +00:00
Mike Thomas 95ff914ab6 Deal with blank tiles by returning a 1x1 blank pixel rather than a bunch of invalid values.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3965 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-21 02:32:27 +00:00
Michael Bayne d94866f3cf Pass empty postamble.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3964 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-19 19:46:36 +00:00
Michael Bayne 770b67e0b2 Added pickRandom(Collection).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3963 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-19 02:32:51 +00:00
Ray Greenwell ccd6e2b81e Some stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3962 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-18 00:43:45 +00:00
Michael Bayne 23f531fa42 Removed overflow queue logging as this has all been running happily for almost
a year since the refactor that inspired leaving this logging in.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3961 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-18 00:41:53 +00:00
Ray Greenwell add8f3f97c Work around a compiler bug by FQing the Log classname we're using.
We can revert these statements when/if that bug gets fixed.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3960 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-18 00:04:34 +00:00
Ray Greenwell 3ecf7e311e Re-declare SUCCESS so that it can be referred to as ChatCodes.SUCCESS.
Setting up a prototype const doesn't work, which is possibly a compiler bug.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3959 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-18 00:02:48 +00:00
Ray Greenwell 333d476a4a Use array cloning rather than creating a new one and copying into it.
(It may be the same thing under the hood, but our pal Occam would approve.)


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3958 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-17 22:29:00 +00:00
Ray Greenwell 091c7d2401 Checkpoint. This is not compiling right now due to three annoying problems:
- There seems to be a compiler bug that causes classes to be
  imported spuriously, or something. Classes that import only one of the Log
  classes are complaining about visibility of more than one of them.
- static constants are not inherited by subclasses, which is super annoying.
  I will try switching to prototype consts, but there seems to be a problem
  initializing those, and we don't want to make them vars...
- The fact that there are no inner classes combined with no method overloading
  is making things very inconvenient. I've been experimenting with faking
  an anonymous class by instantiating a dynamic object and attaching
  functions to it, but it's not working. I'll continue experimenting, because
  if we can't do this then someone shoot me.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3957 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-17 02:19:53 +00:00
Ray Greenwell d1b997b9ff Another note. There are 3 ways to cast and all of them suck in one
way or another!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3956 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-17 01:19:15 +00:00
Michael Bayne 7422b1e986 Expose getColorRecord() as it is needed externally.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3955 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-17 00:56:57 +00:00
Ray Greenwell 8fb271be33 Checkpoint.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3954 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-16 22:12:46 +00:00
Mike Thomas b38081f60a Bugfix: Clusterrecords were potentially being removed from the hash in the middle of an iteration without using the iterator's safe removal method. This resulted in an array-OOB exception.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3953 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-16 18:45:40 +00:00
Ray Greenwell 03d94291db More.
Made ObserverList work with a passed-in function, actionscript style.
I might reconsider some earlier decisions to go away from ObserverList.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3952 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-16 02:11:27 +00:00
Ray Greenwell 3325b1d7a3 Rewrote getOccupantInfo(Name) to take advantage of a method that now exists
in PlaceObject.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3951 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-16 01:32:37 +00:00
Ray Greenwell ed1be4a0f2 All the latest and ... well, the latest anyway.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3950 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-15 03:28:02 +00:00
Ray Greenwell 4fe0d6e484 Another note about how as3 can #$^ @# @#$ ^@#$@ @#%&*.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3949 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-15 03:24:46 +00:00
Mark Johnson a933c1e4ab Added an function to be overriden if you want AI board summaries
automatically generated


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3948 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-15 03:03:56 +00:00
Ray Greenwell baa45c51c1 Added class translation support so that I could write a DSet converter.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3947 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-15 02:29:10 +00:00
Ray Greenwell ccb77db4fa Removed unused cruft.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3946 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-15 00:31:22 +00:00
Ray Greenwell 82c65b779f Added more notes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3945 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-14 23:16:39 +00:00
Ray Greenwell 7c842a7e11 More progress.
Created adapters for invocation services so that I can do inner-class like
things by passing references to private functions out to an external entity.
I will see if it's possible to merge my adapter with the marshallers
because it's still to have multiple wrappy classes.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3944 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-14 03:22:38 +00:00
Michael Bayne 9195817853 Ray will be proud of my micro-optimizery.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3943 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-14 02:24:07 +00:00
Michael Bayne 2aca17ee08 Have the WindowSlider wait two frames before starting to slide the window onto
the screen. In general the first frame is thrown off by the time it takes to
construct the window (which may be substantial) and the second might take a
while laying it out. After that though, we can smoothly slide things onto the
screen, and so we do.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3942 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-14 02:22:18 +00:00
Michael Bayne 196799d842 Wrapped long line.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3941 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-14 02:20:40 +00:00
Andrzej Kapolka 7a567e4adb Make the geometry node render to the opaque queue by default;
otherwise, everything under it will inherit the "SKIP" mode, 
which bypasses the render queues.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3940 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-14 01:43:07 +00:00
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