Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2000:
[Freeciv-Dev] Re: Diplomatic states patch
Home

[Freeciv-Dev] Re: Diplomatic states patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Diplomatic states patch
From: Thue Janus Kristensen <thue@xxxxxxx>
Date: Mon, 5 Jun 2000 15:34:03 +0200

On Sun, 04 Jun 2000, Falk Hueffner wrote:
> 
> Hi,
> 
> here's a patch with some changes for the diplomatic states ("pacts").
> 
> * Can't attack in Neutral state (or it wouldn't be different from war
>   at all). Declaring war from Neutral state doesn't harm reputation.
>   The "cancel treaty" button disabeledness needs to be adapted for
>   other clients than gtk, too. This probably breaks save games where
>   the AI is Neutral.
> 
> * Introduce new diplomatic state "No contact". Players get notified on
>   first contact. AI is set to War instead of Neutral on first contact. 
> 
>       Falk

This version of the patch does:
-Insert NO_CONTACT into players_at_war to make AI and barbarians behave
properly.

-Make old savegames load properly, including calling neutralize_ai_player.

-Instead of having the contact code inside send_unit_info() move it into
it's own routine and call call it when
a) a unit is moves
b) a city is created (this also includes transfering cities)
c) a unit is created (this also includes transfering units)

-Make contact with all players for the owner of marco polo's embassy

-Change // comment to /**/ comment

-You forgot that allied players are not included in players_non_attack in
neutralize_ai_player

-Internationalize string in make_contact()

-update handle_player_cancel_pact()

-make the treaty comming after DS_PEACE and DS_CEASE_FIRE be
DS_NEUTRAL and update the messages.

-Thue

Attachment: pact_2.diff
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]