On Tue, 15 Jul 2014 09:32:07 +0930
"Michael T. Pope" <mp...@computer.org> wrote:
> That is probably relatively easy.

I had a closer look at the code and predictably its not that easy.
The unit to display is dependent of the current active unit, which is
a client-side variable.  Sorting would have to be done on the server,
so there is a showstopper.  Nevertheless MapViewer.getUnitInFront is
ripe for optimization.  We certainly do not have to calculate defence
power if the active unit is not able to attack anything.  However, as
you correctly state, this is not worth doing at this stage of the
release cycle.

Cheers,
Mike Pope

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Freecol-developers mailing list
Freecol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freecol-developers

Reply via email to