Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2004:
[Freeciv-Dev] Re: (PR#10716) is_observer entry needed for savegame
Home

[Freeciv-Dev] Re: (PR#10716) is_observer entry needed for savegame

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#10716) is_observer entry needed for savegame
From: "Mike Kaufman" <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 24 Oct 2004 21:54:30 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10716 >

may not be easy:

   secfile_insert_int(file, plr->ai.love[i],
                       "player%d.ai%d.love", plrno, i);
    secfile_insert_int(file, ai->diplomacy.player_intel[i].spam,
                       "player%d.ai%d.spam", plrno, i);
    secfile_insert_int(file, ai->diplomacy.player_intel[i].ally_patience,
                       "player%d.ai%d.patience", plrno, i);
    secfile_insert_int(file,
ai->diplomacy.player_intel[i].warned_about_space,
                       "player%d.ai%d.warn_space", plrno, i);
    secfile_insert_int(file,
ai->diplomacy.player_intel[i].asked_about_peace,
                       "player%d.ai%d.ask_peace", plrno, i);
    secfile_insert_int(file,
ai->diplomacy.player_intel[i].asked_about_alliance, 
                       "player%d.ai%d.ask_alliance", plrno, i);
    secfile_insert_int(file,
ai->diplomacy.player_intel[i].asked_about_ceasefire, 
                       "player%d.ai%d.ask_ceasefire", plrno, i);
  }
  secfile_insert_int(file,
                     ai->diplomacy.target == NULL ?
                       -1 : ai->diplomacy.target->player_no,
                     "player%d.ai.target", plrno);


etc.

-mike




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