[Freeciv-Dev] [bug #20459] count_native_area() not freeing tile list

2013-01-30 Thread Marko Lindqvist
Update of bug #20459 (project freeciv):

  Status:  Ready For Test = Fixed  
 Assigned to:None = cazfi  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/bugs/?20459

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #3633] check_native_area()

2013-01-30 Thread Marko Lindqvist
URL:
  http://gna.org/patch/?3633

 Summary: check_native_area()
 Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 30 Jan 2013 12:24:13 PM EET
Category: general
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.5.0

___

Details:

Rename count_native_area() as check_native_area() and instead of counting all
the tiles in the area just check if it's suitable, breaking out as soon as
number of tiles is found to be at least the minimum.

Suggested by Jacob Nevins jtn in patch #3614




___

File Attachments:


---
Date: Wed 30 Jan 2013 12:24:13 PM EET  Name: CheckNativeArea.patch  Size: 3kB 
 By: cazfi

http://gna.org/patch/download.php?file_id=17052

___

Reply to this item at:

  http://gna.org/patch/?3633

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #3468] Metaticket: Clang clean build

2013-01-30 Thread Marko Lindqvist
Update of patch #3468 (project freeciv):

 Planned Release:   2.5.0 = 2.6.0  

___

Follow-up Comment #2:

 I don't think anybody wants to fight warnings from lua-5.1 and
 friends when we hopefully get lua-5.2 to use before 2.5 (another
 release goal?)

As lua gets build first, it's rather hard to work on this before lua is
updated. There seems to be no progress on that front. I think it's unrealistic
to expect us to take project of clang warnings fixing between lua update and
2.5.0 release.
So, let's update lua for 2.5 and target clang warning fixing to 2.6.

___

Reply to this item at:

  http://gna.org/patch/?3468

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #20029] Cimpletoon missing civ2civ3 unit Migrants

2013-01-30 Thread Marko Lindqvist
Update of bug #20029 (project freeciv):

 Summary: Cimpletoon missing civ2civ3 units = Cimpletoon
missing civ2civ3 unit Migrants


___

Reply to this item at:

  http://gna.org/bugs/?20029

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #20465] No tileset for Alien World ruleset

2013-01-30 Thread Marko Lindqvist
URL:
  http://gna.org/bugs/?20465

 Summary: No tileset for Alien World ruleset
 Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 30 Jan 2013 07:41:36 PM EET
Category: art
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: None
 Planned Release: 2.6.0

___

Details:

Alien ruleset now maintained in freeciv version control and planned to be
released as part of freeciv-2.6 has quite different terrains, units etc. from
those of the other rulesets. Yet we have no separate tileset for it. It has
_alt gfx tags set so that nromal tilesets can be technically used (to test the
ruleset), but results is ridiculous with things like Legion gfx moving on the
Oceans representing amphibious engineer unit. 




___

Reply to this item at:

  http://gna.org/bugs/?20465

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #19609] View Native Tiles city dialog

2013-01-30 Thread Marko Lindqvist
Update of bug #19609 (project freeciv):

Category:  client = art

___

Follow-up Comment #3:

Setting category to art to appear in queries about missing art.

___

Reply to this item at:

  http://gna.org/bugs/?19609

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #20428] 'g_thread_init' is deprecated

2013-01-30 Thread Matthias Pfafferodt
Follow-up Comment #5, bug #20428 (project freeciv):

sorry for the delay - yes it is fixed; see
https://build.opensuse.org/project/monitor?project=home%3Asyntron%3Afreeciv

now only bug #19975 remains

___

Reply to this item at:

  http://gna.org/bugs/?20428

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #2143] [RFC] AI interface using lua

2013-01-30 Thread Matthias Pfafferodt
Follow-up Comment #8, patch #2143 (project freeciv):

I will have to see if the old patches are still useable ...

 This cannot work correctly. (Well, it does as long as you use 
 all parts of default ai, and don't reimplement any part 
 yourself). 

Therefore my old patches for the lua ai included a complete copy of the
default ai ...

___

Reply to this item at:

  http://gna.org/patch/?2143

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #3624] Enable Nationality in classic ruleset

2013-01-30 Thread Marko Lindqvist
Update of patch #3624 (project freeciv):

  Status:  Ready For Test = Done   
 Assigned to:None = cazfi  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/patch/?3624

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #3626] precalc_tech_data() only if ruleset loading success

2013-01-30 Thread Marko Lindqvist
Update of patch #3626 (project freeciv):

  Status:  Ready For Test = Done   
 Assigned to:None = cazfi  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/patch/?3626

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #3634] README.ruleset_experimental cleanup

2013-01-30 Thread Marko Lindqvist
URL:
  http://gna.org/patch/?3634

 Summary: README.ruleset_experimental cleanup
 Project: Freeciv
Submitted by: cazfi
Submitted on: Thu 31 Jan 2013 12:56:35 AM EET
Category: docs
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.3.4, 2.4.0, 2.5.0

___

Details:

- Remove reference to specific freeciv version in ruleset summary
- TRUNK only: Do not list Nationality being enabled as difference to classic
ruleset as those rules are now in use in classic too
- Removed some stuff about how to use non-default rulesets in general, not
applicable for experimental ruleset.



___

File Attachments:


---
Date: Thu 31 Jan 2013 12:56:35 AM EET  Name: RMRECleanup.patch  Size: 2kB  
By: cazfi

http://gna.org/patch/download.php?file_id=17057
---
Date: Thu 31 Jan 2013 12:56:35 AM EET  Name: RMRECleanup-S2_4.patch  Size: 2kB
  By: cazfi

http://gna.org/patch/download.php?file_id=17058

___

Reply to this item at:

  http://gna.org/patch/?3634

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #3628] Effect for making citizens of enemy nationality unhappy

2013-01-30 Thread Marko Lindqvist
Follow-up Comment #1, patch #3628 (project freeciv):

- Update README.ruleset_experimental

(file #17059)
___

Additional Item Attachment:

File name: NationalityHappiness-2.patch   Size:11 KB


___

Reply to this item at:

  http://gna.org/patch/?3628

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #3625] Unit nationality

2013-01-30 Thread Marko Lindqvist
Update of patch #3625 (project freeciv):

  Status:  Ready For Test = Done   
 Assigned to:None = cazfi  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/patch/?3625

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #3625] Unit nationality

2013-01-30 Thread Marko Lindqvist
Follow-up Comment #3, patch #3625 (project freeciv):

Noticed only after committing this - nation pointer is not sensible way to
store this information as many functions that will use this require pointer to
player who plays the nation.
This is bad in that savegames created between now and until I get this fixed
will be incompatible with proper versions. However, as were talking about
TRUNK development versions here, I'm not going to make big effort to sanely
load such versions. You are warned now (do not start games with current
revision if you want to use produced savegames in future revisions)

___

Reply to this item at:

  http://gna.org/patch/?3625

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #3635] Settlers add citizens of their own nationality to cities

2013-01-30 Thread Marko Lindqvist
URL:
  http://gna.org/patch/?3635

 Summary: Settlers add citizens of their own nationality to
cities
 Project: Freeciv
Submitted by: cazfi
Submitted on: Thu 31 Jan 2013 02:03:53 AM EET
Category: general
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.5.0

___

Details:

- Unit nationality now stored as pointer to player of the nationality
- City size increasing functions take nationality of the added citizens as
parameter
- Unit creating cities or adding to them sets nationality of the added
citizens that of their own



___

File Attachments:


---
Date: Thu 31 Jan 2013 02:03:53 AM EET  Name: CitySizeNationality.patch  Size:
16kB   By: cazfi

http://gna.org/patch/download.php?file_id=17060

___

Reply to this item at:

  http://gna.org/patch/?3635

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #3636] Unit nationality mentioned in unit descriptions

2013-01-30 Thread Marko Lindqvist
URL:
  http://gna.org/patch/?3636

 Summary: Unit nationality mentioned in unit descriptions
 Project: Freeciv
Submitted by: cazfi
Submitted on: Thu 31 Jan 2013 02:46:43 AM EET
Category: client
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.5.0

___

Details:

Add unit nationality information to unit descriptions. Do this only if
nationality rules are enabled. We can have different number of lines in
descriptions depending on rules on use - ruleset is not going to suddenly
change mid-game.



___

File Attachments:


---
Date: Thu 31 Jan 2013 02:46:43 AM EET  Name: UnitNatDescription.patch  Size:
3kB   By: cazfi

http://gna.org/patch/download.php?file_id=17061

___

Reply to this item at:

  http://gna.org/patch/?3636

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #3637] Road move mode

2013-01-30 Thread Marko Lindqvist
URL:
  http://gna.org/patch/?3637

 Summary: Road move mode
 Project: Freeciv
Submitted by: cazfi
Submitted on: Thu 31 Jan 2013 03:55:09 AM EET
Category: general
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.5.0

___

Details:

Add move mode for roads to control how move costs are applied. This is step
toward having rivers as special road type in the future. Modes are same ones
that are available for rivers, but implemented in a more
ruleset-author-friendly way.

One thing this is useful for already is defining road types for reasons other
than move bonus. Such roads can now be defined with NoBonus move mode. This
is now used in alien ruleset Tunnel definition that used to work around the
limitation by defining so high move_cost that it would never be used instead
of terrain cost.



___

File Attachments:


---
Date: Thu 31 Jan 2013 03:55:09 AM EET  Name: RoadMoveMode.patch  Size: 14kB  
By: cazfi

http://gna.org/patch/download.php?file_id=17062

___

Reply to this item at:

  http://gna.org/patch/?3637

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #3638] Road defense bonus

2013-01-30 Thread Marko Lindqvist
URL:
  http://gna.org/patch/?3638

 Summary: Road defense bonus
 Project: Freeciv
Submitted by: cazfi
Submitted on: Thu 31 Jan 2013 04:26:22 AM EET
Category: general
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.5.0

___

Details:

Add support for road defense bonus. This is identical to what bases have, and
actually they are used in the same function; tile_bases_defense_bonus() now
renamed as tile_extras_defense_bonus().

Alien ruleset Tunnel road type given 35% defense bonus.



___

File Attachments:


---
Date: Thu 31 Jan 2013 04:26:22 AM EET  Name: RoadDefenseBonus.patch  Size:
12kB   By: cazfi

http://gna.org/patch/download.php?file_id=17063

___

Reply to this item at:

  http://gna.org/patch/?3638

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #3639] PreventsOtherRoads road flag

2013-01-30 Thread Marko Lindqvist
URL:
  http://gna.org/patch/?3639

 Summary: PreventsOtherRoads road flag
 Project: Freeciv
Submitted by: cazfi
Submitted on: Thu 31 Jan 2013 04:48:42 AM EET
Category: general
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.5.0

___

Details:

Add support for PreventsOtherRoads road type flag. To the same tile with
road with this flag one cannot build other roads (but it can be built on tiles
with older road) that have flag RequiresBridge unless player knows some
bridge building tech.



___

File Attachments:


---
Date: Thu 31 Jan 2013 04:48:42 AM EET  Name: RoadPreventsOthers.patch  Size:
7kB   By: cazfi

http://gna.org/patch/download.php?file_id=17064

___

Reply to this item at:

  http://gna.org/patch/?3639

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev