Commit Graph

947 Commits

Author SHA1 Message Date
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
Mike Thomas adeb3054d4 Make the zone handling appropriately peer-aware. It's worth noting that due to adding moveRequiresServerSwitch() to ZoneService, this will break some things which use this.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@913 c613c5cb-e716-0410-b11b-feb51c14d237
2010-05-27 20:30:53 +00:00
Mark Johnson c01ff63cd6 - Rolled back r911 since it broke the build, I'm not sure if mike noticed it was busted, but
he's gone for today, and I need ooo-libs building


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@912 c613c5cb-e716-0410-b11b-feb51c14d237
2010-05-26 01:29:30 +00:00
Mike Thomas a0add19c9d Enable vilya building as versions of its services from genservice, and check in the ones that hadn't previously been committed.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@911 c613c5cb-e716-0410-b11b-feb51c14d237
2010-05-25 20:51:13 +00:00
Mike Thomas a996cf60c8 Add Zone handling to vilya's actionscript side to go with scene handling. Also, handle SceneDirector's forcedMove in the same way the java side does in the face of already pending moves.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@910 c613c5cb-e716-0410-b11b-feb51c14d237
2010-05-25 20:46:23 +00:00
Dave Hoover 42fd385710 Include jar for JSR-250
The @Generated annotation showed up in JSR-250 and then was bundled into
Java 1.6. For those of us stuck in a 1.5 world, there's fortunately a
nice tiny little jar with the necessary classes, so slurp that in.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@909 c613c5cb-e716-0410-b11b-feb51c14d237
2010-04-08 21:24:37 +00:00
Dave Hoover 9c8a3dda8d Remove trailing whitespace/unused imports
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@908 c613c5cb-e716-0410-b11b-feb51c14d237
2010-04-07 20:32:04 +00:00
Dave Hoover ec4b19e7c9 Run generators
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@907 c613c5cb-e716-0410-b11b-feb51c14d237
2010-04-07 20:32:02 +00:00
Charlie Groves 83b1dabc36 Redundant super interface
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@906 c613c5cb-e716-0410-b11b-feb51c14d237
2010-04-01 23:06:59 +00:00