Commit Graph

200 Commits

Author SHA1 Message Date
Michael Bayne 77e22d65fc Some ActionScript conversion updates.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@102 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-06 00:35:00 +00:00
Michael Bayne 469e15e58e ActionScript versions of the Card stuff and Zone stuff. The Card stuff is
non-trivial and shouldn't entirely be trusted until it's actually used for
something.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@101 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-06 00:22:41 +00:00
Michael Bayne 1ad2584a17 Rebuilt various bits using the code generator. Annotated some Java sources
along the way.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@99 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-05 21:00:38 +00:00
Ray Greenwell 0ecfaac648 Added EZGame.getPlayerCount().
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@98 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-05 01:45:16 +00:00
Michael Bayne cdbc9dcfb0 Import Hashable, add needed override.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@97 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-05 01:03:58 +00:00
Michael Bayne 451218a1a4 Updated using the code generator.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@96 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-05 00:47:20 +00:00
Michael Bayne a8fa272219 I justed checked this in in the other order, but somehow it insists on coming
out in this order now. This should not be non-deterministic. Reflection should
give me the methods in the order they are declared in the Java class so I don't
know what the major malfunction is here, but if it keeps up I'm going to
fucking alphabetize them and be done with it.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@95 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-05 00:37:35 +00:00
Michael Bayne b96d28cd1a Overwrote with generated versions (which are the same but in different orders).
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@94 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-05 00:32:20 +00:00
Ray Greenwell 6f9136d109 A few comments.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@93 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-05 00:30:15 +00:00
Ray Greenwell 910bb8be5b We should be able to pass ByteArrays around using the EZGame kit.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@91 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-04 23:32:17 +00:00
Michael Bayne 0767b42f37 Starting to rebuild with the ActionScript generator.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@90 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-04 21:26:04 +00:00
Michael Bayne 5c1ac0f17d This is now defined in our superclass.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@86 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-04 03:18:01 +00:00
Ray Greenwell 1459306393 We need to send the tick out with a different message identifier
because otherwise the EZGameController will try to unmarshall the value.
The marshalling/unmarshalling is purely clientside, the server doesn't
understand how to do it, so it must dispatch a different event that just
contains a nice normal integer.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@85 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-02 21:11:10 +00:00
Ray Greenwell 6472cf6f80 Added tick services to EZGame.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@82 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-02 07:39:31 +00:00
Ray Greenwell 7fd42fc729 Trashed GameService, use the new manager caller.
(This was changed in Java a few weeks back.)


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@80 c613c5cb-e716-0410-b11b-feb51c14d237
2006-09-27 23:57:48 +00:00
Ray Greenwell 33031417aa Set the snap interval, we wouldn't want to start a game with only
a fractional portion of one player!


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@79 c613c5cb-e716-0410-b11b-feb51c14d237
2006-09-27 23:57:05 +00:00
Ray Greenwell 2f8a14bdb8 Use a library method to check equality with possible nulls.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@78 c613c5cb-e716-0410-b11b-feb51c14d237
2006-09-26 02:38:19 +00:00
Ray Greenwell 4364576283 Streaming error found.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@77 c613c5cb-e716-0410-b11b-feb51c14d237
2006-09-26 00:51:54 +00:00
Ray Greenwell 8647002b71 Use an observer list.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@73 c613c5cb-e716-0410-b11b-feb51c14d237
2006-09-18 21:43:18 +00:00
Ray Greenwell 62dc95dbf9 Re-set the position in the byte array so that we can read from it using the
IDataInput methods.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@72 c613c5cb-e716-0410-b11b-feb51c14d237
2006-09-18 21:42:43 +00:00
Ray Greenwell 854986f4fc Commented out upstream methods for classes that will never use them.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@71 c613c5cb-e716-0410-b11b-feb51c14d237
2006-09-11 20:19:25 +00:00
Ray Greenwell cbdc73381c Removed some code that only needs to be on the server-side.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@70 c613c5cb-e716-0410-b11b-feb51c14d237
2006-09-07 21:38:02 +00:00
Ray Greenwell f2dc1b2269 Whoops, we've got to manually clone these fields.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@69 c613c5cb-e716-0410-b11b-feb51c14d237
2006-09-06 22:02:11 +00:00
Ray Greenwell 37b60db7a7 Let's use our protected _index instead of going through the accessor.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@64 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-25 01:58:41 +00:00
Ray Greenwell 54f0316691 Removed debug statement.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@56 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-24 00:20:48 +00:00
Ray Greenwell a465884a84 Created listener interfaces that will automatically be registered
if implemented by something on the display hierarchy.
You may also implement them in utility classes and register and unregister
event listening by hand.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@55 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-24 00:15:49 +00:00
Ray Greenwell b118e302a3 Brought up to date and made easier to subclass.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@54 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-24 00:14:15 +00:00
Ray Greenwell a993e2ec46 Fixed the toString() output a bit.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@52 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-23 21:25:59 +00:00
Ray Greenwell 77c51c95d8 For now, the EZGameConfig contains a String called configData that
simply contains the game url or classname.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@51 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-23 21:17:25 +00:00
Ray Greenwell 35f6bc5b90 Renamed "GameObject" to "EZGame". I'm not super happy with the name,
so not everything is converted. I'll revisit once I've decided what to do.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@49 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-23 17:37:26 +00:00
Ray Greenwell 70b0d759c0 Moved the serverless game stuff out of msoy and back into the vilya library.
We'll be using this in game gardens, at least.
Note that the actionscript side currently doesn't compile because of
limitations in building a .swc file, but that'll be fixed soon.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@47 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-23 02:28:36 +00:00
Ray Greenwell a90d7e655b Compilation fixes: these classes weren't referenced before and so weren't
compiling, but I'm playing around with building .swc libraries to cut
down on the build time of the client.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@46 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-22 20:48:47 +00:00
Ray Greenwell 5331407313 Match change to ConfirmAdapter.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@45 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-19 01:05:32 +00:00
Ray Greenwell 81037188de Let's actually set _pctx.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@44 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-17 18:43:34 +00:00
Ray Greenwell a4d5a9fa9d TURN_HOLDER_REPLACED was already moved to TurnGameController in
because constant values cannot be defined in an interface in actionscript.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@43 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-16 18:41:31 +00:00
Ray Greenwell ee4fc4a8db Added 'turn' stuff, and the GameControllerDelegate required to do so.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@42 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-16 00:26:28 +00:00
Ray Greenwell cab4e2eac8 Use ClassUtil.isSameClass().
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@40 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-12 01:19:54 +00:00
Ray Greenwell 6fc509432c Fixed compile errors now that these classes are linked in...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@36 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-09 01:00:13 +00:00
Ray Greenwell 92ce73208a Wasn't streaming in GameConfig or GameObject;
Fix a compile error in FlexGameConfigurator


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@35 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-07 23:23:39 +00:00
Ray Greenwell c5b4139c01 These weren't being compiled before, as there were no references in the
client to these classes. Fixed up.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@34 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-07 19:07:34 +00:00
Ray Greenwell ed0c4fd3f4 Cleanup.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@32 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-29 01:10:22 +00:00
Ray Greenwell de896d967c Compilation...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@31 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-28 20:49:54 +00:00
Ray Greenwell 7ee319bb2b Checkpoint: converting parlor stuff to actionscript.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@30 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-28 02:47:21 +00:00
Ray Greenwell d93c79cfd0 A standard portal modification scene update. Will be used by msoy, but
could be used by other games as well.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@24 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-13 21:45:21 +00:00
Ray Greenwell 53bb1c598f Match some name changes made to the actionscript narya library.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@23 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-13 19:08:43 +00:00
Ray Greenwell b0c7ddf861 Log the version of the new model if persistence fails.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@22 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-13 18:37:51 +00:00
Ray Greenwell 19f22b01f1 When a scene update is received while in the scene, apply it immediately
and also save the new updated model.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@19 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-13 17:47:55 +00:00
Ray Greenwell 5708f56203 Match recent changes in our corresponding java classes.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@14 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-12 02:22:32 +00:00
Ray Greenwell 458a187145 Fixes to compile.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@6 c613c5cb-e716-0410-b11b-feb51c14d237
2006-06-28 22:04:27 +00:00
Ray Greenwell 01866933eb Whirled actionscript code, transferred from narya.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@5 c613c5cb-e716-0410-b11b-feb51c14d237
2006-06-23 19:21:10 +00:00