Loading

Paste #pzifimxjz

  1.     KernelBase.dll!00007ffeb9dba388()   Unknown
  2.     openttd.exe!CustomAbort(int signal) Line 546    C++
  3.     openttd.exe!raise(int signum) Line 522  C++
  4.     openttd.exe!common_message_window<wchar_t>(const int report_type, void * const return_address, const wchar_t * const file_name, const wchar_t * const line_number, const wchar_t * const module_name, const wchar_t * const user_message) Line 414  C++
  5.     openttd.exe!__acrt_MessageWindowW(const int report_type, void * const return_address, const wchar_t * const file_name, const wchar_t * const line_number, const wchar_t * const module_name, const wchar_t * const user_message) Line 452   C++
  6.     openttd.exe!_VCrtDbgReportW(int nRptType, vo

Paste #pzbubvo7n

  1.     if (_game_mode != GM_MENU && AI::CanStartNew() && --_next_competitor_start == 0) {
  2.         /* Allow multiple AIs to possibly start in the same tick. */
  3.         do {
  4.             Backup<CompanyByte> cur_company(_current_company, FILE_LINE);
  5.             bool failed_to_start = !MaybeStartNewCompany();

Paste #palwv1ltm

  1. STR_CONFIG_SETTING_TOWN_CARGOGENMODE                            :Town cargo generation: {STRING2}
  2. STR_CONFIG_SETTING_TOWN_CARGOGENMODE_HELPTEXT                   :How much cargo is produced by houses in towns, relative to the overall population of the town.{}{LTBLUE}Quadratic growth:{WHITE} a town with twice the population generates four times as many passengers. This is the original behaviour{}{LTBLUE}Linear growth:{WHITE} A town twice the size generates twice the amount of passengers.
  3. STR_CONFIG_SETTING_TOWN_CARGOGENMODE_ORIGINAL                   :Quadratic
  4. STR_CONFIG_SETTING_TOWN_CARGOGENMODE_BITCOUNT                   :Linear

Paste #p81twzrdx

  1. STR_CONFIG_SETTING_TOWN_CARGOGENMODE                            :Town cargo generation: {STRING2}
  2. STR_CONFIG_SETTING_TOWN_CARGOGENMODE_HELPTEXT                   :How much cargo is produced by houses in towns, relative to the overall population of the town.{}Quadratic growth: a town with twice the population generates four times as many passengers.{}Linear growth: A town twice the size generates twice the amount of passengers.
  3. STR_CONFIG_SETTING_TOWN_CARGOGENMODE_BITCOUNT                   :Linear
  4. STR_CONFIG_SETTING_TOWN_CARGOGENMODE_ORIGINAL                   :Quadratic (original)

Paste #ppigripza

  1. STR_CONFIG_SETTING_TOWN_CARGOGENMODE                            :Town cargo generation: {STRING2}
  2. STR_CONFIG_SETTING_TOWN_CARGOGENMODE_HELPTEXT                   :How much cargo is produced by houses in towns, relative to the overall population of the town.{}Linear growth: A town twice the size generates twice the amount of passengers.{}Quadratic growth: a town with twice the population generates four times as many passengers.
  3. STR_CONFIG_SETTING_TOWN_CARGOGENMODE_BITCOUNT                   :Linear
  4. STR_CONFIG_SETTING_TOWN_CARGOGENMODE_ORIGINAL                   :Quadratic (original)

Paste #p8bxr0ans

  1. /**
  2.  * State controlling game loop.
  3.  * The state must not be changed from anywhere but here.
  4.  * That check is enforced in DoCommand.
  5.  */

Paste #przn2n2l2

  1.     if (!_networking && _local_company == COMPANY_SPECTATOR && include_spectator && widget == WID_TN_COMPANIES) {
  2.         bool human_company = false;
  3.         for (CompanyID c = COMPANY_FIRST; c < MAX_COMPANIES; c++) {
  4.             if (Company::IsValidHumanID(c)) {
  5.                 human_company = true;

Paste #pjnrgrd59

  1.             /* Multiplayer buttons. */
  2.             if (!_networking) {
  3.                 if (_settings_client.gui.start_spectator || _local_company == COMPANY_SPECTATOR) {
  4.                     plane = CWP_MP_C_JOIN;
  5.                 } else {

Paste #pjhkz0ndn

  1.             /* Multiplayer buttons. */
  2.             if (!_networking) {
  3.                 if (_settings_client.gui.start_spectator || _local_company == COMPANY_SPECTATOR) {
  4.                     if (_local_company == COMPANY_SPECTATOR) {
  5.                         plane = CWP_MP_C_JOIN;

Paste #pjysl6t8a

  1.     if (AI::CanStartNew() && _game_mode != GM_MENU && --_next_competitor_start == 0) {
  2.         /* Allow multiple AIs to possibly start in the same tick. */
  3.         do {
  4.             if (!MaybeStartNewCompany()) break;
  5.         } while (AI::GetStartNextTime() == 0);
  6.     }

Paste #pmqx8er2l

  1.     if (AI::CanStartNew() && _game_mode != GM_MENU && --_next_competitor_start == 0) {
  2.         /* Allow multiple AIs to possibly start in the same tick. */
  3.         do {
  4.             if (!MaybeStartNewCompany()) {
  5.                 break;

Paste #phnzkfdkd

  1. void AIConfig::AddRandomDeviation()
  2. {
  3.     ScriptConfigItemList::const_iterator it = NULL;
  4.     for (it = this->GetConfigList()->begin(); it != this->GetConfigList()->end(); it++) {
  5.         /* start_date = 0 is a special case, where random deviation does not occur. */

Paste #pqyqwtopp

  1. void ScriptConfig::AddRandomDeviation()
  2. {
  3.     for (ScriptConfigItemList::const_iterator it = this->GetConfigList()->begin(); it != this->GetConfigList()->end(); it++) {
  4.         /* start_date = 0 is a special case, where random deviation does not occur. */
  5.         if ((*it).random_deviation != 0 || typeid(*this) == typeid(AIConfig) && StrEmpty((*it).description) && strcmp((*it).name, "start_date") == 0 && this->GetSetting((*it).name) != 0) {

Paste #p6opfmlwu

  1. void ScriptConfig::AddRandomDeviation(bool is_ai)
  2. {
  3.     for (ScriptConfigItemList::const_iterator it = this->GetConfigList()->begin(); it != this->GetConfigList()->end(); it++) {
  4.         if ((*it).random_deviation != 0) {
  5.             int value = this->GetSetting((*it).name);

Paste #pyhn8n1nz

  1.     if (--_next_competitor_start == 0) {
  2.         do {
  3.             if (!AI::CanStartNew() || _game_mode == GM_MENU || !MaybeStartNewCompany()) {
  4.                 break;
  5.             }