[Freeciv-Dev] [patch #1831] Unit related AI Interface cleanup

2010-08-14 Thread Marko Lindqvist

Update of patch #1831 (project freeciv):

  Status:None = Done   
 Assigned to:None = cazfi  
 Open/Closed:Open = Closed 


___

Reply to this item at:

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

___
  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 #1831] Unit related AI Interface cleanup

2010-08-14 Thread Lavrentij P Berija

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

It produces a warning (when trying to compile w/ debugging support):

make[3]: Entering directory `/home/heilkitty/soft/freeciv/trunk/server'
  CC unithand.lo
cc1: warnings being treated as errors
unithand.c: In function 'unit_move_handling':
unithand.c:1348: error: implicit declaration of function
'can_unit_attack_all_at_tile'
make[3]: *** [unithand.lo] Error 1
make[3]: Leaving directory `/home/heilkitty/soft/freeciv/trunk/server'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/heilkitty/soft/freeciv/trunk/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/heilkitty/soft/freeciv/trunk'
make: *** [all] Error 2


___

Reply to this item at:

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

___
  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 #1831] Unit related AI Interface cleanup

2010-08-14 Thread Marko Lindqvist

Follow-up Comment #4, patch #1831 (project freeciv):

 unithand.c:1348: error: implicit declaration of function
 'can_unit_attack_all_at_tile' 

That's weird since I cannot reproduce this, nor does the patch add call to
can_unit_attack_all_at_tile or remove include directivies.

Are you sure your source tree is clean Freeciv checkout? Maybe you have parts
of patch #1850 (which makes can_unit_attack_all_at_tile static) left to your
tree?

___

Reply to this item at:

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

___
  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 #1831] Unit related AI Interface cleanup

2010-08-14 Thread Lavrentij P Berija

Follow-up Comment #5, patch #1831 (project freeciv):

Seems so, sorry for the false alarm.

___

Reply to this item at:

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

___
  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 #1831] Unit related AI Interface cleanup

2010-08-12 Thread Marko Lindqvist

Follow-up Comment #1, patch #1831 (project freeciv):

* Temporary workaround: always allocate default ai related unit data since
advisors depend on it.

(file #9796)
___

Additional Item Attachment:

File name: UnitAII_1831-2.diffSize:3 KB


___

Reply to this item at:

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

___
  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 #1831] Unit related AI Interface cleanup

2010-08-09 Thread Marko Lindqvist

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

 Summary: Unit related AI Interface cleanup
 Project: Freeciv
Submitted by: cazfi
Submitted on: Monday 08/09/2010 at 12:19
Category: ai
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.3.0

___

Details:

Unify unit related interface with city related one:

unit_alloc, unit_free: Called once for each ai type when needed
unit_got, unit_lost: Called for player ai when needed





___

File Attachments:


---
Date: Monday 08/09/2010 at 12:19  Name: UnitAII.diff  Size: 3kB   By: cazfi

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

___

Reply to this item at:

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

___
  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 #1831] Unit related AI Interface cleanup

2010-08-09 Thread Marko Lindqvist

Update of patch #1831 (project freeciv):

  Depends on: = patch #1826


___

Reply to this item at:

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

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


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