3d3a232609
We do that math a lot, so make helpers & trust the compiler to optimize.
Dave Hoover
2010-10-15 20:15:37 +00:00
9e609a57ef
Ignore Ant runtime libraries.
Michael Bayne
2010-10-14 16:42:51 +00:00
f61338ec1d
No longer need to pass a MessageManager when constructing the ChatDirector.
Michael Bayne
2010-10-14 15:53:05 +00:00
028b55b461
Get tools from narya-tools-full, but keep it out of our normal classpath.
Michael Bayne
2010-10-14 01:01:10 +00:00
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.
Mike Thomas
2010-10-14 00:59:11 +00:00
2cf9d3abe0
That's odd... I'm not entirely sure why that compiled.
Nathan Curtis
2010-10-12 23:24:26 +00:00
46e68dc0c0
After changing our bounds, we should really rethink whether we actually have the appropriate blocks resolved.
Mike Thomas
2010-10-12 17:36:40 +00:00
3db0d26f8f
DRY tweak.
Bruno Garcia
2010-10-06 21:08:11 +00:00
0e25741292
Restore the editor's log to its previous splendor.
Mike Thomas
2010-10-06 18:16:56 +00:00
140677fe71
Added missing import.
Andrzej Kapolka
2010-10-05 21:37:49 +00:00
2aefe741ad
Gah, these go with my last commit about handling server/client simultaneous moves.
Mike Thomas
2010-10-05 21:27:58 +00:00
9fe0c6f082
Fix a bug where the client & server happen to attempt to change location nearly simultaneously.
Mike Thomas
2010-10-05 20:56:24 +00:00
86a348222f
Wrong "its"
Dave Hoover
2010-09-17 20:39:39 +00:00
f73c6e2d5c
IDEA module files. You'll need to name your SDK 'Flex SDK (player 9)' for these to work. I have eschewed modules exporting the modules they depend on forward; partly because this doesn't work right for Flex compilation anyway, and partly because we do explicit dependencies everywhere else, so why not here? Each module explicitly lists the libraries and modules on which it depends.
Par Winzell
2010-09-09 17:24:22 +00:00
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.
Mike Thomas
2010-08-31 20:09:54 +00:00
aa406c1e45
Actually remove the character sprite from the scene rather than just from our list.
Mike Thomas
2010-08-31 17:30:52 +00:00
792dfe3ab1
We're fine with the class filling in default values outside of a constructor
Charlie Groves
2010-08-31 01:22:07 +00:00
504ff8d366
Remove unused imports.
Mike Thomas
2010-08-30 17:15:52 +00:00
8d2a42ff22
Pull out rating calculation to allow use outside of RatingDelegate.
Bruno Garcia
2010-08-27 22:30:14 +00:00
77e9cfce00
Wire up handling of clicking on portals.
Mike Thomas
2010-08-27 21:32:46 +00:00
338309d543
Let's make StageLocation's clone() actually clone it.
Mike Thomas
2010-08-27 20:49:43 +00:00
32a348fa2c
Wire up so descendants can do something when sprites are clicked.
Mike Thomas
2010-08-18 20:23:00 +00:00
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
Mike Thomas
2010-08-17 18:38:49 +00:00
51bb948925
Register the character sprite appropriately so we can be hit-test against on mouseover.
Mike Thomas
2010-08-17 17:07:38 +00:00
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.
Mike Thomas
2010-08-14 05:10:39 +00:00
3982bdd7a2
Use the smooth centering of MisoScenePanel
Mike Thomas
2010-08-13 23:29:58 +00:00
155b0bf2d6
When you arrive where you were walking, recenter the view.
Mike Thomas
2010-08-13 21:15:30 +00:00
a1ebef955c
We're doing pathing now, so follow along with nenya's changes.
Mike Thomas
2010-08-13 20:29:10 +00:00
976b044aaa
Follow move of Ticker.
Mike Thomas
2010-08-11 22:06:07 +00:00
3d0615cedd
Use the Ticker to handle the ticking of the underlying character sprites.
Mike Thomas
2010-08-11 20:10:48 +00:00
69577bb939
Whitespace
Dave Hoover
2010-08-11 18:09:36 +00:00
4e9d20e6d5
Typoo
Dave Hoover
2010-08-11 18:09:36 +00:00
66ec924675
Use StreamableArrayList.newList()
Dave Hoover
2010-08-11 18:09:34 +00:00
fa558d11ae
Fancier iso sprites for the character - let the scene panel extension define the display object to show.
Mike Thomas
2010-08-10 23:46:34 +00:00
9199f4ccc7
This can handle any type of tileset it can get base sizes out of.
Mike Thomas
2010-08-10 22:55:20 +00:00
49e6887358
A few bits I'd marked as part of the pathing overhaul that I can just get now.
Mike Thomas
2010-08-10 03:59:48 +00:00
2ab5d2dbbe
Fix some bugs causing occupant updates to get lost.
Mike Thomas
2010-08-10 03:42:33 +00:00
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.
Mike Thomas
2010-08-06 05:23:59 +00:00
607d85ff9b
Prefer StringBuilder where possible.
Ray Greenwell
2010-07-22 01:20:12 +00:00
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.
Ray Greenwell
2010-07-19 18:57:22 +00:00
c2c2631435
Remove some debug printouts.
Mike Thomas
2010-07-16 18:32:44 +00:00
fc2a13f1be
Add in portal support in AS Stage panel.
Mike Thomas
2010-07-16 05:54:36 +00:00
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.
Ray Greenwell
2010-07-14 21:02:21 +00:00
0a0a658c94
Prefer guava over samskivert.
Ray Greenwell
2010-07-14 20:43:13 +00:00
dc789fc46d
In with the new logging
Dave Hoover
2010-07-09 23:33:56 +00:00
b7f8279245
Match the related nenya change to MisoScenePanel
Mike Thomas
2010-07-09 23:28:36 +00:00
7272ec222a
As part of the second pass on AS recoloring, setup recoloring scenes appropriately.
Mike Thomas
2010-07-07 18:05:54 +00:00
338f292e6f
a) Why didn't ack find this for me? b) How do we have this much fucking code?
Charlie Groves
2010-06-28 20:09:54 +00:00
bd132e83b0
Let's not explicitly require an IntSet here either.
Par Winzell
2010-06-22 16:17:19 +00:00
3536e0225a
That should be private.
Dave Hoover
2010-06-18 23:40:19 +00:00
4f6a3767fd
Like getPendingModel, cope if there's no _pendingData
Dave Hoover
2010-06-18 23:40:18 +00:00
b9a8ea6454
Use the modified nenya Miso bits.
Mike Thomas
2010-06-16 22:57:16 +00:00
aeecc32e38
Slay some cyclopian variables.
Dave Hoover
2010-06-15 17:27:37 +00:00
e686402a46
Whitespace
Dave Hoover
2010-06-15 17:27:35 +00:00
f6cbcc2642
Fix syntax
Dave Hoover
2010-06-11 22:57:29 +00:00
1f9cf2beca
Don't NPE when we have a missing color class in the list, instead, return -1 to emulate the old IntIntMap behavior.
Mike Thomas
2010-06-11 18:00:09 +00:00
2e3d310f7f
Switch to compiling against the aspirin library.
Ray Greenwell
2010-06-09 20:51:54 +00:00
6d2213c010
A little more of stage lib into actionscript.
Mike Thomas
2010-06-08 17:43:39 +00:00
94a021008e
Initial port of stage data (and some stub client bits) from java to actionscript.
Mike Thomas
2010-06-08 01:53:34 +00:00
4f739b8bfe
Incorporate the fixes from the java side to make actionscript handle the not-yet-cached scene case correctly.
Mike Thomas
2010-06-08 01:52:35 +00:00
2c680a0c40
Make vilya's preptools target work like narya's.
Mike Thomas
2010-06-08 01:49:40 +00:00
9e9ac7f2d3
Change a StreamableIntIntMap into a more standard StreamableHashMap
Mike Thomas
2010-06-08 01:42:12 +00:00
5959f4e2d9
Split up some of the calls involved in resolving peered zones to make them easier to override.
Mike Thomas
2010-06-01 23:49:38 +00:00
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.
Andrzej Kapolka
2010-05-31 02:37:17 +00:00
e320f8fca2
That worked great for those of us with some version of the scene already cached, but what about those poor new folks?
Andrzej Kapolka
2010-05-28 01:19:42 +00:00
fb3c4d73fb
Okay fine, it wants ObjectInfo still, and we don't have it in actionscript. So, let's take that away once again.
Mike Thomas
2010-05-27 23:29:40 +00:00
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.
Mike Thomas
2010-05-27 21:07:38 +00:00
87d851a6f9
Those override things
Dave Hoover
2010-05-27 20:37:17 +00:00
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.
Mike Thomas
2010-05-27 20:30:53 +00:00
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
Mark Johnson
2010-05-26 01:29:30 +00:00
a0add19c9d
Enable vilya building as versions of its services from genservice, and check in the ones that hadn't previously been committed.
Mike Thomas
2010-05-25 20:51:13 +00:00
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.
Mike Thomas
2010-05-25 20:46:23 +00:00
42fd385710
Include jar for JSR-250
Dave Hoover
2010-04-08 21:24:37 +00:00
9c8a3dda8d
Remove trailing whitespace/unused imports
Dave Hoover
2010-04-07 20:32:04 +00:00
ec4b19e7c9
Run generators
Dave Hoover
2010-04-07 20:32:02 +00:00
83b1dabc36
Redundant super interface
Charlie Groves
2010-04-01 23:06:59 +00:00
ec69dd15f7
ant genrecord.
Ray Greenwell
2010-03-24 20:12:01 +00:00
dad43e916c
If a player gets yanked out of a game during the period where everyone's arriving, we weren't noticing that they were gone and were still playing along, sending them events, etc. So, if we're in pre-game, and someone disappears, let's note that.
Mike Thomas
2010-03-18 00:30:47 +00:00
39b21ef6d6
Should be no harm in compiling against Guava instead of GC as they have the exact same API. So if you ship with GC instead of Guava, nothing will break.
Michael Bayne
2010-03-16 23:53:10 +00:00
28e24afd73
When we undo/redo in the editor, we need to ensure that our model switch gets propagated to the scene being held by the frame and info panel.
Mike Thomas
2010-03-16 16:53:11 +00:00
e4e5990361
Not sure it really matters in the editor-specific code, but this IS safer if a bit more verbose...
Mike Thomas
2010-03-11 01:27:51 +00:00
b8b1a414be
Add Undo/Redo to the Scene Editor - Rollback visibility is limited to 20 steps since it's ocpying the entire model at each step.
Mike Thomas
2010-03-11 00:54:14 +00:00
c2500248db
Make event/board seeding actually do it RIGHT
Dave Hoover
2010-02-17 04:40:34 +00:00
09dbd1c95a
@Override gets the point across
Dave Hoover
2010-02-10 20:32:49 +00:00
bee3ff77f3
Whitespace
Dave Hoover
2010-02-10 20:32:45 +00:00
038604d1d2
Make piece prediction harder.
Dave Hoover
2010-02-09 04:11:36 +00:00
fcd8a9d901
Whitespace
Dave Hoover
2010-02-09 04:11:34 +00:00
1dac539f6d
Pngcrush
Dave Hoover
2010-02-09 04:11:32 +00:00
15c3a1996d
Regenerated: DSets just clone() now.
Ray Greenwell
2010-02-04 21:49:40 +00:00
d950cd6a51
Nix redundant cast.
Ray Greenwell
2010-01-13 19:11:56 +00:00
fa3d68369f
Now-spurious casts
Dave Hoover
2010-01-13 18:52:38 +00:00
c94d387815
Reconcile the differences between SparseMisoSceneModel.clone & AuxModel.clone
Dave Hoover
2010-01-13 18:52:23 +00:00
1a254f9e1d
clone() modernization.
Ray Greenwell
2010-01-13 18:41:00 +00:00
364659116b
I swear; sometime before 2011 I'll be done stumbling across ways my copyright updating missed things
Dave Hoover
2010-01-06 01:11:24 +00:00
1b1b3782a0
Some more copyrights I'd missed
Dave Hoover
2010-01-05 22:12:02 +00:00
c3fce4be77
Make this other batch of colorizations sort on the name since it's a major PITA to have it inconsistent between the UI for scene colors and object colors.
Dave Hoover
2010-01-05 21:59:15 +00:00
2b8f68df8b
Welcome to the future.
Dave Hoover
2010-01-04 21:47:24 +00:00
e580adf522
Support tertiary & quaternary colors as added in nenya
Dave Hoover
2009-12-05 00:56:10 +00:00
3b06f339f9
This seems to be the only existing use of @Column(type=...) which is a loathsome piece of functionality that I'd like to rip out of Depot. I am not sure why we fixed on TIMESTAMP originally; only in MySQL would it make a difference at all, and I believe only Whirled uses this class?
Par Winzell
2009-10-29 15:34:12 +00:00
e0fea1c12e
Fluency--.
Michael Bayne
2009-10-04 23:26:27 +00:00