Commit Graph

189 Commits

Author SHA1 Message Date
Ray Greenwell 1078ac796f Buildfix.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@139 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-06 01:57:17 +00:00
Ray Greenwell 00e2c45f01 Mostly kinda fixed up keyboard issues for EZGames.
They can add their keyboard listeners directly to the GameControl object
to receive global key events.

There are strange focus weirdnesses on the flex side- sometimes you have
focus with no focus highlight and sometimes you don't have focus and you
do have the highlight. Punting, rather than spending more hours on this.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@138 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-06 01:44:05 +00:00
Ray Greenwell 3b08974f73 Revamped EZGame to work over the security boundary.
Now, instead of implementing "Game" and having the EZGame object assigned
to you, you create it yourself using your top-level component.

You must register listeners manually, and keyboard focus is currently an
issue that I'm working on.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@137 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-05 18:59:08 +00:00
Dave Hoover 86a879a725 Type safety
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@136 c613c5cb-e716-0410-b11b-feb51c14d237
2006-12-27 07:55:38 +00:00
Michael Bayne 5f144bc8a9 Delete jar files when cleaning.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@135 c613c5cb-e716-0410-b11b-feb51c14d237
2006-12-15 23:21:59 +00:00
Ray Greenwell bbfcf85775 Remove giant obnoxious game-blocking chat display.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@134 c613c5cb-e716-0410-b11b-feb51c14d237
2006-12-08 03:43:37 +00:00
Ray Greenwell 4536556ba9 Removed debugging.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@133 c613c5cb-e716-0410-b11b-feb51c14d237
2006-11-30 23:42:27 +00:00
Michael Bayne e60e58c8b8 Use where, improved warning when we receive a playerReady() from a non-player.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@132 c613c5cb-e716-0410-b11b-feb51c14d237
2006-11-28 18:27:58 +00:00
Ray Greenwell 52febf265b Allow the TableManager to be configured to create subclasses of Table.
Commented out unneeded flash client code in Table.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@131 c613c5cb-e716-0410-b11b-feb51c14d237
2006-11-17 23:24:14 +00:00
Michael Bayne c7ff0391a6 Skip the XML bits if we don't have the XML writer.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@130 c613c5cb-e716-0410-b11b-feb51c14d237
2006-11-16 23:39:47 +00:00
Michael Bayne 4ce9c6f87d New libs.dir business.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@129 c613c5cb-e716-0410-b11b-feb51c14d237
2006-11-16 23:13:11 +00:00
Michael Bayne a8740d3b94 Use distlib.dir.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@128 c613c5cb-e716-0410-b11b-feb51c14d237
2006-11-16 21:27:16 +00:00
Michael Bayne 0fb8e4e693 Steer newbies away from stupid decisions.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@127 c613c5cb-e716-0410-b11b-feb51c14d237
2006-11-15 22:41:27 +00:00
Ray Greenwell 0b8b31aaa6 Prevent server spew when multiple EZGame clients attempt to end the game.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@126 c613c5cb-e716-0410-b11b-feb51c14d237
2006-11-15 21:03:51 +00:00
Ray Greenwell 3dd3c857fa Fixed SQL for saving cookies. Handy syntax, that
"insert ... on duplicate key" stuff.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@125 c613c5cb-e716-0410-b11b-feb51c14d237
2006-11-15 20:48:49 +00:00
Ray Greenwell ccb530d8c7 Cookie fixes.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@124 c613c5cb-e716-0410-b11b-feb51c14d237
2006-11-15 20:47:57 +00:00
Ray Greenwell cff4238b3e Updates to EZGame to allow games to store 'user cookies'.
Then intention is that other games besides EZGame may use this as well,
so it's semi-separated, but for now it's part of EZGame.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@123 c613c5cb-e716-0410-b11b-feb51c14d237
2006-11-15 03:01:49 +00:00
Ray Greenwell a4ae0dd2dc Regenerated with new templates.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@122 c613c5cb-e716-0410-b11b-feb51c14d237
2006-11-15 02:56:12 +00:00
Ray Greenwell 1b0317cef8 We need these libs too, when we 'ant genservice'.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@121 c613c5cb-e716-0410-b11b-feb51c14d237
2006-11-14 03:26:20 +00:00
Ray Greenwell aefd823e72 Explicitly import com.samskivert.swing things, as jdk1.6 contains
javax.swing.GroupLayout.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@120 c613c5cb-e716-0410-b11b-feb51c14d237
2006-11-08 00:21:26 +00:00
Michael Bayne d231214e59 Make the logging optional.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@119 c613c5cb-e716-0410-b11b-feb51c14d237
2006-11-03 00:15:46 +00:00
Ray Greenwell 515f2d6be5 Implemented Collections.shuffle().
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@118 c613c5cb-e716-0410-b11b-feb51c14d237
2006-11-01 03:56:12 +00:00
Ray Greenwell f8ddf4d7c9 Restored correct behavior in a non-fallthrough way.
(And personally, I think falling-through is fine if documented. Maybe we
need a @FallThrough annotation so that the compiler can be our best friend.)


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@117 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-26 23:40:48 +00:00
Michael Bayne 16f070f69c Falling through is a dangerous pattern, let's not do it.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@116 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-26 23:11:56 +00:00
Michael Bayne e9fe2aab01 Use project.dir.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@115 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-14 00:07:53 +00:00
Michael Bayne 73292de817 Updated snapshot target.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@114 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-13 22:43:01 +00:00
Michael Bayne 5094eeebce Added proper 'snapshot' target.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@113 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-13 22:34:00 +00:00
Michael Bayne e063e9c98a Define an includable Ant XML file with our library dependencies.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@112 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-13 22:29:23 +00:00
Michael Bayne 306ebf3169 Build file changes to make Vilya work with the new build world order.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@111 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-13 02:14:07 +00:00
Andrzej Kapolka f81adbda02 Do we really need a stack trace here? I don't think so.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@110 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-13 01:56:55 +00:00
Andrzej Kapolka 45350177e1 Moved the Percentiler test over as well, added preambles.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@109 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-12 22:52:17 +00:00
Andrzej Kapolka c978fe70e8 Moved Percentiler to Vilya so that we can use it in Bang.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@108 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-12 22:42:45 +00:00
Michael Bayne 6c0f497eef Use new ChatDisplay interface.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@107 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-10 21:48:51 +00:00
Ray Greenwell 2717fd3b24 Allow tables to be started (by the creator) when there are at
least the minimum players present.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@106 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-06 02:13:20 +00:00
Ray Greenwell 3caec3d8bc New method sig to match auto-generated stuff
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@105 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-06 01:52:17 +00:00
Michael Bayne 0f313b908a Regenerated with proper InvocationService.InvocationListener handling.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@104 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-06 01:49:08 +00:00
Ray Greenwell 7e3e8b981d Regenerated more actionscript service business.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@103 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-06 01:40:52 +00:00
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 2b05717226 Added ActionScript wiry uppy to genservice and a genascript task (though that
one is a bit limited at the moment). 


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@100 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-06 00:21:33 +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
Michael Bayne 8b8a8120c2 Added some ActionScript annotations.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@92 c613c5cb-e716-0410-b11b-feb51c14d237
2006-10-05 00:16:25 +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