Loading

Paste #pyhn8n1nz

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

Paste #pezv03ama

  1. planetmaker@aeolusmaximus-vortex:~/ottd/website$ git reflog
  2. 83c9bf0 (HEAD -> req_desc, pm/req_desc) HEAD@{0}: commit (merge): Change: Improve description of what is really needed to run OpenTTD
  3. 8d6525c HEAD@{1}: checkout: moving from req_desc to req_desc
  4. 8d6525c HEAD@{2}: reset: moving to HEAD
  5. 8d6525c HEAD@{3}: commit (amend): Add: support openttd-releases and openttd-pullrequests on new infrastructure

Paste #p3brhxe74

  1. static bool IsPossibleLockLocation(TileIndex tile)
  2. {
  3.     DiagDirection dir = GetInclinedSlopeDirection(GetTileSlope(tile));
  4.     if (!IsValidDiagDirection(dir)) return false;

Paste #pzub1wt41

  1. --Bridge--
  2.   Bridge -1
  3.     IsValidBridge():    false
  4.     GetName():          (null : 0x00000000)
  5.     GetName():          (null : 0x00000000)

Paste #pwj2jsxgy

  1. /** Window for displaying the textfile of a AI. */
  2. struct ScriptTextfileWindow : public TextfileWindow {
  3.     CompanyID slot; ///< View the textfile of this CompanyID slot.
  4.  
  5.     ScriptTextfileWindow(TextfileType file_type, CompanyID slot) : TextfileWindow(file_type), slot(slot)

Paste #pa7nscczm

  1. void ScriptConfig::ResetChangeableSettings()
  2. {
  3.     if (this->info == NULL) return;
  4.  
  5.     for (SettingValueList::iterator it = this->settings.begin(); it != this->settings.end(); it++) {

Paste #phnhf0p2b

  1. bool editable = _game_mode == GM_MENU ||
  2.            _game_mode == GM_NORMAL && (IsConsideredDead(this->slot) || (config_item.flags & SCRIPTCONFIG_INGAME) != 0) ||
  3. IsConsideredDead(this->slot) && (this->slot == OWNER_DEITY ? Game::GetInstance() == NULL : !IsValidAiID(this->slot) || Company::Get(this->slot)->ai_instance == NULL);

Paste #pvaqviyqt

  1. /// Somewhere in english.txt
  2. STR_AI_SETTINGS_CAPTION                                         :{WHITE}{STRING} Parameters of {RAW_STRING}
  3.  
  4. /// Somewhere in AI Settings Window widget construction
  5.         NWidget(WWT_CAPTION, COLOUR_MAUVE, WID_AIS_CAPTION), SetDataTip(STR_AI_SETTINGS_CAPTION, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS),

Paste #pcgeijqdq

  1. diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp
  2. index aa56b3d83..495f1361f 100644
  3. --- a/src/ai/ai_gui.cpp
  4. +++ b/src/ai/ai_gui.cpp
  5. @@ -322,6 +322,15 @@ struct AISettingsWindow : public Window {

Paste #pyni4xdxb

  1. /// Somewhere in english.txt
  2. STR_AI_SETTINGS_CAPTION                                         :{WHITE}{STRING} Parameters of {RAW_STRING}
  3.  
  4. /// Somewhere in AI Settings Window widget construction
  5.         NWidget(WWT_CAPTION, COLOUR_MAUVE, WID_AIS_CAPTION), SetDataTip(STR_AI_SETTINGS_CAPTION, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS),

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 #pvwc6g3dv

  1.     for (int yc = y1; yc != y2; yc++) {
  2.         for (int xc = x1; xc != x2; xc++) {
  3.             TileIndex tile = TileXY(xc, yc);
  4.             if (!IsTileType(tile, MP_INDUSTRY)) {
  5.                 AddAcceptedCargo(tile, acceptance, always_accepted);

Paste #pasmwbwr2

  1. 1 - dbg: [misc] [Collect Garbage] 540138635 [avg: 540138635.0]
  2. 2 - dbg: [misc] [Collect Garbage] 980850 [avg: 980850.0]
  3. 3 - dbg: [misc] [Collect Garbage] 1080357 [avg: 1080357.0]
  4. 4 - dbg: [misc] [Collect Garbage] 3437898 [avg: 3437898.0]
  5. 5 - dbg: [misc] [Collect Garbage] 1894220 [avg: 1894220.0]

https://imgur.com/wQuDOi5

  1. static bool GrowingOnWateredTile(TileIndex tile)
  2. {
  3.     TrackBits water_track = TrackStatusToTrackBits(GetTileTrackStatus(tile, TRANSPORT_WATER, 0));
  4.     if (water_track != TRACK_BIT_NONE) {
  5.         if (water_track == TRACK_BIT_UPPER || water_track == TRACK_BIT_LOWER || water_track == TRACK_BIT_LEFT || water_track == TRACK_BIT_RIGHT) {

Paste #pceswwkbb

  1.     /* Check whether the third tile is an aqueduct head, or a water tile
  2.      * with one corner raised with or without a rail track, or a buoy. */
  3.     if (!IsTileType(tile_cur, MP_WATER)) {
  4.         if (IsTileType(tile_cur, MP_TUNNELBRIDGE)) {
  5.             if (GetTunnelBridgeTransportType(tile_cur) != TRANSPORT_WATER) return_cmd_error(STR_ERROR_SITE_UNSUITABLE);