[Freeciv-Dev] Re: Diplomatic states patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
pact_2.diff
Description: Text document
- [Freeciv-Dev] Diplomatic states patch, Falk Hueffner, 2000/06/04
- [Freeciv-Dev] Re: Diplomatic states patch, Erik Sigra, 2000/06/04
- [Freeciv-Dev] Re: Diplomatic states patch,
Thue Janus Kristensen <=
- [Freeciv-Dev] Re: Diplomatic states patch, Falk Hueffner, 2000/06/05
- [Freeciv-Dev] Re: Diplomatic states patch, Thue Janus Kristensen, 2000/06/05
- [Freeciv-Dev] Re: Diplomatic states patch, Tomasz Wegrzanowski, 2000/06/05
- [Freeciv-Dev] Re: Diplomatic states patch, Daniel Sjolie, 2000/06/06
- [Freeciv-Dev] Re: Diplomatic states patch, Tomasz Wegrzanowski, 2000/06/06
- [Freeciv-Dev] Re: Diplomatic states patch, Daniel Sjolie, 2000/06/06
- [Freeciv-Dev] Re: Diplomatic states patch, Martin Christensen, 2000/06/06
- [Freeciv-Dev] Re: Diplomatic states patch, Tony Stuckey, 2000/06/06
- [Freeciv-Dev] Re: Diplomatic states patch, Martin Christensen, 2000/06/06
- [Freeciv-Dev] Re: Diplomatic states patch, Daniel Sjolie, 2000/06/06
|
|