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
Dave Hoover
4e9d20e6d5
Typoo
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@950 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-11 18:09:36 +00:00
Dave Hoover
66ec924675
Use StreamableArrayList.newList()
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@949 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-11 18:09:34 +00:00
Mike Thomas
fa558d11ae
Fancier iso sprites for the character - let the scene panel extension define the display object to show.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@948 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-10 23:46:34 +00:00
Mike Thomas
9199f4ccc7
This can handle any type of tileset it can get base sizes out of.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@947 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-10 22:55:20 +00:00
Mike Thomas
49e6887358
A few bits I'd marked as part of the pathing overhaul that I can just get now.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@946 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-10 03:59:48 +00:00
Mike Thomas
2ab5d2dbbe
Fix some bugs causing occupant updates to get lost.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@945 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-10 03:42:33 +00:00
Mike Thomas
ea5b4e7959
Checkpoint commit wiring up a CrowdStageScenePanel that handles Occupant locations and making a sprite for them on the screen. Lots of TODOs still in this stuff, esp. related to Pathing.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@944 c613c5cb-e716-0410-b11b-feb51c14d237
2010-08-06 05:23:59 +00:00
Ray Greenwell
607d85ff9b
Prefer StringBuilder where possible.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@943 c613c5cb-e716-0410-b11b-feb51c14d237
2010-07-22 01:20:12 +00:00
Ray Greenwell
2ee6ddb355
Rather than put things in a HashSet and then use the "sorted iterator", which
...
really copies everything to an ArrayList and sorts it,
let's just throw the elements into a TreeSet and iterate over that.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@942 c613c5cb-e716-0410-b11b-feb51c14d237
2010-07-19 18:57:22 +00:00
Mike Thomas
c2c2631435
Remove some debug printouts.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@941 c613c5cb-e716-0410-b11b-feb51c14d237
2010-07-16 18:32:44 +00:00
Mike Thomas
fc2a13f1be
Add in portal support in AS Stage panel.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@940 c613c5cb-e716-0410-b11b-feb51c14d237
2010-07-16 05:54:36 +00:00
Ray Greenwell
50e4daaf0c
Use ComparisonChain here.
...
Does anyone know if these colorization names can indeed be null?
Otherwise we can remove the null-safe comparator.
It was previously calling ObjectUtil.compareTo() which leads
me to think it needed null-safety.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@939 c613c5cb-e716-0410-b11b-feb51c14d237
2010-07-14 21:02:21 +00:00
Ray Greenwell
0a0a658c94
Prefer guava over samskivert.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@938 c613c5cb-e716-0410-b11b-feb51c14d237
2010-07-14 20:43:13 +00:00
Dave Hoover
dc789fc46d
In with the new logging
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@937 c613c5cb-e716-0410-b11b-feb51c14d237
2010-07-09 23:33:56 +00:00
Mike Thomas
b7f8279245
Match the related nenya change to MisoScenePanel
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@936 c613c5cb-e716-0410-b11b-feb51c14d237
2010-07-09 23:28:36 +00:00
Mike Thomas
7272ec222a
As part of the second pass on AS recoloring, setup recoloring scenes appropriately.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@935 c613c5cb-e716-0410-b11b-feb51c14d237
2010-07-07 18:05:54 +00:00
Charlie Groves
338f292e6f
a) Why didn't ack find this for me?
...
b) How do we have this much fucking code?
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@934 c613c5cb-e716-0410-b11b-feb51c14d237
2010-06-28 20:09:54 +00:00
Par Winzell
bd132e83b0
Let's not explicitly require an IntSet here either.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@933 c613c5cb-e716-0410-b11b-feb51c14d237
2010-06-22 16:17:19 +00:00
Dave Hoover
3536e0225a
That should be private.
...
If it's public, we try to shadow it in a subclass & wind up still
getting THIS one.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@932 c613c5cb-e716-0410-b11b-feb51c14d237
2010-06-18 23:40:19 +00:00
Dave Hoover
4f6a3767fd
Like getPendingModel, cope if there's no _pendingData
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@931 c613c5cb-e716-0410-b11b-feb51c14d237
2010-06-18 23:40:18 +00:00
Mike Thomas
b9a8ea6454
Use the modified nenya Miso bits.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@930 c613c5cb-e716-0410-b11b-feb51c14d237
2010-06-16 22:57:16 +00:00
Dave Hoover
aeecc32e38
Slay some cyclopian variables.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@929 c613c5cb-e716-0410-b11b-feb51c14d237
2010-06-15 17:27:37 +00:00
Dave Hoover
e686402a46
Whitespace
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@928 c613c5cb-e716-0410-b11b-feb51c14d237
2010-06-15 17:27:35 +00:00
Dave Hoover
f6cbcc2642
Fix syntax
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@927 c613c5cb-e716-0410-b11b-feb51c14d237
2010-06-11 22:57:29 +00:00
Mike Thomas
1f9cf2beca
Don't NPE when we have a missing color class in the list, instead, return -1 to emulate the old IntIntMap behavior.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@926 c613c5cb-e716-0410-b11b-feb51c14d237
2010-06-11 18:00:09 +00:00
Ray Greenwell
2e3d310f7f
Switch to compiling against the aspirin library.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@925 c613c5cb-e716-0410-b11b-feb51c14d237
2010-06-09 20:51:54 +00:00
Mike Thomas
6d2213c010
A little more of stage lib into actionscript.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@924 c613c5cb-e716-0410-b11b-feb51c14d237
2010-06-08 17:43:39 +00:00
Mike Thomas
94a021008e
Initial port of stage data (and some stub client bits) from java to actionscript.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@923 c613c5cb-e716-0410-b11b-feb51c14d237
2010-06-08 01:53:34 +00:00
Mike Thomas
4f739b8bfe
Incorporate the fixes from the java side to make actionscript handle the not-yet-cached scene case correctly.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@922 c613c5cb-e716-0410-b11b-feb51c14d237
2010-06-08 01:52:35 +00:00
Mike Thomas
2c680a0c40
Make vilya's preptools target work like narya's.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@921 c613c5cb-e716-0410-b11b-feb51c14d237
2010-06-08 01:49:40 +00:00
Mike Thomas
9e9ac7f2d3
Change a StreamableIntIntMap into a more standard StreamableHashMap
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@920 c613c5cb-e716-0410-b11b-feb51c14d237
2010-06-08 01:42:12 +00:00
Mike Thomas
5959f4e2d9
Split up some of the calls involved in resolving peered zones to make them easier to override.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@919 c613c5cb-e716-0410-b11b-feb51c14d237
2010-06-01 23:49:38 +00:00
Andrzej Kapolka
04780afe31
Let's make this work like SceneMoveHandler: if for some reason the client
...
has a *newer* version of the scene than the server, we assume it's an error
and make them redownload the full scene.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@918 c613c5cb-e716-0410-b11b-feb51c14d237
2010-05-31 02:37:17 +00:00
Andrzej Kapolka
e320f8fca2
That worked great for those of us with some version of the scene
...
already cached, but what about those poor new folks?
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@917 c613c5cb-e716-0410-b11b-feb51c14d237
2010-05-28 01:19:42 +00:00
Mike Thomas
fb3c4d73fb
Okay fine, it wants ObjectInfo still, and we don't have it in actionscript. So, let's take that away once again.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@916 c613c5cb-e716-0410-b11b-feb51c14d237
2010-05-27 23:29:40 +00:00
Mike Thomas
b206917ee7
Restoring the only part of r911 that it turns out I actually wanted in the first place. And even that I'm not using yet.
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@915 c613c5cb-e716-0410-b11b-feb51c14d237
2010-05-27 21:07:38 +00:00
Dave Hoover
87d851a6f9
Those override things
...
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@914 c613c5cb-e716-0410-b11b-feb51c14d237
2010-05-27 20:37:17 +00:00