~widelands-dev/widelands/trunk

« back to all changes in this revision

Viewing changes to src/ai/defaultai.h

  • Committer: The Widelands Bunnybot
  • Date: 2023-03-20 21:04:45 UTC
  • Revision ID: bunnybot@widelands.org-20230320210445-opykiadbmbytcsuq
Ai diplomacy (#5774)

Co-authored-by: Tóth András <80712255+tothxa@users.noreply.github.com>

(by hessenfarmer)
fa28389bbc59399159f971247c522278f541f6c0

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
        static constexpr bool kAbsValue = true;
146
146
        static constexpr int32_t kSpotsTooLittle = 15;
147
147
        static constexpr Duration kManagementUpdateInterval{10 * 60 * 1000};
148
 
        static constexpr Duration kStatUpdateInterval{60 * 1000};
 
148
        static constexpr Duration kStatUpdateInterval{15 * 1000};
149
149
        static constexpr Duration kFlagWarehouseUpdInterval{15 * 1000};
150
 
        static constexpr Duration kDiplomacyInterval{30 * 1000};
 
150
        static constexpr Duration kDiplomacyInterval{90 * 1000};
151
151
 
152
152
        // common for defaultai.cc and defaultai_seafaring.cc
153
153
        static constexpr Duration kExpeditionMinDuration{60 * 60 * 1000};