[Freeciv-Dev] [patch #2844] Two boolean player_is_at_war functions for 2.4 r 20006.

2016-01-20 Thread Marko Lindqvist
Update of patch #2844 (project freeciv):

Category: general => ai 
 Planned Release: => 3.0.0  


___

Reply to this item at:

  

___
  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 #2844] Two boolean player_is_at_war functions for 2.4 r 20006.

2013-01-23 Thread Marko Lindqvist
Follow-up Comment #4, patch #2844 (project freeciv):

 What kind of helper functions not used by freeciv itself at all,
 but benefiting some custom ai module, we add? Any opinions?

Ok, I've now thought this a bit, and if such ai module utility functions are
to be added, they should not be part of common source files. Instead we could
add directory ai/support/ to which to collect such stuff. Then we could
compile those parts only when configured for custom ai module support.

___

Reply to this item at:

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

___
  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 #2844] Two boolean player_is_at_war functions for 2.4 r 20006.

2011-11-06 Thread Marko Lindqvist

Update of patch #2844 (project freeciv):

  Status:  Ready For Test = Need Info  


___

Reply to this item at:

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

___
  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 #2844] Two boolean player_is_at_war functions for 2.4 r 20006.

2011-07-29 Thread Micke

Follow-up Comment #2, patch #2844 (project freeciv):

I use them in a few places in my modified AI.


___

Reply to this item at:

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

___
  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 #2844] Two boolean player_is_at_war functions for 2.4 r 20006.

2011-07-29 Thread Marko Lindqvist

Follow-up Comment #3, patch #2844 (project freeciv):

Well, then this is first patch of its kind, and I'd like to have general
policy for such patches defined before going forward. Meanwhile you can add
these functions to your ai module itself.

What kind of helper functions not used by freeciv itself at all, but
benefiting some custom ai module, we add? Any opinions?

___

Reply to this item at:

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

___
  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 #2844] Two boolean player_is_at_war functions for 2.4 r 20006.

2011-07-28 Thread Micke

URL:
  http://gna.org/patch/?2844

 Summary: Two boolean player_is_at_war functions for 2.4 r
20006.
 Project: Freeciv
Submitted by: someswede
Submitted on: Fri Jul 29 00:37:14 2011
Category: None
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 

___

Details:

This patch adds two functions to common/player.h and common/player.c for
checking if a given player is at war with anyone at all and anyone
non-barbarian, respectively.




___

File Attachments:


---
Date: Fri Jul 29 00:37:14 2011  Name: player_at_war.diff  Size: 2kB   By:
someswede

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

___

Reply to this item at:

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

___
  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 #2844] Two boolean player_is_at_war functions for 2.4 r 20006.

2011-07-28 Thread Marko Lindqvist

Update of patch #2844 (project freeciv):

Category:None = general
  Status:None = Ready For Test 
 Assigned to:None = cazfi  

___

Follow-up Comment #1:

Patch seems ok, but can you also tell us why are these needed (have you
further patches in mind)? I'm not going to add helper functions to maintain
that nobody will ever use.

___

Reply to this item at:

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

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


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