URL:
<http://gna.org/patch/?2498>
Summary: Handle ai module specific setup failures
Project: Freeciv
Submitted by: cazfi
Submitted on: Tue 08 Feb 2011 05:47:03 PM EET
Category: ai
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.4.0
_______________________________________________________
Details:
This patch changes return value of setup function in ai module from void to
bool. Module can use this return value to indicate failure in its setup. Such
failures are handled in server code.
In typical case module setup would fail if ai module has some requirements
that freeciv server otherwise has not (and doesn't check against). As an
example, threaded ai module setup will fail if freeciv has not been compiled
against real threads implementation.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 08 Feb 2011 05:47:03 PM EET Name: ModSetupRetVal.diff Size: 3kB
By: cazfi
<http://gna.org/patch/download.php?file_id=12336>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?2498>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev