[Freeciv-Dev] (PR#40648) [Editor] Player gold editable property

2009-01-08 Thread Madeline Book
http://bugs.freeciv.org/Ticket/Display.html?id=40648 > Implements a property for modifying the amount of gold in the player's treasury. Arbitrary maximum of 100. ;) --- もう少しお金はどうですか。 client/gui-gtk-2.0/editprop.c | 17 ++

[Freeciv-Dev] (PR#40647) Helptext when effect is not explicit

2009-01-08 Thread Daniel Markstedt
http://bugs.freeciv.org/Ticket/Display.html?id=40647 > Tested in S2_1 The 'Empire_Size_Mod' effect for a government generates a helptext that says: * The first unhappy citizen in each city due to civilization size will appear when you have X cities. This effect is a negative number, and th

[Freeciv-Dev] Empire size effects

2009-01-08 Thread Daniel Markstedt
I was looking through the default effects.ruleset in S2_1 and noticed something that looks like a discrepancy: Communism doesn't have a Empire_Size_Step effect. Is this intended, or an overight? Daniel ___ Freeciv-dev mailing list Freeciv-dev@gna.org h

[Freeciv-Dev] (PR#40646) Use XOR for selection rectangle drawing

2009-01-08 Thread Madeline Book
http://bugs.freeciv.org/Ticket/Display.html?id=40646 > Attached patch changes the selection rectangle drawing code to use xor instead overwriting pixel values. This means that it can be erased by just drawing over itself again, rather than redrawing all of the sprites at all of the tiles that it

[Freeciv-Dev] (PR#40643) Bug: Granary but food not half full after shrink

2009-01-08 Thread Madeline Book
http://bugs.freeciv.org/Ticket/Display.html?id=40643 > > [bart.demey...@esperanto.be - Thu Jan 08 20:11:15 2009]: > > freeciv version 2.1.5 > Ubuntu 8.10 > > In my first cities I build first a granary, when I afterwords > build a settler my food is for example 5/20, while it should > at least b

[Freeciv-Dev] (PR#40644) [Patch] Iteration support to scripting

2009-01-08 Thread Madeline Book
http://bugs.freeciv.org/Ticket/Display.html?id=40644 > > [cazf...@gmail.com - Thu Jan 08 20:25:03 2009]: > > Attached patch adds support to iterate though players, cities, and > units to lua scripting. > > I decided not to use iterator objects with all the memory handling > they would require

[Freeciv-Dev] (PR#40643) Bug: Granary but food not half full after shrink

2009-01-08 Thread Bart Demeyere
http://bugs.freeciv.org/Ticket/Display.html?id=40643 > freeciv version 2.1.5 Ubuntu 8.10 In my first cities I build first a granary, when I afterwords build a settler my food is for example 5/20, while it should at least be 10/20. When the city grows, it rightfully goes to 15/30. Bart

[Freeciv-Dev] (PR#40644) [Patch] Iteration support to scripting

2009-01-08 Thread Marko Lindqvist
http://bugs.freeciv.org/Ticket/Display.html?id=40644 > Attached patch adds support to iterate though players, cities, and units to lua scripting. I decided not to use iterator objects with all the memory handling they would require. Instead, script can call iterate_[players|cities|units]() and

[Freeciv-Dev] (PR#40642) [Patch] Fix borders saving

2009-01-08 Thread Marko Lindqvist
http://bugs.freeciv.org/Ticket/Display.html?id=40642 > This patch restores saving of border information in a 2.1 savegame compatible way. In fact, code is basically copied from S2_1 and modified just a bit. In general, borders rewrite is producing quite similar borders system what we had in 2.1.

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

2009-01-08 Thread Marko Lindqvist
http://bugs.freeciv.org/Ticket/Display.html?id=40607 > > [guest - Wed Jan 07 22:25:51 2009]: > > > [cazf...@gmail.com - Mi 07. Jan 2009, 18:43:54]: > > /* > >* Note: If you add a new event, make sure you make a similar > change > >* to the events array in common/events.c using GEN_EV,

Re: [Freeciv-Dev] (PR#40629) [Patch] Border info to master map

2009-01-08 Thread Marko Lindqvist
http://bugs.freeciv.org/Ticket/Display.html?id=40629 > 2009/1/6 Marko Lindqvist: > > This patch moves border handling from player maps (and vision sites) > to master map. - Compile fix - Fixed city transfer - ML MainmapBorders_40629-3.diff.bz2 Description: BZip2 compressed data

Re: [Freeciv-Dev] (PR#40641) Cities in player cities list even when owned by someone else

2009-01-08 Thread Marko Lindqvist
http://bugs.freeciv.org/Ticket/Display.html?id=40641 > 2009/1/8 Marko Lindqvist: > > Check from sanitycheck.c:477 is failing for some autogames. It means > that some city is in players cities list, but is owned by someone > else. Ignore this. It was accidentally removed line in my own patch.

[Freeciv-Dev] (PR#40641) Cities in player cities list even when owned by someone else

2009-01-08 Thread Marko Lindqvist
http://bugs.freeciv.org/Ticket/Display.html?id=40641 > Check from sanitycheck.c:477 is failing for some autogames. It means that some city is in players cities list, but is owned by someone else. I have some patches applied, but I don't see how they could affect this, except by allowing game t

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

2009-01-08 Thread Marko Lindqvist
http://bugs.freeciv.org/Ticket/Display.html?id=40177 > 2009/1/8 Madeline Book: > Maybe dummy.c could be renamed civclient.c and the > existing civclient.[ch] renamed to client.[ch]? Or > perhaps client_main.[ch] would be a better name, > since there is already "clinet". It's just that > calling i

Re: [Freeciv-Dev] (PR#40629) [Patch] Border info to master map

2009-01-08 Thread Marko Lindqvist
http://bugs.freeciv.org/Ticket/Display.html?id=40629 > 2009/1/6 Marko Lindqvist: > > This patch moves border handling from player maps (and vision sites) > to master map. Fixed a number of bugs - ML MainmapBorders_40629-2.diff.bz2 Description: BZip2 compressed data __