~ubuntu-branches/ubuntu/saucy/lordsawar/saucy

« back to all changes in this revision

Viewing changes to src/AI_Analysis.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese, Barry deFreese
  • Date: 2008-12-20 13:52:12 UTC
  • mfrom: (1.1.6 upstream) (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20081220135212-noeb2w3y98ebo7o9
Tags: 0.1.4-1
[ Barry deFreese ]
* New upstream release.
* Move 0.0.8-2.1 changelog entry to correct point in changelog.
* Make lordsawar-data suggest lordsawar.
* Update my e-mail address.
* Add build-depends on intltool, uuid-dev, and libboost-dev.
* Don't install locales since there are no translations currently.
* Add simple man page for new lordsawar-pbm binary.
* Drop gcc4.3 patches as they have been fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
184
184
    Citylist* cl = Citylist::getInstance();
185
185
    for (Citylist::iterator it = cl->begin(); it != cl->end(); ++it)
186
186
    {
187
 
        City *city = &(*it);
 
187
        City *city = (*it);
188
188
        if (!city->isFriend(d_owner) && !city->isBurnt())
189
189
        {
190
190
            d_threats->push_back(new Threat(city));
217
217
    for (Ruinlist::iterator it = ruins->begin(); it != ruins->end(); ++it)
218
218
    {
219
219
        Ruin ruin = *it;
220
 
        if (!ruin.isSearched())
 
220
        if (!ruin->isSearched())
221
221
        {
222
 
            d_threats->push_back(new Threat(&ruin));
 
222
            d_threats->push_back(new Threat(ruin));
223
223
        }
224
224
    }
225
225
*/
230
230
    Citylist* cl = Citylist::getInstance();
231
231
    for (Citylist::iterator it = cl->begin(); it != cl->end(); ++it)
232
232
    {
233
 
        City *city = &(*it);
 
233
        City *city = (*it);
234
234
        if (city->isFriend(d_owner))
235
235
        {
236
236
            AICityInfo *info = new AICityInfo(city);