Re: [Freeciv-Dev] (PR#40630) [Patch] Borders radius to ruleset

2009-01-07 Thread Marko Lindqvist
http://bugs.freeciv.org/Ticket/Display.html?id=40630 > 2009/1/6 Marko Lindqvist : > > This patch moves borders radius information to game.ruleset. Server > option now only selects borders mode (currently disabled/enabled). > > In addition to borders base radius, ruleset has definition of how fast

[Freeciv-Dev] (PR#40633) [Patch] Border radius property for bases

2009-01-07 Thread Marko Lindqvist
http://bugs.freeciv.org/Ticket/Display.html?id=40633 > Currently bases have only "ClaimTerritory" flag indicating if they should claim territory or not. Hardcoded border radius of 5 is used for all bases that do. Attached patch replaces ClaimTerritory flag with border radius property for each

[Freeciv-Dev] (PR#40634) [Patch] Defense bonus property for bases

2009-01-07 Thread Marko Lindqvist
http://bugs.freeciv.org/Ticket/Display.html?id=40634 > This patch adds separate defense_bonus value for each base type. "DefenseBonus" flag is removed and so is global definition of fortress_defense_bonus. If several bases at the same tile provide defense bonus for unit, sum of these is used (us

[Freeciv-Dev] (PR#40635) [Patch] Bases acting as bridge over non-native terrain

2009-01-07 Thread Marko Lindqvist
http://bugs.freeciv.org/Ticket/Display.html?id=40635 > This patch adds "NativeTile" base type flag. Tile where such base is, is considered native for those units that base affects (as told by bases native_to field). This is not used in official rulesets. Of the unofficial rulesets, at least Al

Re: [Freeciv-Dev] (PR#40633) [Patch] Border radius property for bases

2009-01-07 Thread Marko Lindqvist
http://bugs.freeciv.org/Ticket/Display.html?id=40633 > 2009/1/7 Marko Lindqvist: > > Currently bases have only "ClaimTerritory" flag indicating if they > should claim territory or not. Hardcoded border radius of 5 is used > for all bases that do. > > Attached patch replaces ClaimTerritory flag

[Freeciv-Dev] (PR#40636) [Patch] Vision property to bases

2009-01-07 Thread Marko Lindqvist
http://bugs.freeciv.org/Ticket/Display.html?id=40636 > This patch adds vision range property to bases. Vision is given to player who owns the tile where base is. Applies on top of #40635 - ML diff -Nurd -X.diff_ignore freeciv/common/base.h freeciv/common/base.h --- freeciv/common/base.h

[Freeciv-Dev] (PR#40632) server crashes in auto_arrange_workers

2009-01-07 Thread Oliver Burghard
http://bugs.freeciv.org/Ticket/Display.html?id=40632 > Freeciv server is crashing on my linux. reproduction: start a game and create a city. When the first city of user or ai is created the server crashes. version (both): freeciv-2.1.8 build from sources freeciv-2.1.8 prebuild fedora package

Re: [Freeciv-Dev] (PR#40632) AutoReply: server crashes in auto_arrange_workers

2009-01-07 Thread Oliver Burghard
http://bugs.freeciv.org/Ticket/Display.html?id=40632 > I tested the actual svn version on my system which runs without crashes. thanks Am Mittwoch, den 07.01.2009, 04:17 -0800 schrieb The default queue: > Greetings, > > This message has been automatically generated in response to the > creat

Re: [Freeciv-Dev] (PR#40637) [Patch] Buoy

2009-01-07 Thread Brandon J. Van Every
http://bugs.freeciv.org/Ticket/Display.html?id=40637 > On Wed, Jan 7, 2009 at 12:27 PM, Marko Lindqvist wrote: > > - It doesn't detect submarines as it only sees vision layer V_MAIN What a crappy buoy then! I mean, come on, what's a real sonar buoy for... Cheers, Brandon Van Every ___

Re: [Freeciv-Dev] (PR#40607) City Health patch

2009-01-07 Thread Marko Lindqvist
http://bugs.freeciv.org/Ticket/Display.html?id=40607 > 2008/12/21 Yoav Luft: > > Hi, I think it's pretty much finished, at least the basic functionality. > The attached .diff file adds the functionality of cities losing > population when they grow too large due to diseases. I found additional c

[Freeciv-Dev] (PR#40610) auto_arrange_workers: Assertion `cmr.found_a_valid' failed.

2009-01-07 Thread Madeline Book
http://bugs.freeciv.org/Ticket/Display.html?id=40610 > > [oliverburgh...@web.de - Wed Jan 07 12:17:16 2009]: > > > Freeciv server is crashing on my linux. > > reproduction: > start a game and create a city. When the first city of user or ai is > created the server crashes. > > version (both):

Re: [Freeciv-Dev] (PR#40637) [Patch] Buoy

2009-01-07 Thread Marko Lindqvist
http://bugs.freeciv.org/Ticket/Display.html?id=40637 > 2009/1/7 Brandon J. Van Every: > I mean, come on, what's a real sonar buoy for... Got better name for this thing? Gameplay wise I don't like the idea of basically removing submarines special power of being hard to detect. Lesser problem

[Freeciv-Dev] (PR#40638) [Patch] Vision_site cleanup

2009-01-07 Thread Marko Lindqvist
http://bugs.freeciv.org/Ticket/Display.html?id=40638 > As borders handling is removed from vision_site, some vision_site stuff turns unused. Attached patch removes those unused parts. - ML diff -Nurd -X.diff_ignore freeciv/common/player.c freeciv/common/player.c --- freeciv/common/player.c

[Freeciv-Dev] (PR#40639) [Patch] Border mode to reveal tiles

2009-01-07 Thread Marko Lindqvist
http://bugs.freeciv.org/Ticket/Display.html?id=40639 > This patch adds another borders mode. With this mode borders extend to unknown tiles and reveal those (in addition to providing vision to already known tiles) - ML diff -Nurd -X.diff_ignore freeciv/common/game.h freeciv/common/game.h ---

Re: [Freeciv-Dev] (PR#40637) [Patch] Buoy

2009-01-07 Thread Brandon J. Van Every
http://bugs.freeciv.org/Ticket/Display.html?id=40637 > On Wed, Jan 7, 2009 at 2:15 PM, Marko Lindqvist wrote: > > http://bugs.freeciv.org/Ticket/Display.html?id=40637 > > > 2009/1/7 Brandon J. Van Every: >> I mean, come on, what's a real sonar buoy for... > > Got better name for this thing? Yo

[Freeciv-Dev] (PR#40640) [Patch] Unified client common library

2009-01-07 Thread Marko Lindqvist
http://bugs.freeciv.org/Ticket/Display.html?id=40640 > SDL uses macro magic to rename our main() as SDL_main(). This means that client common code library has different symbols when compiling SDL client than otherwise. Fixing this is step toward building multiple clients at once. Attached patc

Re: [Freeciv-Dev] (PR#40177) [Patch] Shared common library

2009-01-07 Thread Marko Lindqvist
http://bugs.freeciv.org/Ticket/Display.html?id=40177 > 2008/11/10 Marko Lindqvist: > > About status of this ticket: Some windows compilations (SDL client, > build with nls) fail with this patch. Fixed. Please test. I plan to commit this version if nobody reports problems. - ML diff -Nurd

[Freeciv-Dev] (PR#40610) auto_arrange_workers: Assertion `cmr.found_a_valid' failed.

2009-01-07 Thread Madeline Book
http://bugs.freeciv.org/Ticket/Display.html?id=40610 > > [guest - Wed Jan 07 23:12:40 2009]: > > I am using gcc 4.3.2, > but by using "-O1" it works - thanks. This is strange. I thought the assertion was being triggered due to miscompiled code caused by a bug in gcc 4.2, that has since been fix

[Freeciv-Dev] (PR#40177) [Patched] Shared common library

2009-01-07 Thread Madeline Book
http://bugs.freeciv.org/Ticket/Display.html?id=40177 > > [cazf...@gmail.com - Thu Jan 08 00:15:25 2009]: > > 2008/11/10 Marko Lindqvist: > > > > About status of this ticket: Some windows compilations (SDL > > client, build with nls) fail with this patch. > > Fixed. > > Please test. I plan to c