Loading

CanBuildVehicleInfrastruc

  1. bool CanBuildVehicleInfrastructure(RoadTypeIdentifier rtid, CompanyID company, bool any_date)
  2. {
  3.     if (_game_mode != GM_EDITOR && !Company::IsValidID(company)) return false;
  4.     /* TODO: In SE this could differ for the player who use the scenario, should I make it GM_NORMAL only? */
  5.     if (!_settings_client.gui.disable_unsuitable_building) return true;

Paste #pckw1l2ei

  1. switch(FEAT_ROADVEHS, SELF, power_switch, current_roadtype) {
  2.   ELRD: return 1200;
  3.   default: return 690;
  4. }

Paste #psm8rpcxi

  1. sebastiaank@gs-mx01> show route aspath-regex ".* 200020 .*"
  2.  
  3. inet.0: 628329 destinations, 1441638 routes (628278 active, 51 holddown, 0 hidden)
  4. + = Active Route, - = Last Active, * = Both

Paste #puvyjgoyr

  1. 0000 - 03FF
  2.     ":  {CARGO_NAME}: {CARGO_TINY} {RAW_STRING}"
  3.  
  4. 0800 - 0CFF
  5.     ":  {CARGO_NAME}: {RAW_STRING}"

Paste #pafao1c2t

  1. Standard industry: (0400, 0401 or no callback)
  2.   Requires
  3.     Livestock
  4.     Grain

Paste #pfkn8wd4b

  1. Default industry:
  2.   Requires:
  3.     Livestock
  4.     Grain

Paste #p0c88vvj1

  1. Default industry:
  2.   Requires:
  3.     Livestock
  4.     Grain

Paste #po9hcsvsy

  1. iff --git a/src/industry_gui.cpp b/src/industry_gui.cpp
  2. --- a/src/industry_gui.cpp
  3. +++ b/src/industry_gui.cpp
  4. @@ -720,7 +720,8 @@ public:
  5.                         y += 2 * FONT_HEIGHT_NORMAL;

Paste #pwwa4fqnb

  1. diff --git a/src/road.cpp b/src/road.cpp
  2. index 399971c..281cfd9 100644
  3. --- a/src/road.cpp
  4. +++ b/src/road.cpp
  5. @@ -247,3 +247,44 @@ bool RoadTypeIdentifier::UnpackIfValid(uint32 data)

Paste #pdivs5ok2

  1. 1. Subtypes available to specific company at current date
  2. -> Company::avail_roadtype

Paste #pn1c10m0z

  1. diff --git a/src/road.cpp b/src/road.cpp
  2. index 399971c..3f0d436 100644
  3. --- a/src/road.cpp
  4. +++ b/src/road.cpp
  5. @@ -247,3 +247,54 @@ bool RoadTypeIdentifier::UnpackIfValid(uint32 data)

Paste #p84xottja

  1. diff --git a/src/road.cpp b/src/road.cpp
  2. index 399971c..7205bc1 100644
  3. --- a/src/road.cpp
  4. +++ b/src/road.cpp
  5. @@ -247,3 +247,33 @@ bool RoadTypeIdentifier::UnpackIfValid(uint32 data)

Paste #pefxuwum1

  1. #!/bin/sh
  2. set -e -u -x
  3.  
  4. if test $# -ne 2
  5. then echo "repack_devzone <archive> <extension>"

Paste #piht1yn6k

  1. // define the newgrf
  2. grf {
  3.     grfid: "\97\87\EA\FE";
  4.     name: string(STR_GRF_NAME);
  5.     desc: string(STR_GRF_DESCRIPTION);

Paste #pwoydfwkd

  1. ingo@aeolus hg-test default-r70 (tip) ~/hg-test $ hg diff -b
  2. ingo@aeolus hg-test default-r70 (tip) ~/hg-test $ hg diff
  3. diff --git a/abc b/abc
  4. --- a/abc
  5. +++ b/abc