[Freeciv-Dev] [patch #1778] [interface] define the ai via the new interface

2010-07-29 Thread Marko Lindqvist
Follow-up Comment #1, patch #1778 (project freeciv): I don't have time to go in the details just now, but my plans go to quite different way than this patch. Anyway: * remove ./common/ai.c as it is empty Empty? What about get_ai_type() and init_ai(). Also, more stuff is coming to it. * move

[Freeciv-Dev] [patch #1756] Rename civmanual as freeciv-manual

2010-07-29 Thread Marko Lindqvist
Follow-up Comment #1, patch #1756 (project freeciv): Updated against svn. (file #9610) ___ Additional Item Attachment: File name: FreecivManual_1756-2.diff Size:1 KB ___

[Freeciv-Dev] [patch #1778] [interface] define the ai via the new interface

2010-07-29 Thread Matthias Pfafferodt
Follow-up Comment #2, patch #1778 (project freeciv): What interface.h? Or do you mean aiinterface.h? I did define a general interface for functions with different content for the client and the server in patch #1772. This patch uses it for the ai definition. Empty? What about get_ai_type()

[Freeciv-Dev] [patch #1780] [ai] remove dependency of ./server/citytools.c on aiunit.h

2010-07-29 Thread Matthias Pfafferodt
___ Details: * remove could_unit_move_to_tile() ___ File Attachments: --- Date: Donnerstag 29.07.2010 um 12:28 Name: 20100729-03-trunk-remove-dependency-of-.-server-citytools.c

[Freeciv-Dev] [patch #1782] [ai] remove dependency of ./server/unittools.c on aiunit.h

2010-07-29 Thread Matthias Pfafferodt
___ Details: * move enemies_at() into aiunit.c ___ File Attachments: --- Date: Donnerstag 29.07.2010 um 12:28 Name: 20100729-05-trunk-remove-dependency-of-.-server-unittools.c

[Freeciv-Dev] [patch #1783] remove aiunit.h from savegame.c and savegame2.c

2010-07-29 Thread Matthias Pfafferodt
: ___ File Attachments: --- Date: Donnerstag 29.07.2010 um 12:28 Name: 20100729-06-trunk-remove-aiunit.h-from-savegame.c-and-savegame2.c.patch Size: 1kB By: syntron http://gna.org

[Freeciv-Dev] [patch #1781] [ai] remove dependency of ./server/ruleset.c on aiunit.h

2010-07-29 Thread Matthias Pfafferodt
___ Details: * rename unit_class_ai_init() to units_ruleset_init() which also calls update_simple_ai_types() ___ File Attachments: --- Date: Donnerstag 29.07.2010 um 12:28 Name: 20100729

[Freeciv-Dev] [patch #1784] [ai] remove aicity.h from savegame2.c and savegame.c

2010-07-29 Thread Matthias Pfafferodt
___ Details: * new functions in aicity.c: ai_city_save() and ai_city_load() ___ File Attachments: --- Date: Donnerstag 29.07.2010 um 12:28 Name: 20100729-07-trunk-remove-aicity.h-from

[Freeciv-Dev] [patch #1778] [interface][ai] define the ai via the new interface

2010-07-29 Thread Matthias Pfafferodt
Update of patch #1778 (project freeciv): Summary: [interface] define the ai via the new interface = [interface][ai] define the ai via the new interface ___ Reply to this item at: http://gna.org/patch/?1778

[Freeciv-Dev] [patch #1785] [Metaticket] cleanup usage of ai file by the server

2010-07-29 Thread Matthias Pfafferodt
URL: http://gna.org/patch/?1785 Summary: [Metaticket] cleanup usage of ai file by the server Project: Freeciv Submitted by: syntron Submitted on: Donnerstag 29.07.2010 um 12:30 Category: ai Priority: 5 -

[Freeciv-Dev] [patch #1785] [Metaticket] cleanup usage of ai file by the server

2010-07-29 Thread Matthias Pfafferodt
Update of patch #1785 (project freeciv): Depends on: = patch #1778 ___ Reply to this item at: http://gna.org/patch/?1785 ___ Nachricht

[Freeciv-Dev] [patch #1785] [Metaticket] cleanup usage of ai file by the server

2010-07-29 Thread Matthias Pfafferodt
Update of patch #1785 (project freeciv): Depends on: = patch #1772 ___ Reply to this item at: http://gna.org/patch/?1785 ___ Nachricht

[Freeciv-Dev] [patch #1786] [ai] remove aidata.h from savegame2.c and savegame.c

2010-07-29 Thread Matthias Pfafferodt
___ Details: * new functions ai_data_load() and ai_data_save() ___ File Attachments: --- Date: Donnerstag 29.07.2010 um 13:33 Name: 20100729-08-trunk-remove-aidata.h-from-savegame2.c

[Freeciv-Dev] [patch #1785] [Metaticket] cleanup usage of ai files by the server

2010-07-29 Thread Matthias Pfafferodt
Update of patch #1785 (project freeciv): Summary: [Metaticket] cleanup usage of ai file by the server = [Metaticket] cleanup usage of ai files by the server Depends on: = patch #1786

[Freeciv-Dev] [patch #1787] [ai] remove aicity.h from citytools.c

2010-07-29 Thread Matthias Pfafferodt
: ___ File Attachments: --- Date: Donnerstag 29.07.2010 um 13:41 Name: 20100729-09-trunk-remove-aicity.h-from-citytools.c.patch Size: 2kB By: syntron http://gna.org/patch/download.php

[Freeciv-Dev] [patch #1785] [Metaticket] cleanup usage of ai files by the server

2010-07-29 Thread Matthias Pfafferodt
Update of patch #1785 (project freeciv): Depends on: = patch #1787 ___ Reply to this item at: http://gna.org/patch/?1785 ___ Nachricht

[Freeciv-Dev] [patch #1788] [ai] remove aidata.h from some files

2010-07-29 Thread Matthias Pfafferodt
: * cityturn.c, gotohand.c, plrhand.c, srv_main.c ___ File Attachments: --- Date: Donnerstag 29.07.2010 um 14:12 Name: 20100729-10-trunk-remove-aidata.h-from-some-files.patch Size: 3kB

[Freeciv-Dev] [patch #1789] [ai] remove aicity from cityturn.c and srv_main.c

2010-07-29 Thread Matthias Pfafferodt
___ Details: ___ File Attachments: --- Date: Donnerstag 29.07.2010 um 14:13 Name: 20100729-11-trunk-remove-aicity-from-cityturn.c-and-srv_main.c.patch Size: 3kB By: syntron http://gna.org

[Freeciv-Dev] [patch #1790] [ai] remove ai-trade_want as it is not used

2010-07-29 Thread Matthias Pfafferodt
: ___ File Attachments: --- Date: Donnerstag 29.07.2010 um 14:13 Name: 20100729-12-trunk-remove-ai-trade_want-as-it-is-not-used.patch Size: 2kB By: syntron http://gna.org/patch

[Freeciv-Dev] [patch #1785] [Metaticket] cleanup usage of ai files by the server

2010-07-29 Thread Matthias Pfafferodt
Update of patch #1785 (project freeciv): Depends on: = patch #1787 ___ Follow-up Comment #1: Further cleanup needs first a move of some code from ./ai into ./server/advisor. Especially

[Freeciv-Dev] [patch #1792] Move ai function pointer setting to ai code

2010-07-29 Thread Marko Lindqvist
URL: http://gna.org/patch/?1792 Summary: Move ai function pointer setting to ai code Project: Freeciv Submitted by: cazfi Submitted on: Thursday 07/29/2010 at 19:10 Category: ai Priority: 5 - Normal

[Freeciv-Dev] [bug #16318] strict aliasing and warnings

2010-07-29 Thread m
URL: http://gna.org/bugs/?16318 Summary: strict aliasing and warnings Project: Freeciv Submitted by: akfaew Submitted on: Thursday 07/29/2010 at 20:13 Category: None Severity: 3 - Normal

[Freeciv-Dev] [bug #16318] strict aliasing and warnings

2010-07-29 Thread Jason Dorje Short
Follow-up Comment #1, bug #16318 (project freeciv): Pointer type casts like that are generally to be avoided in C, in my experience. Agreed that the generated files should be removed by 'make distclean'. ___ Reply to this item at:

[Freeciv-Dev] [patch #1792] Move ai function pointer setting to ai code

2010-07-29 Thread Matthias Pfafferodt
Follow-up Comment #1, patch #1792 (project freeciv): This is a nice cleanup of the ai specific functions. I will check if I can port the changes of patch #1778 on top of this. That are your plans for the ai interface? My ideas: * move all code which helps players (autosettler, autoexplorer,