Commit Graph

893 Commits

Author SHA1 Message Date
Michael Bayne 1cb7b7dae5 Bump our Depot dependency up to 1.2-SNAPSHOT and convert ourselves to the new
type-safeness. Also jump to Narya 1.4-SNAPSHOT as well. Once the type-safe
Depot revamp settles down, we'll push out a release version of Depot, Narya and
Nenya and get back off the snapshot horse.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@1038 c613c5cb-e716-0410-b11b-feb51c14d237
2010-12-15 00:44:24 +00:00
Mike Thomas d5278b6ab4 Can't do this here. Rebreak my eclipse.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@1035 c613c5cb-e716-0410-b11b-feb51c14d237
2010-12-11 00:43:36 +00:00
Mike Thomas 95a2b2dcee There are still a ton of non-typesafe warnings I'm getting from all these ColumnExps without a type everywhere, but this was actually breaking my compile, so tell it that it should be getting a boolean out of the where clause.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@1034 c613c5cb-e716-0410-b11b-feb51c14d237
2010-12-11 00:12:51 +00:00
Charlie Groves 6d06a05fa6 Ack, vilya only depends on depot-1.0, so it doesn't have parameterized SQLExpressions. Eclipse is exporting trunk, so I thought it needed them. Rolling back 1031.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@1032 c613c5cb-e716-0410-b11b-feb51c14d237
2010-12-09 22:01:36 +00:00
Charlie Groves 5f1e197ce1 Fill in the unknown parameter on SQLExpression to match the later Ops.and and make Eclipse happy
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@1031 c613c5cb-e716-0410-b11b-feb51c14d237
2010-12-09 21:50:13 +00:00
Par Winzell 5cea32f9b2 The Client's ClientObject is not necessarily the body anymore.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@1030 c613c5cb-e716-0410-b11b-feb51c14d237
2010-12-08 19:31:14 +00:00
Par Winzell 965237145e One day perhaps we'll consider a world where clients can flit between bodies willy nilly and bodies don't necessarily have a client attached to them, but until that day, we're going to require that BodyObject.getClientObject() returns non-null when the body is in the wild.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@1026 c613c5cb-e716-0410-b11b-feb51c14d237
2010-12-06 04:43:44 +00:00
Par Winzell 1295b1dec7 After all that, I sent in the wrong variable.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@1025 c613c5cb-e716-0410-b11b-feb51c14d237
2010-12-06 04:41:30 +00:00
Par Winzell 73e514b351 BodyObject still derives from ClientObject, alas, but that no longer means a BodyObject is its own ClientObject. Make sure to send this notification to the right object.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@1024 c613c5cb-e716-0410-b11b-feb51c14d237
2010-12-05 03:59:52 +00:00
Par Winzell d03e77beb7 Use the new method on BodyLocator to translate ClientObjects into BodyObjects.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@1021 c613c5cb-e716-0410-b11b-feb51c14d237
2010-11-29 21:11:47 +00:00
Charlie Groves 3782309a2e Use runServer to start servers, and rename PrefixServer.Module to PrefixModule
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@1018 c613c5cb-e716-0410-b11b-feb51c14d237
2010-11-23 22:19:50 +00:00
Dave Hoover 0ed154d0c3 Whitespace
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@1015 c613c5cb-e716-0410-b11b-feb51c14d237
2010-11-19 21:31:29 +00:00
Dave Hoover b17e9ccee5 Speeling
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@1014 c613c5cb-e716-0410-b11b-feb51c14d237
2010-11-19 21:31:28 +00:00
Michael Bayne 1e2e20b1f1 Revamped build to use Maven Ant tasks, prepped a POM for proper publishing.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@996 c613c5cb-e716-0410-b11b-feb51c14d237
2010-11-18 05:24:20 +00:00
Michael Bayne ec27a1122d Moving bits into src/main and src/test. Reinstatement of actual test
workingness coming shortly.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@995 c613c5cb-e716-0410-b11b-feb51c14d237
2010-11-18 05:01:16 +00:00
Michael Bayne fbb1ce9a75 Pass our component and color classes to CastUtil explicitly.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@993 c613c5cb-e716-0410-b11b-feb51c14d237
2010-11-08 22:27:05 +00:00
Charlie Groves 824b14d6f1 Unused imports
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@992 c613c5cb-e716-0410-b11b-feb51c14d237
2010-10-27 23:43:55 +00:00
Michael Bayne f12cecd3a3 The aforementioned newline.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@988 c613c5cb-e716-0410-b11b-feb51c14d237
2010-10-22 06:44:46 +00:00
Dave Hoover 23b46bd7ea Update source headers to point to our new home.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@987 c613c5cb-e716-0410-b11b-feb51c14d237
2010-10-18 19:03:13 +00:00
Dave Hoover 770cce5b55 Whitespace
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@985 c613c5cb-e716-0410-b11b-feb51c14d237
2010-10-15 20:15:44 +00:00
Dave Hoover 72fe10238d Wrong "its"
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@984 c613c5cb-e716-0410-b11b-feb51c14d237
2010-10-15 20:15:43 +00:00
Dave Hoover 596e38abe8 Let's clone that helper from DropBoard & let it help.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@983 c613c5cb-e716-0410-b11b-feb51c14d237
2010-10-15 20:15:41 +00:00
Dave Hoover 6b1d055f10 We were only catching exceptions if we ran outside our piece array.
It was still possible to ask and get answers for invalid coordinates
as long as the resulting index was kosher. Check for that.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@982 c613c5cb-e716-0410-b11b-feb51c14d237
2010-10-15 20:15:40 +00:00
Dave Hoover 3d3a232609 We do that math a lot, so make helpers & trust the compiler to optimize.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@981 c613c5cb-e716-0410-b11b-feb51c14d237
2010-10-15 20:15:37 +00:00
Michael Bayne f61338ec1d No longer need to pass a MessageManager when constructing the ChatDirector.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@979 c613c5cb-e716-0410-b11b-feb51c14d237
2010-10-14 15:53:05 +00:00
Mike Thomas 78f56f881a Add a new wacky feature to the editor - ctrl-clicking in add tile mode will select the tile you've clicked on as the new selected tile for future placement.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@977 c613c5cb-e716-0410-b11b-feb51c14d237
2010-10-14 00:59:11 +00:00
Nathan Curtis 2cf9d3abe0 That's odd... I'm not entirely sure why that compiled.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@976 c613c5cb-e716-0410-b11b-feb51c14d237
2010-10-12 23:24:26 +00:00
Mike Thomas 46e68dc0c0 After changing our bounds, we should really rethink whether we actually have the appropriate blocks resolved.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@975 c613c5cb-e716-0410-b11b-feb51c14d237
2010-10-12 17:36:40 +00:00
Bruno Garcia 3db0d26f8f DRY tweak.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@974 c613c5cb-e716-0410-b11b-feb51c14d237
2010-10-06 21:08:11 +00:00
Mike Thomas 0e25741292 Restore the editor's log to its previous splendor.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@973 c613c5cb-e716-0410-b11b-feb51c14d237
2010-10-06 18:16:56 +00:00
Andrzej Kapolka 140677fe71 Added missing import.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@972 c613c5cb-e716-0410-b11b-feb51c14d237
2010-10-05 21:37:49 +00:00
Mike Thomas 2aefe741ad Gah, these go with my last commit about handling server/client simultaneous moves.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@971 c613c5cb-e716-0410-b11b-feb51c14d237
2010-10-05 21:27:58 +00:00
Mike Thomas 9fe0c6f082 Fix a bug where the client & server happen to attempt to change location nearly simultaneously.
Rather than ignoring all forced moves from the server, let's instead ignore those which are truly duplicates of our pending move, but merely postpone those which are a separate move until our pending move is complete.

