Loading

Paste #pm6i1yfef

  1. commit 41a620c1a7d51b0f97b243359a67955e6323f735
  2. Author: J0anJosep <juanjo.ng.83@gmail.com>
  3. Date:   Sat Mar 31 18:09:29 2018 +0200
  4.  
  5.     Fix #6805: (Doc) Road depot and stations (except rail stations and waypoints) do not use m8 for railtype.

Paste #pm8nykyc1

  1.         if (AIController.GetSetting("scp_support")) {
  2.             this.scp = SCPLib("LDAF", 8);
  3. //          this.scp.SCPLogging_Info(true);
  4. //          this.scp.SCPLogging_Error(true);
  5.         }

Paste #pvyl4y1v5

  1.         this.cvgs = SCPClient_CompanyValueGS(this.scp);
  2.         this.ncg = SCPClient_NoCarGoal(this.scp);
  3.  
  4.         loading = false;
  5.     }

Paste #ptjsvzrdg

  1.                 if (!AITown.HasStatue(town)) {
  2.                     if (AITown.IsActionAvailable(town, AITown.TOWN_ACTION_BUILD_STATUE)) {
  3.                         local perform_action = true;
  4.                         if (cvgs.IsCompanyValueGSGame() && cvgs.GetCompanyIDRank(AICompany.ResolveCompanyID(AICompany.COMPANY_SELF)) == 1 && cvgs.RankingList().Count() > 1) {
  5.                             if (TestPerformTownAction().TestCost(town, AITown.TOWN_ACTION_BUILD_STATUE) > cvgs.GetCompanyIDDiffToNext(AICompany.ResolveCompanyID(AICompany.COMPANY_SELF), false)) {

Paste #psh2zd1js

  1. local myCID = Utils.MyCID();
  2.  
  3.                 if (!AITown.HasStatue(town)) {
  4.                     local action = AITown.TOWN_ACTION_BUILD_STATUE;
  5.                     if (AITown.IsActionAvailable(town, action)) {

Paste #pwqa05nv2

  1.   Display-issue-with-STR_NEWS_PLANE_USES_TOO_SHORT_RUNWAY              5ed39d551 [origin/Display-issue-with-STR_NEWS_PLANE_USES_TOO_SHORT_RUNWAY: gone] Fix: Displaying issue with the message about airplanes heading to airports with short runways
  2.   EnsureNoShipFromDiagDirs                                             9a4d80383 [origin/EnsureNoShipFromDiagDirs] Add: EnsureNoShipFromDiagDirs
  3.   ScriptBridge-GetName                                                 f1efe276a [origin/ScriptBridge-GetName] Change: AI/GS ScriptBridge::GetName takes one extra parameter to refer the vehicle type
  4.   aircraft-hangar-issues                                               63c83d4af [origi

Paste #pkvoiu2fe

  1. /**
  2.  * Check whether growing on a half-tile coast tile ends up blocking a water connection
  3.  *
  4.  * @param tile The target tile
  5.  * @return true if building here blocks a water connection

Paste #pl3jnl4gc

  1. diff --cc src/company_gui.cpp
  2. index c62c6d61cf,f39b8229c3..0000000000
  3. --- a/src/company_gui.cpp
  4. +++ b/src/company_gui.cpp
  5. @@@ -2194,16 -2219,18 +2219,23 @@@ struct CompanyWindow : Windo

Paste #phtjkdxl4

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

Paste #pdfskp6jj

  1. void ScriptConfig::AddRandomDeviation()
  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 #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 #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]

Paste #pqhbaoyzr

  1. OpenTTD.andythenorth(7213)$ lldb ./bin/openttd
  2. (lldb) target create "./bin/openttd"
  3. Current executable set to './bin/openttd' (x86_64).
  4. (lldb)
  5. Current executable set to './bin/openttd' (x86_64).

Paste #pzk83sgm1

  1.         /* This station can be used, add it to st1/st2 */
  2.         if (st1 == NULL) {
  3.             st1 = st; best_rating1 = st->goods[type].rating;
  4.         } else {
  5.             if (owner == MAX_COMPANIES || st1->owner == OWNER_NONE || st->owner == OWNER_NONE || (st->owner == owner && st->owner == st1->owner) || (st->owner != owner && st1->owner != owner)) {

Paste #pntip1imo

  1. /*
  2.  * This file is aimed to provide an example on how to code a basic industry in NML.
  3.  * To keep the code readable, not every property or variable is documented in
  4.  * detail, refer to the object-specific reference in the documentation.
  5.  *