Ray Greenwell
bdef34eb69
Exposed a method to allow users to batch property set requests into a
...
dobj transaction. Thanks to mdb for the idea of accepting a function to run
for the batch, rather than exposing startTransaction() and commitTransaction()
directly.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@317 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-18 19:33:02 +00:00
Nathan Curtis
e4240b1b08
Let the method fetching the container set its style and width.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@314 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-14 18:02:33 +00:00
Michael Bayne
c47d1a7c5a
Header fixy.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@313 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-14 17:41:07 +00:00
Nathan Curtis
5f04c759c7
private -> watchable. Defaults to watchable. The table config itself is left alone, and retains
...
the concept of private, rather than watchable.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@311 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-06 18:25:37 +00:00
Ray Greenwell
fb24ff77cc
T time!
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@310 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-05 04:00:12 +00:00
Ray Greenwell
e066a12dee
Actually, let's make that take a prefix argument, and only return properties
...
that begin with that prefix.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@309 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-05 03:48:15 +00:00
Ray Greenwell
13fdafe0e5
Unneeded import.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@308 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-05 03:45:48 +00:00
Ray Greenwell
f85af6ffab
Added getPropertyNames(), which used to be unnecessary because you could get
...
the data Object (actually a proxy to it) and do a for or for-each on that,
but we removed that when we made 3 different kinds of sets.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@307 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-05 03:44:47 +00:00
Michael Bayne
8c9a558932
Have GameDefinition include all the classes it will naturally require.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@305 c613c5cb-e716-0410-b11b-feb51c14d237
2007-05-28 17:13:20 +00:00
Ray Greenwell
cb24d4adfb
Bugfix: Return to decoding the data when we read it in, so that it's decoded for applyToObject().
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@297 c613c5cb-e716-0410-b11b-feb51c14d237
2007-05-08 17:41:22 +00:00
Michael Bayne
87fe737eef
Need to wrap this feller too.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@294 c613c5cb-e716-0410-b11b-feb51c14d237
2007-05-03 22:57:10 +00:00
Nathan Curtis
a9aab4b39a
added helpful comment so I don't make the same mistake again in the future
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@293 c613c5cb-e716-0410-b11b-feb51c14d237
2007-05-03 20:42:35 +00:00
Nathan Curtis
eac0b2a791
there is also no need to leave commented code in place
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@291 c613c5cb-e716-0410-b11b-feb51c14d237
2007-05-03 18:21:54 +00:00
Nathan Curtis
3a1f70e5cc
there is no need to wrap this in an Integer... and apparently when pulling it out of the hashmap
...
and casting it to a string we get [object Object] instead of what you would expect
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@290 c613c5cb-e716-0410-b11b-feb51c14d237
2007-05-03 18:20:47 +00:00
Michael Bayne
be68f9f7e0
Use an Integer here so that we play nicely with Java managers.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@289 c613c5cb-e716-0410-b11b-feb51c14d237
2007-05-03 00:17:38 +00:00
Michael Bayne
7538ddcc7f
Hold on to your seats kids, it's another installment of "A Boy and His
...
Blowtorch". Refactored GameConfig and the EZ game framework, cleaning up some
old cruft from GameConfig (which will break other projects and which I'll fix
ASAP) and moved the XML based configuration system from ToyBox into EZGame.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@286 c613c5cb-e716-0410-b11b-feb51c14d237
2007-05-01 22:26:25 +00:00
Par Winzell
c98100eb8f
Fix artifact from a time when I was putting this into WhirledGames only.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@284 c613c5cb-e716-0410-b11b-feb51c14d237
2007-04-27 23:35:03 +00:00
Par Winzell
fd4b2183ef
Let EZGames listen for user chats and pass them on as events to the user code. I'm a little uncertain if we need to do things with e.g. the bundle in the chat message object?
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@283 c613c5cb-e716-0410-b11b-feb51c14d237
2007-04-27 23:32:43 +00:00
Nathan Curtis
8f6be6a8a5
give those controls a bit more room
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@280 c613c5cb-e716-0410-b11b-feb51c14d237
2007-04-14 03:50:36 +00:00
Nathan Curtis
74ffcaaf61
organize/style things better
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@279 c613c5cb-e716-0410-b11b-feb51c14d237
2007-04-11 22:12:24 +00:00
Nathan Curtis
a0850ca4e1
this can't possibly the be the "right way" to i18n actionscript stuff in vilya. Do we have a better
...
way lined up for this?
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@277 c613c5cb-e716-0410-b11b-feb51c14d237
2007-04-10 21:00:27 +00:00
Ray Greenwell
eab2ae7d91
Set gameconfig to an empty object until populated by the backend.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@273 c613c5cb-e716-0410-b11b-feb51c14d237
2007-04-09 20:45:03 +00:00
Ray Greenwell
bf230b8998
- Fixed bug with creating the default header.
...
- Don't set up the players labels if we're not connected.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@272 c613c5cb-e716-0410-b11b-feb51c14d237
2007-04-09 20:37:05 +00:00
Par Winzell
782cf97f86
Let's allow localChat() without being connected. If nothing else it'll make 'standalone' game debugging easier.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@269 c613c5cb-e716-0410-b11b-feb51c14d237
2007-04-04 21:04:15 +00:00
Ray Greenwell
a36376ccc2
Some cleanup/fixup, although we're probably not going to use this...
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@268 c613c5cb-e716-0410-b11b-feb51c14d237
2007-04-02 21:24:07 +00:00
Ray Greenwell
744127a192
Prior to acting upon any call from usercode, ensure we're still connected.
...
Otherwise, throw an error.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@267 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-30 19:58:26 +00:00
Nathan Curtis
4c696a579d
let there be mroe than one TableObserver, now that lobbies are not places unto themselves
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@266 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-28 00:34:27 +00:00
Michael Bayne
d5d44b0d03
It's push, not add.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@262 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-23 20:15:03 +00:00
Nathan Curtis
e1ca18f8ed
add getter for our currently seated table
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@260 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-22 18:45:56 +00:00
Michael Bayne
fde9727f07
Nix place-specific willEnter and didLeave pattern since we're no longer bound
...
to places.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@257 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-21 21:51:11 +00:00
Michael Bayne
9b5369ef99
Don't forget kids. We get to write everything twice now. It's great!
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@256 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-21 21:44:11 +00:00
Michael Bayne
b71007a909
Yay for rabbit holes. Revamped the table services to decouple them from places.
...
While I was in there, I extracted the communication between the client and the
TableManager into a new-style "embedded in the TableLobbyObject" service
instead of wonkily routing everything through the global ParlorService and the
ParlorProvider (which got merged into the ParlorManager as a part of this
rabbit holery). The GG build will break... I will fix it.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@255 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-21 21:38:31 +00:00
Nathan Curtis
6b2b9ecbbb
update comment
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@250 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-16 23:25:52 +00:00
Nathan Curtis
98de3ab53a
this change goes with msoy r3274
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@249 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-16 23:23:46 +00:00
Ray Greenwell
5ee8e02727
Scratch last night's change.
...
Having the 'value' of the element be the tooltip is too strange for me.
Discussed with mdb, decided to make everything attributes, including
a new 'name' attribute which will be shown to users in place of the
'ident', if 'name' is present.
To sum up, the XML syntax for a parameter is now (for range params):
<range ident="boardsize" minimum="4" maximum="8" start="6"
name="Board size" tip="Sets the size of the board"/>
name and tip are both optional, so this is still compatible with
the historical Gardens xml.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@247 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-14 18:30:30 +00:00
Ray Greenwell
caf3f40dff
Allow text inside the <range><choice> and <toggle> tags to contain
...
the tooltip for a game configuration.
- Removed ident translation of _ to ' ' for display purposes. Just use
a nice name.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@246 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-14 03:48:42 +00:00
Michael Bayne
227de3603e
Nixed HostCoordinator and HostEvent as that functionality is now provided by
...
EZGameControl.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@245 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-14 02:59:46 +00:00
Robert Zubeck
636620c56e
Adding a missing bit of info about the round API.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@244 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-14 01:08:33 +00:00
Ray Greenwell
aea954ea91
Implement ChatCantStealFocus.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@243 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-13 18:53:13 +00:00
Ray Greenwell
2fc60fad88
Use a LabeledSlider for any range properties.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@242 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-13 01:18:26 +00:00
Ray Greenwell
77bc817f49
Use the new LabeledSlider instead of rolling our own.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@241 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-13 01:14:58 +00:00
Ray Greenwell
3825cf2e68
Allow EZGames to have custom configuration options specified as XML.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@240 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-13 00:50:14 +00:00
Ray Greenwell
565c700d61
Clarify, although can this be what is meant? There does not appear to be
...
a way to start a new round other than by setting a nonzero delay when ending
the previous round.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@239 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-12 22:23:00 +00:00
Ray Greenwell
df483cd566
You can't use that! It's the square of an imaginary number!
...
(0 should mean no-value)
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@238 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-12 22:20:39 +00:00
Michael Bayne
5b77f2f95d
Added support for handling games with multiple rounds.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@237 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-11 07:59:23 +00:00
Michael Bayne
b6c6b74d73
Dooh, failed to save my removal of this debug statement.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@236 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-11 06:38:59 +00:00
Michael Bayne
0306b072df
Fixed decoding problem in GameControlBackend, switched to varargs in manager.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@235 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-11 06:37:03 +00:00
Ray Greenwell
91131810d4
Rollback to the previous hackery, this hackery didn't work.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@233 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-08 06:09:14 +00:00
Ray Greenwell
6b217bf77d
Try... this?
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@232 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-08 05:41:54 +00:00
Ray Greenwell
f11f8663e1
Use the TextField hack ourselves.
...
- Flash seems to sketch out when key events go elsewhere
- Whirled now does the handy thing of re-routing 'word' keypresses
to the ChatControl, unless a TextField has focus. We want to automatically
let games get any and all keypresses...
- The damn focus stuff is broken anyway
Untested, Nathan will test.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@231 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-08 05:23:54 +00:00