Michael Bayne
cc94dacfce
Vilya has a straggler as well.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@296 c613c5cb-e716-0410-b11b-feb51c14d237
2007-05-07 19:58:14 +00:00
Michael Bayne
69dd4a27d1
Instrument!
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@295 c613c5cb-e716-0410-b11b-feb51c14d237
2007-05-07 19:50:29 +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
Mike Thomas
dd5993402a
Don't fringe test tiles in the editor.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@292 c613c5cb-e716-0410-b11b-feb51c14d237
2007-05-03 18:22:03 +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
Mike Thomas
3fffe2e9b5
We need to use a non-negative tilsetID for the editor test tiles or things deep within the tile code will ignore us for base tiles. Since tileset IDs get cast to shorts in places for encoding into FQTileSetIds, the biggest we can use to try to not conflict is Short.MAX_VALUE.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@288 c613c5cb-e716-0410-b11b-feb51c14d237
2007-05-02 23:48:41 +00:00
Michael Bayne
df9b6c2657
PuzzleConfig was totally pointless and prevented Yohoho from having all of its
...
game configs inherit from a single enhanced config. It also prevented the
puzzle stuff from being used by ToyBox. It is now gone and Yohoho is even more
broken, but the fixes are in progress.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@287 c613c5cb-e716-0410-b11b-feb51c14d237
2007-05-01 23:40:44 +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
Ray Greenwell
04dd58d759
I think these are pretty well tested.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@285 c613c5cb-e716-0410-b11b-feb51c14d237
2007-05-01 02:27:06 +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
Dave Hoover
7c28390287
Allow GameManagers to trivially override the message displayed when someone's
...
game ends.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@282 c613c5cb-e716-0410-b11b-feb51c14d237
2007-04-19 03:19:59 +00:00
Ray Greenwell
b75acdf89e
- Expanded the user listener to listen for users to become disconnected
...
and automatically removed them from any pending tables.
- Always use the user listener now, even if we're not in a place.
So also ensure that notePlayerRemoved() is called as a result of bodyLeft()
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@281 c613c5cb-e716-0410-b11b-feb51c14d237
2007-04-17 00:26:10 +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
Mike Thomas
cccc3a308e
Fix the scene editor's test tile functionality - we need to place any loaded test tiles into the tile manager so they can show up in the actual scene.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@278 c613c5cb-e716-0410-b11b-feb51c14d237
2007-04-11 17:15:39 +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
Michael Bayne
94384e8fc7
Don't note removed on empty slots.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@276 c613c5cb-e716-0410-b11b-feb51c14d237
2007-04-10 17:30:28 +00:00
Michael Bayne
d1672d7c79
Use notePlayerRemoved() so that we remove our object death listener
...
appropriately.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@275 c613c5cb-e716-0410-b11b-feb51c14d237
2007-04-10 17:27:02 +00:00
Michael Bayne
97a8417d4e
Listen for object death on table participants when we're not in a place and
...
can't rely on hearing that they left the place to clean up after them.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@274 c613c5cb-e716-0410-b11b-feb51c14d237
2007-04-10 17:05:48 +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
Dave Hoover
44ac9cf598
Let's do keyword substitution on the actionscript; it's got all those purty $Id$ tags, too.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@271 c613c5cb-e716-0410-b11b-feb51c14d237
2007-04-07 00:25:58 +00:00
Dave Hoover
8a4f086f32
Keyword substition.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@270 c613c5cb-e716-0410-b11b-feb51c14d237
2007-04-07 00:22:45 +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
8193a87ff2
Freak not out if we're shutdown before all of our games are ended.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@265 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-23 21:52:56 +00:00
Michael Bayne
f62498de20
Idempotency is always handy.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@264 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-23 20:45:58 +00:00
Michael Bayne
418a549af7
More chat panel fiddling.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@263 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-23 20:15:13 +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
Mark Johnson
ceb4ea2a07
Added the ability to delete stat records for a player ID
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@261 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-23 00:49:37 +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
ab29481f26
We need to be shutdown now so that we can clean up our invocation service.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@259 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-22 00:46:37 +00:00
Michael Bayne
459d8b75a0
TableManagerProvider is no more.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@258 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-22 00:39:58 +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
Michael Bayne
f61250f75b
Allow the hint text to be put on the same line as the chat input.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@254 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-21 15:58:57 +00:00
Michael Bayne
add74fd863
Alas this hack will be needed for all time it seems.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@253 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-20 23:24:41 +00:00
Michael Bayne
ee0bea04e1
Nix some Bang specific stuff.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@252 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-20 17:44:18 +00:00
Michael Bayne
e6ab89f313
Extracted the Bang stats system into reusable land. Too late for Yohoho, but
...
Whirled will benefit.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@251 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-20 17:23:18 +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
59c6bf814b
Fixed some logic I broke a few weeks back.
...
There's no more isPartyGame(), and needsNoShowTimer() simply checks to see
if the game is seated, but needsNoShowTimer() can be overridden and so
I shouldn't have treated it as equivalent to !isPartyGame().
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@248 c613c5cb-e716-0410-b11b-feb51c14d237
2007-03-15 21:22: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