Commit Graph

29 Commits

Author SHA1 Message Date
Michael Bayne 011ce82736 Nix unused import.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@789 c613c5cb-e716-0410-b11b-feb51c14d237
2008-12-08 19:01:27 +00:00
Michael Bayne 38cfdf31ae Do our business in bodyWillEnter() which is more appropriate.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@787 c613c5cb-e716-0410-b11b-feb51c14d237
2008-12-05 22:41:09 +00:00
Michael Bayne 47f24a152f Add support for loading extra data (in addition to the scene model and its
updates) during the scene resolution process which is then passed to the
manager during initialization. This is useful for information that lives in the
scene distributed object and needs to be put there before anyone arrives in the
scene.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@783 c613c5cb-e716-0410-b11b-feb51c14d237
2008-12-04 18:08:16 +00:00
Dave Hoover 8b03be111e Imports cleanup
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@751 c613c5cb-e716-0410-b11b-feb51c14d237
2008-09-26 17:36:37 +00:00
Michael Bayne bb0d6c5ba4 More code hygiene. Need to do some fiddling to make dispatchers not generate
generics warnings when calling methods with generic types.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@698 c613c5cb-e716-0410-b11b-feb51c14d237
2008-08-01 14:40:54 +00:00
Dave Hoover 624daadcd9 Nix unneeded imports, add @Overrides, remove content-free comments, and rerun code generators.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@670 c613c5cb-e716-0410-b11b-feb51c14d237
2008-07-18 19:02:08 +00:00
Michael Bayne 105ec55f44 Created a SpotSceneRegistry, have that implement SpotService instead of using a
concrete provider. Other implicit depends removal and cleanup.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@641 c613c5cb-e716-0410-b11b-feb51c14d237
2008-06-29 14:19:21 +00:00
Michael Bayne a133c7c693 Switch to new logging API.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@608 c613c5cb-e716-0410-b11b-feb51c14d237
2008-05-27 20:00:28 +00:00
Michael Bayne 25bacb93f0 Formatting tweaks; moved that new protected method down with its friends.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@594 c613c5cb-e716-0410-b11b-feb51c14d237
2008-05-09 11:21:46 +00:00
Mike Thomas de194d5392 Break out the scene manager's method for handling moving to the default portal so that subclasses can override.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@582 c613c5cb-e716-0410-b11b-feb51c14d237
2008-04-19 00:23:07 +00:00
Charlie Groves a09b5a1324 Genericize
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@564 c613c5cb-e716-0410-b11b-feb51c14d237
2008-02-19 00:15:34 +00:00
Dave Hoover d622907abb Make the spot cluster chat stuff operate on UserMessages instead of creating
one at the 11th hour so we can pass in our own fancier UserMessage subclasses
as appropriate.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@552 c613c5cb-e716-0410-b11b-feb51c14d237
2008-01-29 19:09:30 +00:00
Michael Bayne 6a783e8bc4 Make the spot services work if you don't implement ClusteredBodyObject. You
won't be able to use clusters but you'll still be able to use locations and
portals.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@501 c613c5cb-e716-0410-b11b-feb51c14d237
2007-11-15 02:09:51 +00:00
Michael Bayne 09ad0ca87d Updates to reflect SpeakProvider refactoring.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@395 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-31 21:05:36 +00:00
Mike Thomas 8ad7f5eaef Actually, this looks like the "right" way to do this - use the PlaceOid as our comparator.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@375 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-24 17:41:20 +00:00
Mike Thomas 85d3e3c7a7 location is an object, compare appropriately.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@374 c613c5cb-e716-0410-b11b-feb51c14d237
2007-07-24 17:31:19 +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 b452746dc2 Must've been my cracksmoking. (int)-1 == (short)-1.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@325 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-22 23:48:18 +00:00
Michael Bayne e1ca37cb16 (int)-1 != (short)-1. Yay for automatic integer type widening.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@324 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-22 23:03:13 +00:00
Michael Bayne af9a9b4895 Use the right portal id.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@323 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-22 22:08:41 +00:00
Michael Bayne fbfed05247 One more bit.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@322 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-22 22:01:50 +00:00
Michael Bayne fe2fc21830 Widened, modified traversePortal() so that the entire portal being traversed is
kept around and passed to mapEnteringBody() so that in Whirled instead of
having a portal map to a destination portal we can simply have the source
portal contain the location in the destination scene at which the arriver is to
be mapped.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@321 c613c5cb-e716-0410-b11b-feb51c14d237
2007-06-22 21:59:04 +00:00
Michael Bayne 33f55d5a8d Header patrol. Please be sure to use the header in lib/SOURCE_HEADER when
creating new source files.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@209 c613c5cb-e716-0410-b11b-feb51c14d237
2007-02-24 00:37:33 +00:00
Dave Hoover 1245defe65 Actually substitute keywords (these files are chock full of stale $Id$ tags)
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@150 c613c5cb-e716-0410-b11b-feb51c14d237
2007-01-24 00:22:09 +00:00
Mike Thomas 6611e60c1c We cannot check this here - the cluster is guaranteed to be size == 0 on the first insertion since we can't have called addBody until the constructor finishes. It used to be in objectAvailable which worked because it happened after the addBody calls were allowed to happen.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@74 c613c5cb-e716-0410-b11b-feb51c14d237
2006-09-19 20:56:20 +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
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 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 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