Commit Graph

3824 Commits

Author SHA1 Message Date
Ray Greenwell 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.

I now have the ActionScript client authenticating with our server code!
Lots more to do...


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3882 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-23 01:45:13 +00:00
Ray Greenwell 43f956c32d Lowercase letters so that it matches StringUtil.hexlate() output.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3881 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-23 01:43:56 +00:00
Mark Johnson c2d7b7361a Added the ability for DelayPath to set a location for the path.
Some whitespace cleanup.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3880 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-22 18:29:05 +00:00
Ray Greenwell 990d0b840f Added another note about a 'gotcha' in actionscript.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3879 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-22 14:02:42 +00:00
Ray Greenwell 5a9a018867 Commented a few classes as abstract,
debugging..


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3878 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-22 06:28:27 +00:00
Ray Greenwell 334bf08331 Need to use UsernamePasswordCreds to log in (Credentials is abstract in
Java, but there's no such thing in actionscript).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3877 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-22 04:31:25 +00:00
Ray Greenwell 605eca8565 Bugfixes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3876 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-22 03:45:46 +00:00
Andrzej Kapolka 50e36adb6b Make sure cameraIsMoving returns false for the callbacks at the end of a
camera path.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3875 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-22 01:22:28 +00:00
Mike Thomas 46f61df574 Bugfix: Black screen on furniture rearranging:
- The range model was not correctly handling the case that the viewport in which we were arranging furniture was bigger than the area that the room wanted to cover.  This problem never occurred in 800x600 mode, but could occur at larger resolutions in smaller rooms (such as shacks).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3874 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-21 19:53:26 +00:00
Michael Bayne 105f0c5470 Whoops, needed to finish the re-refactor.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3873 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 23:55:32 +00:00
Michael Bayne 971b0bd079 Boolean.parseBoolean() was apparently introduced in 1.5. Yay for orthogonality.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3872 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 23:43:57 +00:00
Michael Bayne a4fff6494f Define the schema in code, fixed up some bugs.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3871 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 22:41:59 +00:00
Michael Bayne 9d9bebd092 Created a database backed implementation of the runtime config services.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3870 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 21:59:54 +00:00
Michael Bayne b33ae477ac Started refactorying the config object registry so that we can make a
database-backed implementation to replace the Java preferences backed version.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3869 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 19:39:38 +00:00
Ray Greenwell ea0a3dce06 Well, it compiles.
It's not functional, there are still large holes in the implementation.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3868 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 03:53:04 +00:00
Ray Greenwell d63ffd9108 Added a note about fucked-up access control in ActionScript.
Maybe this explains why they put all subclasses of Event in the
same package.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3867 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 03:08:25 +00:00
Ray Greenwell 7a80c5cb43 Got compiling working under Linux, now correcting various errors.
Checkpoint.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3866 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 02:38:56 +00:00
Ray Greenwell f8c8f6e983 Some stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3865 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 01:03:56 +00:00
Ray Greenwell 7a353e6722 Checkpoint.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3864 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-19 23:35:22 +00:00
Ray Greenwell bb379347f0 The readField()/writeField() methods are for marshalling objects that have
basic streamers defined for them (String, Integer, Boolean) and not
other arbitrary objects.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3863 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-19 03:19:54 +00:00
Ray Greenwell 97953e7668 More progress.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3862 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-18 02:37:14 +00:00
Ray Greenwell 74c35b6d65 More progress.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3861 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-17 05:11:31 +00:00
Mike Thomas cd7e127bc6 Marking another invocation listener where we don't care there's no response.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3860 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-17 01:08:01 +00:00
Andrzej Kapolka 7d46f81392 The problem was that setQuad was being called in the second constructor
after updateRenderState in the third constructor, so the quad's render 
state didn't include the alpha state.  I changed it so that 
updateRenderState is called in setQuad.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3859 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-15 22:19:36 +00:00
Michael Bayne bbc4dcad31 Added toString() to TimeFunction; moved AlphaState onto the quad being faded
rather than the node containing the quad, which shouldn't really make a
difference.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3858 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-15 21:01:39 +00:00
Ray Greenwell 892bdce01d Old man Occam came a knockin'.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3857 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-15 04:05:40 +00:00
Ray Greenwell 174fa1b9c6 Use PrivilegedExceptionAction to do privileged actions that might throw
an exception.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3856 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-15 04:04:24 +00:00
Ray Greenwell 1d36299e3c Some work on streaming.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3855 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-15 01:41:14 +00:00
Ray Greenwell 28ac720b98 Moved avoid animation tracking into a helper class.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3854 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-14 22:17:52 +00:00
Ray Greenwell 9faa866dba Added a method that exists in VirtualMediaPanel.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3853 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-14 22:15:55 +00:00
Mike Thomas f449e2e77d Changed Exceptions to InvocationExceptions to invoke translation of error reason messages.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3852 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-14 21:57:39 +00:00
Mike Thomas 402de06e07 Added float-based weighted random selection function.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3851 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-14 21:46:53 +00:00
Mike Thomas ccce88790a Function wasn't informing listener of failures.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3850 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-14 21:46:28 +00:00
Ray Greenwell 4d7fb64b8c More progress.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3849 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-14 04:07:02 +00:00
Ray Greenwell 8366c150f4 Progress on the presents client.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3848 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-13 22:07:50 +00:00
Michael Bayne ad7e4f6be6 Added a helper class for sliding windows onto and off of the screen. Modified
the fade effect to automatically remove itself when it's done.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3847 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-10 04:45:12 +00:00
Ray Greenwell 85d56cceec Some more progress.
I still need to work on the Streaming, but I've figured out how
to do a bit of introspection which will be necessary when streaming an array.
Started working on the client classes, did ClientObserver and SessionObserver
stuff using flash's event notification system.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3846 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-10 03:44:20 +00:00
Michael Bayne 132dad93d2 Added a mechanism to skip to the end of the current camera path. It's sort of a
hack in that it just fakes an update to the path as if 100 seconds had elapsed,
but that essentially does just what we want and is so simple.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3845 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-10 02:24:58 +00:00
Michael Bayne 0bd48b4b6a Provide default translations for the one Parlor game message.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3844 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-09 19:22:34 +00:00
Ray Greenwell 90063d85cc Missed a spot (there's no 'throws' in actionscript..).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3843 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-09 03:40:16 +00:00
Ray Greenwell 3f9c6c6081 Beginnings of the ActionScript 3.0 client: checkpoint checkin.
There's a long way to go and I think I need to rethink the way streaming
will work, but this is a start. These classes all compile under
the flex environment.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3842 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-09 03:33:58 +00:00
Andrzej Kapolka fe47f6a478 Float.MIN_VALUE is the smallest positive value, not the smallest
negative value.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3841 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-08 00:03:28 +00:00
Andrzej Kapolka 4849d344e1 Added optional target orientation to PanPath.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3840 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-07 22:37:40 +00:00
Andrzej Kapolka 44bc8722eb Removed redundant call to onFrameChange.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3839 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-07 21:45:08 +00:00
Andrzej Kapolka 593ee3a54d Added an explicit axis parameter (as opposed to using the up vector at
each time step) to avoid camera roll.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3838 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-07 21:43:26 +00:00
Michael Bayne d822c597b3 Allow the FadeInOutEffect to be used on arbitrary quads.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3837 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-07 01:33:46 +00:00
Michael Bayne e9be71fdf2 JME uses a separate Z order to determine how to sort ortho geometry.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3836 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-06 02:33:16 +00:00
Michael Bayne 6f90df64f8 Added getFrameTime().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3835 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-06 02:32:42 +00:00
Michael Bayne 965b44d253 Updated standard source header. Created a time function mechanism that can be
used to easily plug in different methods of smoothly varying a value over time.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3834 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-06 01:40:44 +00:00
Michael Bayne f749460fe7 Minor rearrangement.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3833 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-05 23:08:55 +00:00