Ray Greenwell
f347723abe
Changes stemming from a changed MediaContainer.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@148 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-18 00:37:54 +00:00
Ray Greenwell
29bec533d8
Documented the events currently being dispatched.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@147 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-12 23:10:30 +00:00
Ray Greenwell
ae26fb8bcd
Fill out PropertySetEvent's toString() for easier debugging.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@146 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-12 19:15:46 +00:00
Ray Greenwell
ba5b931adc
Fixed some wee bugs:
...
calling setProperty() with an array was encoding it as byte[][], even when
an index was passed in.
Messages of arrays were also encoding as byte[][] for the server, even though
the server doesn't care about messages.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@145 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-12 19:14:22 +00:00
Ray Greenwell
a6de2c9bc6
Added isConnected().
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@144 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-10 19:51:49 +00:00
Andrzej Kapolka
ee8f636d7e
Allow subclasses to create custom backends.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@143 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-10 06:16:37 +00:00
Andrzej Kapolka
9695c3ef3a
Moved default field deserialization code into separate method to allow
...
subclasses to read additional fields.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@142 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-09 21:23:38 +00:00
Ray Greenwell
6d2ecb8f67
Don't generate a TypeError if we're not in an EZGame environment.
...
It may be well worth adding an isConnected() method that can be used to test
whether the EZGame stuff is connected or whether we should just show
demo graphics or something.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@141 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-08 23:37:11 +00:00
Ray Greenwell
08d317b329
Added rescued documentation from the old EZGame class.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@140 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-06 01:58:43 +00:00
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