02f1aaa904
Fixed bug with setting pan.
Ray Greenwell
2006-03-24 22:19:16 +00:00
9f4c7c1ae2
Use setPan() in the SoundKey constructor so that we bound to sanity the pan value passed to us.
Ray Greenwell
2006-03-24 04:12:38 +00:00
6ab61243d9
Allow setting the pan for a sound.
Ray Greenwell
2006-03-24 04:01:24 +00:00
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.
Ray Greenwell
2006-03-24 02:28:26 +00:00
70cb89d62d
Bobble paths now with extra smoothness
Mark Johnson
2006-03-24 00:13:06 +00:00
b22dad2519
Moved this into the yohoho code base.
Mark Johnson
2006-03-22 19:00:18 +00:00
a9e862bead
A bit more crap.
Ray Greenwell
2006-03-22 03:29:31 +00:00
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).
Ray Greenwell
2006-03-22 03:10:43 +00:00
1c7041a20e
Added support for component masks.
Andrzej Kapolka
2006-03-22 02:41:15 +00:00
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.
Ray Greenwell
2006-03-22 02:10:37 +00:00
95ff914ab6
Deal with blank tiles by returning a 1x1 blank pixel rather than a bunch of invalid values.
Mike Thomas
2006-03-21 02:32:27 +00:00
d94866f3cf
Pass empty postamble.
Michael Bayne
2006-03-19 19:46:36 +00:00
770b67e0b2
Added pickRandom(Collection).
Michael Bayne
2006-03-19 02:32:51 +00:00
ccd6e2b81e
Some stuff.
Ray Greenwell
2006-03-18 00:43:45 +00:00
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.
Michael Bayne
2006-03-18 00:41:53 +00:00
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.
Ray Greenwell
2006-03-18 00:04:34 +00:00
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.
Ray Greenwell
2006-03-18 00:02:48 +00:00
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.)
Ray Greenwell
2006-03-17 22:29:00 +00:00
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.
Ray Greenwell
2006-03-17 02:19:53 +00:00
d1b997b9ff
Another note. There are 3 ways to cast and all of them suck in one way or another!
Ray Greenwell
2006-03-17 01:19:15 +00:00
7422b1e986
Expose getColorRecord() as it is needed externally.
Michael Bayne
2006-03-17 00:56:57 +00:00
8fb271be33
Checkpoint.
Ray Greenwell
2006-03-16 22:12:46 +00:00
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.
Mike Thomas
2006-03-16 18:45:40 +00:00
03d94291db
More. Made ObserverList work with a passed-in function, actionscript style. I might reconsider some earlier decisions to go away from ObserverList.
Ray Greenwell
2006-03-16 02:11:27 +00:00
3325b1d7a3
Rewrote getOccupantInfo(Name) to take advantage of a method that now exists in PlaceObject.
Ray Greenwell
2006-03-16 01:32:37 +00:00
ed1be4a0f2
All the latest and ... well, the latest anyway.
Ray Greenwell
2006-03-15 03:28:02 +00:00
4fe0d6e484
Another note about how as3 can #$^ @# @#$ ^@#$@ @#%&*.
Ray Greenwell
2006-03-15 03:24:46 +00:00
a933c1e4ab
Added an function to be overriden if you want AI board summaries automatically generated
Mark Johnson
2006-03-15 03:03:56 +00:00
baa45c51c1
Added class translation support so that I could write a DSet converter.
Ray Greenwell
2006-03-15 02:29:10 +00:00
ccb77db4fa
Removed unused cruft.
Ray Greenwell
2006-03-15 00:31:22 +00:00
82c65b779f
Added more notes.
Ray Greenwell
2006-03-14 23:16:39 +00:00
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.
Ray Greenwell
2006-03-14 03:22:38 +00:00
9195817853
Ray will be proud of my micro-optimizery.
Michael Bayne
2006-03-14 02:24:07 +00:00
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.
Michael Bayne
2006-03-14 02:22:18 +00:00
196799d842
Wrapped long line.
Michael Bayne
2006-03-14 02:20:40 +00:00
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.
Andrzej Kapolka
2006-03-14 01:43:07 +00:00
9f2ff310e7
Match changes to DSet.java streaming implementation.
Ray Greenwell
2006-03-11 02:49:02 +00:00
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.
Ray Greenwell
2006-03-11 02:43:32 +00:00
a41128f93d
Broke streaming backwards compatibility, only stream the ints that matter.
Ray Greenwell
2006-03-11 02:42:21 +00:00
600a74ee39
More progress.
Ray Greenwell
2006-03-10 04:02:32 +00:00
ca66f91ac7
Started work on the 'crowd' package.
Ray Greenwell
2006-03-10 03:05:37 +00:00
3f5aed3555
Let the vsync limit our frame rate instead of trying to do it by hand.
Michael Bayne
2006-03-09 23:54:26 +00:00
13c0830908
Again updated note on constructors.
Ray Greenwell
2006-03-09 22:23:07 +00:00
2f2ffdabbe
Notes, figured out how to make a static initializer.
Ray Greenwell
2006-03-09 22:14:08 +00:00
704fbfaec3
Removed debugging for a heisenbug that seems to be gone now.
Ray Greenwell
2006-03-09 03:27:52 +00:00
4bb90a9002
Jesus Christ, what is the point of all these typed variables and casting if the compiler DOESN'T FUCKING CARE?
Ray Greenwell
2006-03-09 03:00:10 +00:00
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!
Ray Greenwell
2006-03-09 02:55:07 +00:00
15cf89770f
Forgot to check this one in yesterday.
Ray Greenwell
2006-03-09 02:48:14 +00:00
bdfecce767
A bit of simplification.
Ray Greenwell
2006-03-08 23:21:47 +00:00
486fd770c5
Another note.
Ray Greenwell
2006-03-08 22:18:56 +00:00
2841e90659
Load our initial configuration data synchronously. See comments for explanation.
Michael Bayne
2006-03-08 22:16:01 +00:00
b82b079469
It seems that Array streaming now works.
Ray Greenwell
2006-03-08 03:28:09 +00:00
3163825b29
For low frame rates, deal with moving over more than one leg per update.
Andrzej Kapolka
2006-03-08 01:40:09 +00:00
a0e9f70db3
Cleaned that method up a bit.
Ray Greenwell
2006-03-08 01:03:57 +00:00
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.
Ray Greenwell
2006-03-08 00:56:23 +00:00
5f6152230a
Tiny optimization.
Ray Greenwell
2006-03-08 00:49:04 +00:00
af8408fe5d
Added an optional pan to SwingPath.
Andrzej Kapolka
2006-03-07 22:46:28 +00:00
d8276bb4a9
More crap, some new discoveries, backtracking, annoyance.
Ray Greenwell
2006-03-07 03:49:33 +00:00
e5c65b95b5
Allow action handlers to show a scene object's associated text without having an allowed action (though by default they still don't)
Mike Thomas
2006-03-06 23:45:12 +00:00
18418122ea
More fixy fixy with the commas.
Michael Bayne
2006-03-06 22:10:05 +00:00
1effaf4ad9
No comma if we have no args.
Michael Bayne
2006-03-06 22:01:31 +00:00
58cbfb6db1
Regenerated using the new Ant-task-based generator.
Michael Bayne
2006-03-06 21:51:59 +00:00
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.
Michael Bayne
2006-03-06 21:50:23 +00:00
a75f496e76
Checkpoint.
Ray Greenwell
2006-03-04 02:43:14 +00:00
15c258cdd4
Updated notes with the results of PITA explorations into introspection.
Ray Greenwell
2006-03-04 00:37:23 +00:00
5558ebd6ca
Changed some things around with a few helper classes.
Ray Greenwell
2006-03-02 22:20:04 +00:00
aabc454801
Fixed typo.
Ray Greenwell
2006-03-02 22:17:08 +00:00
5241863bbd
Further testing clarified something, it's not as bad as I thought it was.
Ray Greenwell
2006-03-02 22:16:14 +00:00
ffdcaeb495
Added some more notes, and found another insane pitfall (possibly a bug).
Ray Greenwell
2006-03-02 22:04:05 +00:00
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.
Andrzej Kapolka
2006-03-02 21:40:57 +00:00
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.
Ray Greenwell
2006-03-02 03:44:37 +00:00
961f3ffdfe
More bits and hackery (and a hand-generated TimeBaseMarshaller, so that I can get fully logged in).
Ray Greenwell
2006-03-02 03:07:01 +00:00
477fb777f6
More bits.
Ray Greenwell
2006-03-02 01:30:04 +00:00
69da887537
Added a method to disable limits in CameraHandler and an optional second swing axis to SwingPath.
Andrzej Kapolka
2006-03-02 01:02:03 +00:00
740e00c731
More work on things.
Ray Greenwell
2006-03-01 23:52:52 +00:00
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.
Michael Bayne
2006-03-01 22:08:40 +00:00
2ca83d0a29
Generate errors if an element's key is not simple or Equalable.
Ray Greenwell
2006-03-01 19:52:27 +00:00
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.
Ray Greenwell
2006-03-01 19:43:22 +00:00
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.
Ray Greenwell
2006-02-28 01:46:34 +00:00
c6eb691cdc
Comment clarification.
Michael Bayne
2006-02-28 01:06:11 +00:00
282b04930f
Extracted our hairy bunch of logic for launching an external web browser into a reusable location.
Michael Bayne
2006-02-28 00:46:15 +00:00
abd7f75ae9
Started work on invocation/receiver stuff, but jeez ActionScript is making it a pain in the ass.
Ray Greenwell
2006-02-27 21:56:39 +00:00
72f33bbbc0
Added another note about helper classes.
Ray Greenwell
2006-02-27 21:55:51 +00:00
69d0b35e0f
Some notes.
Ray Greenwell
2006-02-25 03:35:18 +00:00
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.
Mike Thomas
2006-02-24 19:51:11 +00:00
54d465b61f
More notes.
Ray Greenwell
2006-02-24 01:37:15 +00:00
76ae4d5f5a
Added Log facilities like we're used to, and discovered a host of new wacky things (and possible compiler bugs) on the way.
Ray Greenwell
2006-02-24 01:28:55 +00:00
ac6e897905
Colorizer is now smart enough to handle xml files instead of just the pre-parsed dat files.
Mike Thomas
2006-02-24 01:24:34 +00:00
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.
Mike Thomas
2006-02-23 23:53:36 +00:00
465b680aa2
Fixed some bugs with reading data back from the server, including subtracting 4 from the length of the frame and fixing the reading of fields for which we have a basic streamer.
Ray Greenwell
2006-02-23 22:22:57 +00:00
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.
Michael Bayne
2006-02-23 19:01:15 +00:00
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).
Michael Bayne
2006-02-23 18:52:59 +00:00
bd235efe20
Ah, the length of the frame is the length of the data plus the length of the bytes used to transmit the length! So for our purposes, we just add 4.
Ray Greenwell
2006-02-23 01:45:13 +00:00
43f956c32d
Lowercase letters so that it matches StringUtil.hexlate() output.
Ray Greenwell
2006-02-23 01:43:56 +00:00
c2d7b7361a
Added the ability for DelayPath to set a location for the path. Some whitespace cleanup.
Mark Johnson
2006-02-22 18:29:05 +00:00
990d0b840f
Added another note about a 'gotcha' in actionscript.
Ray Greenwell
2006-02-22 14:02:42 +00:00
5a9a018867
Commented a few classes as abstract, debugging..
Ray Greenwell
2006-02-22 06:28:27 +00:00
334bf08331
Need to use UsernamePasswordCreds to log in (Credentials is abstract in Java, but there's no such thing in actionscript).
Ray Greenwell
2006-02-22 04:31:25 +00:00
605eca8565
Bugfixes.
Ray Greenwell
2006-02-22 03:45:46 +00:00