(This works very similarly to the change to LocationDirector in narya)

Relatedly, if a portal traversal is ignored due to staleness (again, due to near-simultaneous client & server moves), tell the client about it so that it doesn't wait around forever thinking it's got a pending move in progress.



git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@970 c613c5cb-e716-0410-b11b-feb51c14d237
2010-10-05 20:56:24 +00:00
Mike Thomas 45a8ad9a03 Need to save the scene director's pendingdata across a server-switch logoff/logon cycle when the user is moving via a zone move.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@967 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-31 20:09:54 +00:00
Mike Thomas aa406c1e45 Actually remove the character sprite from the scene rather than just from our list.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@966 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-31 17:30:52 +00:00
Charlie Groves 792dfe3ab1 We're fine with the class filling in default values outside of a constructor
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@965 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-31 01:22:07 +00:00
Mike Thomas 504ff8d366 Remove unused imports.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@964 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-30 17:15:52 +00:00
Bruno Garcia 8d2a42ff22 Pull out rating calculation to allow use outside of RatingDelegate.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@963 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-27 22:30:14 +00:00
Mike Thomas 77e9cfce00 Wire up handling of clicking on portals.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@962 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-27 21:32:46 +00:00
Mike Thomas 338309d543 Let's make StageLocation's clone() actually clone it.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@961 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-27 20:49:43 +00:00
Mike Thomas 32a348fa2c Wire up so descendants can do something when sprites are clicked.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@960 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-18 20:23:00 +00:00
Mike Thomas 7884435cd1 Since rendering the sprite itself isn't good enough to trigger the scene to re-render, let's directly check whether we've updated the sprites and if any have, we'll rerender the object IsoScene
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@959 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-17 18:38:49 +00:00
Mike Thomas 51bb948925 Register the character sprite appropriately so we can be hit-test against on mouseover.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@958 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-17 17:07:38 +00:00
Mike Thomas d3840b6f58 Using the new mouse-pointing-at stuff from nenya, let's have portals that we're not pointing at below the objects just like in java.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@957 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-14 05:10:39 +00:00
Mike Thomas 3982bdd7a2 Use the smooth centering of MisoScenePanel
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@956 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-13 23:29:58 +00:00
Mike Thomas 155b0bf2d6 When you arrive where you were walking, recenter the view.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@955 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-13 21:15:30 +00:00
Mike Thomas a1ebef955c We're doing pathing now, so follow along with nenya's changes.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@954 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-13 20:29:10 +00:00
Mike Thomas 976b044aaa Follow move of Ticker.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@953 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-11 22:06:07 +00:00
Mike Thomas 3d0615cedd Use the Ticker to handle the ticking of the underlying character sprites.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@952 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-11 20:10:48 +00:00
Dave Hoover 69577bb939 Whitespace
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@951 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-11 18:09:36 +00:00