Ray Greenwell
a83c70dd0f
Handle showing a resource class or an already-configured DisplayObject.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4433 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-23 22:47:54 +00:00
Ray Greenwell
8683642e4f
Match recent changes on Java side.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4432 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-23 17:47:43 +00:00
Ray Greenwell
7d68d9c617
Added CommandEvent.markAsHandled().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4430 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-18 01:38:48 +00:00
Ray Greenwell
4a537cadeb
Unstream lists as Arrays.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4422 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-11 21:30:56 +00:00
Mark Johnson
47d1369180
A psudo random number generator that can be seeded. Use at your own
...
risk.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4415 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-05 22:27:06 +00:00
Michael Bayne
19fa31cdba
Don't implement subList() as in Java this is a view and we can't do that easily
...
in ActionScript without ubercomplexity. So we'll rewrite the code that was
using it.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4409 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-05 00:24:20 +00:00
Michael Bayne
626b4d257f
Added some methods to StreamableArrayList that behave properly (use Equalable
...
to determine equality instead of using reference equality).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4407 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-05 00:16:11 +00:00
Michael Bayne
e99ac5762d
Regenerated all of the ActionScript services using the new code generation tool.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4401 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-04 20:41:51 +00:00
Michael Bayne
3305c1b922
Our inherited constructor documentation didn't make much sense.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4396 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-04 02:17:35 +00:00
Michael Bayne
398767da5f
Ran the auto-generator on all our Streamable stuff in Narya. Tidied up the
...
results.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4395 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-04 02:07:04 +00:00
Ray Greenwell
572d5a6555
Oop, we'll want to immediately Stringify any args passed to our constructor,
...
as well.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4391 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-04 01:20:13 +00:00
Ray Greenwell
5e769376f2
Stringify an added element at the time it is added, not at the time
...
that toString() is called on the buffer.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4390 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-04 01:15:15 +00:00
Ray Greenwell
23f6486bf7
Added clarifying comments.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4389 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-09-29 18:40:41 +00:00
Ray Greenwell
bd8ee0fd4d
Bugfix: return undefined, not null, to indicate absence in the map.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4386 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-09-28 19:11:17 +00:00
Ray Greenwell
f544a76b62
Added the ManagerCaller that was added a while back on the Java side.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4385 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-09-27 23:54:40 +00:00
Ray Greenwell
0650d58006
Improved the debug-mode logging a bit.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4384 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-09-27 23:54:09 +00:00
Ray Greenwell
2a71f0c9bc
Added getTinyClassName().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4381 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-09-27 00:31:03 +00:00
Ray Greenwell
a3213cdee2
Automatically unwrap any result object that is wrapped.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4377 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-09-24 23:51:33 +00:00
Ray Greenwell
036271438a
Some bits: made the actionscript Observer list cope and furthermore
...
keep all observers in the list if the 'apply' function you specify
returns void.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4374 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-09-14 01:48:09 +00:00
Ray Greenwell
f4e7fd73f6
Commented out upstream methods for classes that will never use them.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4367 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-09-11 20:19:11 +00:00
Ray Greenwell
bb40bd533a
Reverted a recent change: I was shutting down when we were detached from
...
our parent, but we don't want to do that for most sprites which are
shutdown anyway in a more managed way, and specifically our avatar sprite
is re-used as we move from room to room.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4366 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-09-08 18:34:12 +00:00
Ray Greenwell
e973c00b50
Made equals() compare arrays by value.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4364 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-09-08 17:42:58 +00:00
Ray Greenwell
2c84eb9251
Added hexlate() and unhexlate() to StringUtil.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4363 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-09-08 02:30:12 +00:00
Ray Greenwell
ddd796431d
Pulled mask configuration into its own method.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4362 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-09-07 23:23:58 +00:00
Ray Greenwell
412a2f21d2
Some bits to make this behave better.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4361 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-09-07 21:44:20 +00:00
Ray Greenwell
bd306351ee
Removed some code that only needs to be on the server-side.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4360 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-09-07 21:31:34 +00:00
Ray Greenwell
0ed50738a9
Added append() and prepend().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4359 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-09-07 21:30:11 +00:00
Ray Greenwell
e88abe3751
Whoops, removed stray line.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4358 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-09-07 03:14:03 +00:00
Ray Greenwell
796c6d2587
Match change to java class.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4357 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-09-07 03:10:47 +00:00
Ray Greenwell
70854349af
This was missing.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4355 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-09-01 01:32:52 +00:00
Ray Greenwell
1461dc1ccc
Created a ResultAdapter... but called it ResultWrapper.
...
There is already a ResultAdapter in util/ that adapts an
invocation service ResultListener into a com.samskivert.util.ResultListener.
Flash can't cope with two classes of the same name in the same library
module, so I named my adapter *Wrapper. For consistency it would be nice
if these were the same in ActionScript and Java, so maybe we'll end up
just renaming the one in util/.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4354 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-09-01 01:10:24 +00:00
Ray Greenwell
8f958e2505
Added truncate().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4353 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-09-01 01:05:23 +00:00
Ray Greenwell
9e1f81ceff
Made more compatible with the base class, use object properties to
...
specify the command name and arg.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4352 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-08-31 00:12:48 +00:00
Ray Greenwell
124835193e
If the button is a toggle button and no arg has been specified,
...
pass the value of 'selected' (true or false) as the argument.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4349 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-08-29 20:55:16 +00:00
Ray Greenwell
de5f5c4aec
Follow new style, look for a function named COMMAND first.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4348 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-08-29 20:54:23 +00:00
Ray Greenwell
8386957cbc
Allow the handleCOMMAND functions to have no arg if the command's arg is null.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4347 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-08-29 01:06:06 +00:00
Ray Greenwell
0291990de9
Match some changes on the java side (No effect).
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4343 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-08-24 00:41:24 +00:00
Ray Greenwell
1f204669c4
Fixed shortClassName() to not display a leading '.'.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4341 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-08-23 21:27:14 +00:00
Ray Greenwell
1d37bcaa06
A very boring and generic chatbox (moved from msoy).
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4340 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-08-23 21:15:16 +00:00
Ray Greenwell
62d613bf64
This was moved to ezgame/util and renamed the EZObjectMarshaller.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4339 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-08-23 21:14:23 +00:00
Ray Greenwell
104c50febd
Refactored some stuff out of MsoySprite into a generic container that
...
can load and display images, swfs, video, etc...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4338 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-08-23 18:45:22 +00:00
Ray Greenwell
98a2c3f4ba
Removed TestClient, checked in a few inconsequential changes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4337 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-08-22 20:47:43 +00:00
Ray Greenwell
8996d8da20
Marshall and unmarshall arrays in a standard way.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4336 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-08-21 23:31:13 +00:00
Ray Greenwell
e597ecb14f
Oops: there is no such thing as integer math, so we'd better make sure
...
that we don't try to access array element .125 at runtime.
The designers of flash need to be suspended over a tank of sharks while
people try to write a program in actionscript to reel them in. I bet half
the time it compiles into something that just lets those ropes go.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4334 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-08-21 21:42:04 +00:00
Ray Greenwell
67a4eecc15
Abjectscript is just such a great language. I fixed two bugs in here that the
...
compiler never wanted to tell me about.
- I was trying to store read values into the streamer itself, referecing
it as "this[ii]". This turns out to be legal, even though the class is
sealed, because you can access public fields using the [] operator with
a string argument. At runtime, ii == 0, it got Stringdafied to "0" and
then a field called "0" was looked up on the class and oh no, it didn't
exist.
- Worse, I had a line that referenced "length" instead of "arr.length".
There is no length defined in the class, nor is there one in the superclass.
It turns out the base class Object has an undocumented constant called
length that seems to always be 0. Isn't that special?
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4333 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-08-21 21:39:14 +00:00
Ray Greenwell
ff274735a9
Allow creation of an array of arrays of bytes...
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4332 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-08-19 01:05:53 +00:00
Ray Greenwell
39376d9d20
Extend ListenerAdapter, changed the failed function to be the first arg.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4331 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-08-19 01:05:17 +00:00
Ray Greenwell
79efc4dd0d
Some comments laying about.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4329 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-08-17 22:16:04 +00:00
Ray Greenwell
1ae508f3aa
Removed the pointless InvocationCodes.SUCCESS, moved it to ChatCodes,
...
which was the only child class that used it.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4328 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-08-16 18:38:39 +00:00
Ray Greenwell
1518c12cdf
Implement PlaceControllerDelegates.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4327 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-08-16 00:25:19 +00:00