Ray Greenwell
b378bda604
Log a warning for unhandled commands.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4195 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-16 01:22:43 +00:00
Ray Greenwell
b9509e434e
Utility method for creating a menu item that will post controller commands.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4194 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-16 01:22:25 +00:00
Ray Greenwell
3e4ff3564d
Moved this general-purpose flash/mx class here, from the msoy project.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4190 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-13 21:03:25 +00:00
Ray Greenwell
f6dd283b2a
Implemented positionRect and supporting functions.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4186 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-09 20:59:32 +00:00
Ray Greenwell
17abf35d05
DisplayUtil, mostly placeholder now, but I'll write the rest of this method
...
tomorrow.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4185 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-09 01:59:32 +00:00
Ray Greenwell
d948eb4f37
Added a really basic Config class for storing prefs clientside,
...
wired it up.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4184 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-08 22:12:19 +00:00
Ray Greenwell
e6e96c25fc
Ported over the automatic port-retrying code, but had to modify some things
...
due to differences in the way flash throws errors (and apparently can't
re-use a socket object).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4183 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-08 21:44:27 +00:00
Ray Greenwell
e541cf3db3
More generically clone ourselves.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4178 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-07 18:48:47 +00:00
Ray Greenwell
07c2666e8b
Temporarily turn Integer keys into just ints.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4174 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-06 02:09:01 +00:00
Ray Greenwell
251566b321
- Added TokenRing
...
- Specify override first on overridden methods.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4170 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-05 21:28:00 +00:00
Ray Greenwell
a442646791
Supress extra debuggy logging.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4169 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-02 02:22:11 +00:00
Ray Greenwell
86dd34a0f4
Added the TellHandler.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4168 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-01 17:35:23 +00:00
Ray Greenwell
1ae124d584
Implementing clone() is apparently "required" for subclasses of Event.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4163 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-31 02:32:17 +00:00
Ray Greenwell
e981a9eed9
Made PlaceView extend flash's IEventDispatcher, wired up something
...
that sorta behaves like our controllers in java. I might be able to make
this better.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4161 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-31 01:27:13 +00:00
Ray Greenwell
2766a6c1f9
Added a toString().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4160 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-31 01:16:19 +00:00
Ray Greenwell
9e3c46c7a5
Unwrap integers before assigning properties. God, I wish I could just
...
autotranslate at the network layer.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4159 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-31 01:15:58 +00:00
Ray Greenwell
a3dfc741c6
Fixed up some event constructors that didn't have zero-arg forms.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4157 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-30 21:08:39 +00:00
Ray Greenwell
6b3aba0225
Allow zero-arg construction (for unserialization).
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4154 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-27 01:51:33 +00:00
Ray Greenwell
074b7f4547
Added a note about a failed attempt at making things better.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4153 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-27 01:04:11 +00:00
Ray Greenwell
cdd7a64b04
Renamed some "inner" classes, removed debugging lines.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4152 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-26 22:39:31 +00:00
Ray Greenwell
fdfce50d01
Checkpoint, I've got an interactive 2d scene mostly working.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4151 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-26 21:54:34 +00:00
Ray Greenwell
9c33f1de53
A few bits of cleany/fixy.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4150 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-25 22:51:04 +00:00
Ray Greenwell
9b11d03b46
Added a Cloneable interface, fixed up a few bits.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4148 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-25 01:18:04 +00:00
Ray Greenwell
c143e93554
Spot stuff in AbjectScript.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4144 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-24 00:20:00 +00:00
Ray Greenwell
f7eb18460a
Began porting 'whirled'.
...
The basic whirled stuff is here; compiling and working.
'Spot' still to come.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4133 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-20 02:18:18 +00:00
Ray Greenwell
a22ca8b079
Simplified logging facilities.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4131 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-19 22:47:44 +00:00
Ray Greenwell
7ec9c8d642
Let's name inner classes with an "_" where Java puts a "$", and do
...
automatic name translation for those names.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4129 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-19 02:23:47 +00:00
Ray Greenwell
a2644d5c04
MessageListener adapter.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4128 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-19 02:22:51 +00:00
Ray Greenwell
0ac15b0e3c
Some bits and bobs: there are ResourceBundle and Locale classes in the mx
...
package, use those. The ResourceBundle stuff is not quite working now due
to bugs in beta3, but I'll loop back to it later.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4126 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-18 22:39:01 +00:00
Ray Greenwell
64e87bb907
Added the keys() function to the Map interface, replaced instances of
...
SimpleMap with HashMap. Discarded SimpleMap.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4122 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-16 21:06:06 +00:00
Ray Greenwell
4aa8f5a5d5
- Method comments.
...
- Track the size of non-simple keys separately so that we really know when
to resize the map.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4121 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-16 20:41:04 +00:00
Ray Greenwell
f778c1e518
- Created a Map interface.
...
- Renamed HashMap Hashtable, because I wanted a version without ties to
mx.* code. User-defined hashing functions may be specified.
- Created a subclass of Hashtable called HashMap which uses
functions in mx.utils.ObjectUtil to hash non-Hashable complex keys.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4120 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-16 19:02:24 +00:00
Ray Greenwell
470c46acf5
Oop, clear complex entries when we clear.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4119 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-16 01:53:23 +00:00
Ray Greenwell
8604a4ac6a
Various cleanuppery.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4118 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-16 01:51:01 +00:00
Ray Greenwell
c203c0e861
A HashMap in actionscript that can use arbitrary objects as keys.
...
Internally, three different things may be done for storage:
- Simple keys can utilize the Dictionary class, we just use one of those
inside the map.
- If the key implements Hashable, we can hash it.
- Otherwise, use mx.utils.ObjectUtil to generate a hash for any other key and
also to compare the keys. Keys are then wrapped in a KeyWrapper object
that implements Hashable. This last case will also handle null as a key.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4117 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-16 01:49:51 +00:00
Ray Greenwell
eedebca87e
Removed dead import.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4114 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-12 18:14:47 +00:00
Ray Greenwell
d123c61606
Use the ArrayStreamer to stream regular Arrays as well.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4113 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-11 23:58:21 +00:00
Ray Greenwell
164d746072
Turns out they did fix the describeType bugs, but also changed the format
...
of the output.
Update code to recognize the new format and stop working around the old bugs.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4108 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-10 21:11:56 +00:00
Ray Greenwell
fe3350dc3c
More streaming fixups.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4106 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-10 02:35:01 +00:00
Ray Greenwell
b82108ecea
Streaming fixups on the path towards getting things working in beta3.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4105 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-10 00:40:15 +00:00
Ray Greenwell
e100ef4faf
Updated to match API changes in Beta3.
...
InvocationRegistration had a constructor called Registration. I wonder if
that was causing the compile error with beta2.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4104 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-09 23:03:47 +00:00
Ray Greenwell
ff674f818f
Beta 3 is out! They removed the built-in StringBuilder class, so I made
...
my own for now that just does what I need it to.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4103 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-09 23:01:15 +00:00
Ray Greenwell
7bdf7aba88
Occam's razor.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4100 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-08 21:37:54 +00:00
Ray Greenwell
490dab5780
Added an ImageUtil with some basic utility functions.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4099 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-08 21:31:24 +00:00
Ray Greenwell
42622d73cd
Fixup.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4067 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-27 01:26:56 +00:00
Ray Greenwell
ad9a3e54e3
Updated some bits.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4058 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-26 00:47:49 +00:00
Ray Greenwell
6bf2506f50
Array.indexOf() turns out to be there, just not documented.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4037 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-19 21:02:38 +00:00
Ray Greenwell
efefdaa312
Updated method documentation.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4029 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-18 02:04:06 +00:00
Ray Greenwell
cd8f168452
Create controllers in the new way (actionscript wants to be all growed up
...
just like uncle Java!).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4028 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-18 01:58:44 +00:00
Ray Greenwell
fc2870f7e5
Moved to msoy area.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4019 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-14 02:05:19 +00:00