Re: [Freecol-developers] Rivers on Hills

2014-01-06 Thread Michael Vehrs
On 01/07/2014 01:59 AM, Michael T. Pope wrote: > On Tue, 07 Jan 2014 01:16:31 +0100 > LoneVVolf wrote: >> ...do you want me to open a feature request ? > Only if you can show that Col1 generated maps included hills with rivers. > If not, I am inclined to just regard it as a quirk of their map edit

Re: [Freecol-developers] addNewUnitToTile

2014-01-06 Thread Thue Janus Kristensen
That makes sense - reconnecting creating a new game... thanks! Regards, Thue 2014/1/7 Michael T. Pope > I hit "send" on the previous post, returned to the window with the code > open, and saw the bug. After calling reconnect(), the variable "game" is > still referring to the old version of th

Re: [Freecol-developers] addNewUnitToTile

2014-01-06 Thread Michael T. Pope
I hit "send" on the previous post, returned to the window with the code open, and saw the bug. After calling reconnect(), the variable "game" is still referring to the old version of the game, not the updated one with the new unit added. Just reloading the game from freeColClient fixes the bug (g

Re: [Freecol-developers] addNewUnitToTile

2014-01-06 Thread Michael T. Pope
On Tue, 7 Jan 2014 04:06:49 +0100 Thue Janus Kristensen wrote: > I did try to find it. It seems like there are several versions > of FreeColGameObjects, possible in their own threads? > > Is there an introduction to the overall FreeCol design? Only the code. Several people have said it would be

Re: [Freecol-developers] addNewUnitToTile

2014-01-06 Thread Thue Janus Kristensen
I did try to find it. It seems like there are several versions of FreeColGameObjects, possible in their own threads? Is there an introduction to the overall FreeCol design? Threading, client-server model? Regards, Thue 2014/1/7 Michael T. Pope > On Tue, 7 Jan 2014 03:12:52 +0100 > Thue Janus

Re: [Freecol-developers] addNewUnitToTile

2014-01-06 Thread Michael T. Pope
On Tue, 7 Jan 2014 03:12:52 +0100 Thue Janus Kristensen wrote: > I am trying to figure out why a newly added unit via the debug interface > (right click on tile, add unit) is not getting getting focus. > > game.getFreeColGameObject(sUnit.getId(), Unit.class); on DebugUtils.java > line ~378 return

[Freecol-developers] addNewUnitToTile

2014-01-06 Thread Thue Janus Kristensen
I am trying to figure out why a newly added unit via the debug interface (right click on tile, add unit) is not getting getting focus. game.getFreeColGameObject(sUnit.getId(), Unit.class); on DebugUtils.java line ~378 returns null. Why? Regards, Thue --

Re: [Freecol-developers] Rivers on Hills

2014-01-06 Thread Michael T. Pope
On Tue, 07 Jan 2014 01:16:31 +0100 LoneVVolf wrote: > ...do you want me to open a feature request ? Only if you can show that Col1 generated maps included hills with rivers. If not, I am inclined to just regard it as a quirk of their map editor. Cheers, Mike Pope signature.asc Description: PGP

[Freecol-developers] Rivers on Hills

2014-01-06 Thread LoneVVolf
Hi, during some experiments with Col1 v3 mapeditor (related to getting resource output data) I noticed it was possible to add rivers to hills. The Freecol map editor / map generator don't allow adding of rivers to hills afaik. Is this intentional or an oversight ? If an oversight, do you want m

[Freecol-developers] Dual monitor bugs

2014-01-06 Thread Thue Janus Kristensen
I had some annoyances with my dual monitor setup. And made a patch to fix them: -Freecol now prefers to start on the monitor where the mouse cursor is, instead of always on the primary screen. -Don't always reserve 32 pixels for insets when fullscreening, a secondary monitor can have zero inserts.