Michael Bayne
86e594ed5e
I swear I got all of these. This should really be the last one. :)
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@58 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-24 00:47:51 +00:00
Michael Bayne
37dd31ad75
More spots, missed.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@57 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-24 00:28:04 +00:00
Ray Greenwell
54f0316691
Removed debug statement.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@56 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-24 00:20:48 +00:00
Ray Greenwell
a465884a84
Created listener interfaces that will automatically be registered
...
if implemented by something on the display hierarchy.
You may also implement them in utility classes and register and unregister
event listening by hand.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@55 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-24 00:15:49 +00:00
Ray Greenwell
b118e302a3
Brought up to date and made easier to subclass.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@54 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-24 00:14:15 +00:00
Michael Bayne
eed4d67b9e
Restructured things to work with the new mechanism for creating distributed
...
objects.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@53 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-23 23:48:07 +00:00
Ray Greenwell
a993e2ec46
Fixed the toString() output a bit.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@52 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-23 21:25:59 +00:00
Ray Greenwell
77c51c95d8
For now, the EZGameConfig contains a String called configData that
...
simply contains the game url or classname.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@51 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-23 21:17:25 +00:00
Michael Bayne
7d870d5eb6
Resource bundle jockeying.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@50 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-23 18:18:30 +00:00
Ray Greenwell
35f6bc5b90
Renamed "GameObject" to "EZGame". I'm not super happy with the name,
...
so not everything is converted. I'll revisit once I've decided what to do.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@49 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-23 17:37:26 +00:00
Ray Greenwell
70b0d759c0
Moved the serverless game stuff out of msoy and back into the vilya library.
...
We'll be using this in game gardens, at least.
Note that the actionscript side currently doesn't compile because of
limitations in building a .swc file, but that'll be fixed soon.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@47 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-23 02:28:36 +00:00
Ray Greenwell
a90d7e655b
Compilation fixes: these classes weren't referenced before and so weren't
...
compiling, but I'm playing around with building .swc libraries to cut
down on the build time of the client.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@46 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-22 20:48:47 +00:00
Ray Greenwell
5331407313
Match change to ConfirmAdapter.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@45 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-19 01:05:32 +00:00
Ray Greenwell
81037188de
Let's actually set _pctx.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@44 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-17 18:43:34 +00:00
Ray Greenwell
a4d5a9fa9d
TURN_HOLDER_REPLACED was already moved to TurnGameController in
...
because constant values cannot be defined in an interface in actionscript.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@43 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-16 18:41:31 +00:00
Ray Greenwell
ee4fc4a8db
Added 'turn' stuff, and the GameControllerDelegate required to do so.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@42 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-16 00:26:28 +00:00
Ray Greenwell
f171848695
Use GameObject.isInPlay() to determine in-play status.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@41 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-16 00:09:05 +00:00
Ray Greenwell
cab4e2eac8
Use ClassUtil.isSameClass().
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@40 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-12 01:19:54 +00:00
Ray Greenwell
e10a3ae94d
Let's rename that, because it will only return the index if the
...
player is actually in the game.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@39 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-11 23:30:45 +00:00
Ray Greenwell
fc57d9bb8f
Added a method to get player index by Oid.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@38 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-11 21:25:33 +00:00
Michael Bayne
9be1f1db14
This should be using getVisibleName().
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@37 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-11 02:22:03 +00:00
Ray Greenwell
6fc509432c
Fixed compile errors now that these classes are linked in...
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@36 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-09 01:00:13 +00:00
Ray Greenwell
92ce73208a
Wasn't streaming in GameConfig or GameObject;
...
Fix a compile error in FlexGameConfigurator
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@35 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-07 23:23:39 +00:00
Ray Greenwell
c5b4139c01
These weren't being compiled before, as there were no references in the
...
client to these classes. Fixed up.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@34 c613c5cb-e716-0410-b11b-feb51c14d237
2006-08-07 19:07:34 +00:00
Ray Greenwell
6f10fc445f
Occam's razor.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@33 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-29 01:10:59 +00:00
Ray Greenwell
ed0c4fd3f4
Cleanup.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@32 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-29 01:10:22 +00:00
Ray Greenwell
de896d967c
Compilation...
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@31 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-28 20:49:54 +00:00
Ray Greenwell
7ee319bb2b
Checkpoint: converting parlor stuff to actionscript.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@30 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-28 02:47:21 +00:00
Ray Greenwell
b82ab59b1d
- Changed Table to just have an int as its key and use autoboxing to make
...
that a Comparable. It's a slight performance hit, as when a DSet is
binary searched, it will be boxing up an int for every entry examined.
Oh well.
- Use some generics.
- Some other cleanups I spotted while writing actionscript versions.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@29 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-28 02:03:53 +00:00
Michael Bayne
4914a11160
Nixed my earlier fiddling and replaced it with a sensible addition to the turn
...
game logic which is that we won't try to start the next turn if the game
reports being over. If we still see problems with infinite loops in GG games,
then we'll reinstate the fiddling.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@28 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-19 06:26:54 +00:00
Michael Bayne
db8125271b
I hate adding random booleans, but it is an easy mistake to miss a case where
...
turnDidStart() results in an immediate call to endTurn() and things then spiral
off into infinite loop land. If someone genuinely does want to end a turn
mmediately in turnDidStart() they can queue up a dobj unit to do so.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@27 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-19 02:55:08 +00:00
Mike Thomas
19e5b04b41
Need to abstract out the assignment of the starting location of a body. We use this in yohoho for pets to put them somewhere other than a portal.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@26 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-17 21:41:19 +00:00
Ray Greenwell
e76a54c18f
If a client somehow has a higher version scene than we do, tell them all
...
about the current scene model instead of informing them that the version
they have is OK. It's not ok!
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@25 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-13 22:15:37 +00:00
Ray Greenwell
d93c79cfd0
A standard portal modification scene update. Will be used by msoy, but
...
could be used by other games as well.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@24 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-13 21:45:21 +00:00
Ray Greenwell
53bb1c598f
Match some name changes made to the actionscript narya library.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@23 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-13 19:08:43 +00:00
Ray Greenwell
b0c7ddf861
Log the version of the new model if persistence fails.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@22 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-13 18:37:51 +00:00
Ray Greenwell
6404d3e0ab
Preserve the stack trace when CloneNotSupportedException impossibly happens.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@21 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-13 18:10:55 +00:00
Ray Greenwell
5b5fddfb50
A bit of type safety.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@20 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-13 18:08:42 +00:00
Ray Greenwell
19f22b01f1
When a scene update is received while in the scene, apply it immediately
...
and also save the new updated model.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@19 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-13 17:47:55 +00:00
Ray Greenwell
5708f56203
Match recent changes in our corresponding java classes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@14 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-12 02:22:32 +00:00
Michael Bayne
50c7b2b8dd
Added new ClientObserver method.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@13 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-07 04:02:57 +00:00
Ray Greenwell
c9a8c1d117
Allow portals to have a targetPortalId of -1, which means simply
...
"whatever the default entrance is of the target scene".
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@12 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-07 00:36:02 +00:00
Michael Bayne
2933846516
Allow the path to the server's resource manager properties to be adjusted.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@11 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-07 00:34:16 +00:00
Ray Greenwell
1c7ac6d3b9
Utility class to assist in SceneUpdate management.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@10 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-06 22:40:19 +00:00
Ray Greenwell
c3bb221239
Added some code to save a stacktrace from the first call to startGame()
...
if we do the postponey business and find things still booched after that.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@9 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-06 21:04:17 +00:00
Mike Thomas
327518de12
Prevent the continual attempts to postpone the start of a game that have caused our shutdowns to fail a few times now.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@8 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-06 17:40:09 +00:00
Michael Bayne
65681f36f0
Use the new ClientFactory.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@7 c613c5cb-e716-0410-b11b-feb51c14d237
2006-07-01 03:41:41 +00:00
Ray Greenwell
458a187145
Fixes to compile.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@6 c613c5cb-e716-0410-b11b-feb51c14d237
2006-06-28 22:04:27 +00:00
Ray Greenwell
01866933eb
Whirled actionscript code, transferred from narya.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@5 c613c5cb-e716-0410-b11b-feb51c14d237
2006-06-23 19:21:10 +00:00
Michael Bayne
a4df87e52f
Behold Vilya, Ring of Air and repository for our game and virtual worldly
...
extensions to the distributed environment provided by Narya.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@1 c613c5cb-e716-0410-b11b-feb51c14d237
2006-06-23 17:58:11 +00:00