Michael Bayne
74665f1663
Added EZGameControl.restartGameIn(seconds).
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@416 c613c5cb-e716-0410-b11b-feb51c14d237
2007-08-23 23:19:51 +00:00
Michael Bayne
b9ba20c19b
Derived classes that are not in this package need to be able to call
...
dispatch().
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@414 c613c5cb-e716-0410-b11b-feb51c14d237
2007-08-23 00:32:36 +00:00
Michael Bayne
7c29339626
Extract that handy method.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@413 c613c5cb-e716-0410-b11b-feb51c14d237
2007-08-22 23:54:01 +00:00
Michael Bayne
1a272ef171
Widening and removal of compatibility code for never-in-the-wild functionality.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@412 c613c5cb-e716-0410-b11b-feb51c14d237
2007-08-22 23:29:54 +00:00
Michael Bayne
568b1f6ab2
Some log fiddling.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@400 c613c5cb-e716-0410-b11b-feb51c14d237
2007-08-11 00:37:48 +00:00
Michael Bayne
30d7bc4be3
When we add a chat display, we must remove it once we're done.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@397 c613c5cb-e716-0410-b11b-feb51c14d237
2007-08-02 19:12:08 +00:00
Ray Greenwell
8233be01e7
Added filter(text) to the EZGame API. Untested.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@394 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-31 06:51:20 +00:00
Michael Bayne
e03ddd71e8
Updates to reflect new BodyObject.location change. We now have a ScenePlace and
...
ScenedBodyObject goes away.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@372 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-21 00:47:00 +00:00
Michael Bayne
2123c43c3b
The SceneDirector should observer location changes so that it can clear out its
...
current scene information if we move to a non-scene location. Previously when
we did so, it simply didn't notice and thought we were still in the last scene
that we had occupied.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@369 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-18 23:49:56 +00:00
Michael Bayne
d4e113d784
Missed this.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@366 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-17 21:35:52 +00:00
Michael Bayne
b6562d91e6
Keep our pending data in an extensible object so that we can easily preserve it
...
across server switches, when it would otherwise be cleared out.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@365 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-17 21:14:40 +00:00
Michael Bayne
522a96ef96
Regeneratd services, got new mo' betta type handling.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@360 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-13 23:53:31 +00:00
Michael Bayne
d5023554e8
Allow a SceneService.moveTo() to respond by requesting that the client move to
...
a new server and reissue its request, which it, in theory, now does.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@354 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-13 21:59:46 +00:00
Michael Bayne
6a77a7e1f1
Widening.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@353 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-13 19:57:46 +00:00
Ray Greenwell
9b5d3cca12
Use the new ObjectMarshaller.
...
Note that the default value of the encodeArrayElements has changed to reflect
the more general-purpose use.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@351 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-06 22:27:16 +00:00
Ray Greenwell
54c571f7f5
Bugfix: user cookies should be validated as serializable.
...
This breaks UD's current cookie mechanism, but it's easily fixed.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@350 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-06 21:43:17 +00:00
Michael Bayne
b19e96796c
Check autoReady_v1 in a backwards compatible way (old games won't have set it
...
at all).
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@338 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-28 07:02:47 +00:00
Michael Bayne
43d53e73a8
Fix booches.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@335 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-27 22:06:23 +00:00
Michael Bayne
ebdf4f8fe2
Allow the border to be turned off entirely.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@334 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-27 22:05:44 +00:00
Michael Bayne
1c92282772
Freak not out if someone adds a click handler to something and removes said
...
thing from the stage in their click handler.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@330 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-25 23:57:19 +00:00
Michael Bayne
b87eacd9d6
Allow a game to delay its start until all of its players are actually ready
...
rather than assuming that as soon as they construct the EZGameControl, they're
ready to play. That's not totally unreasonable, but with this new explicit
mechanism, games can also "rematch" (or just replay if it's single player) by
having all clients call playerReady() again after the game has ended.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@328 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-25 20:36:16 +00:00
Michael Bayne
15bbb435c7
Grab our starting location from the scene when we switch scenes so that
...
getIntendedLocation() will return a valid value even before we've moved
somewhere in our new scene.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@327 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-23 02:08:03 +00:00
Michael Bayne
d895c99484
Widening.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@326 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-23 02:00:20 +00:00
Michael Bayne
3e56079a1a
Use GameDefinition.controller if it is configured.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@318 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-18 19:59:57 +00:00
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