Loading

Paste #psmpbbtt2

  1. static const Depot *FindClosestShipDepot(const Vehicle *v, uint max_distance)
  2. {
  3.     /* Find the closest depot */
  4.     const Depot *depot;
  5.     const Depot *best_depot = NULL;

Paste #puyzaw735

  1. grf {
  2.   grfid: "frVS";
  3.   name: string(STR_GRF_NAME);
  4.   desc: string(STR_GRF_DESC);
  5.   version: 1;

Paste #pktjrjt79

  1. Savegame version: 188 0
  2. Chunk: GLOG        58 bytes
  3. Chunk: MAPS         8 bytes
  4. Chunk: MAPT   2097152 bytes
  5. Chunk: MAPO   2097152 bytes

Paste #p4p3q5lro

  1. static const SpriteID SPR_TRAMWAY_BASE                 = ...
  2. static const SpriteID SPR_TRAMWAY_OVERLAY              = SPR_TRAMWAY_BASE + 4;
  3. static const SpriteID SPR_TRAMWAY_TRAM                 = SPR_TRAMWAY_BASE + 27;
  4. static const SpriteID SPR_TRAMWAY_SLOPED_OFFSET        = 11;
  5. static const SpriteID SPR_TRAMWAY_BUS_STOP_DT_Y_W      = SPR_TRAMWAY_BASE + 25;

Paste #pjv8ib4iq

  1. Index: src/water_cmd.cpp
  2. ===================================================================
  3. --- src/water_cmd.cpp   (revision 27527)
  4. +++ src/water_cmd.cpp   (working copy)
  5. @@ -489,7 +489,9 @@

friendly river gen

  1. Index: src/landscape.cpp
  2. ===================================================================
  3. --- src/landscape.cpp   (revision 27795)
  4. +++ src/landscape.cpp   (working copy)
  5. @@ -1008,7 +1008,7 @@

Paste #psgp4tw79

  1.     1.  swap RoadTypes enum to version given by Alberth, with StreetTypes and TramTypes, and methods to set / get / check those from the RoadTypes instance
  2.     a.  substitute RoadNotTypes whilst patching, then replace later (RoadNotTypes won’t cause search term conflict with RoadTypes)
  3.     b. to patch RoadTypes, there are 78 places consuming RoadTypes enum
  4.     i.  move the storage to m4 as part of this, and deprecate the two existing road/tram bits
  5.     ii. most of the consumers of RoadTypes don’t look hard to patch

Paste #pibiiljyr

  1. replace 1275-1290: normal light
  2.  
  3. replace_new:
  4.   entrance light
  5.   exit light

Paste #pque1prb9

  1. per group: read and green alternating for:
  2.     SIGNAL_TO_SOUTHWEST,
  3.     SIGNAL_TO_NORTHEAST,
  4.     SIGNAL_TO_SOUTHEAST,
  5.     SIGNAL_TO_NORTHWEST,

Paste #pkap1qfo6

  1. Index: src/water_cmd.cpp
  2. ===================================================================
  3. --- src/water_cmd.cpp   (revision 27527)
  4. +++ src/water_cmd.cpp   (working copy)
  5. @@ -489,7 +489,9 @@

Paste #pdsbqvchh

  1. diff --git a/src/music/cocoa_m.cpp b/src/music/cocoa_m.cpp
  2. index a201984..301dbc2 100644
  3. --- a/src/music/cocoa_m.cpp
  4. +++ b/src/music/cocoa_m.cpp
  5. @@ -68,11 +68,7 @@ static void DoSetVolume()

water coasts

  1.  
  2. template template_WATER_COASTS_x1(y) {
  3.     [ 5*64, 6400+80*y, 64, 80, -31, -24]
  4.     [ 7*64, 6400+80*y, 64, 80, -31, -24]
  5.     [10*64, 6400+80*y, 64, 80, -31, -24]

Paste #pwmvwgley

  1. Index: src/engine.cpp
  2. ===================================================================
  3. --- src/engine.cpp  (revision 27595)
  4. +++ src/engine.cpp  (working copy)
  5. @@ -902,7 +902,7 @@

Paste #pdrwlvexa

  1. 4>C:\Program Files (x86)\Windows Kits\8.1\Include\um\shobjidl.h(1852): error C2011: 'FileOperation': 'enum' type redefinition (compiling source file ..\src\os\windows\win32.cpp)
  2. 4>  d:\openttd\trunk\src\fileio_type.h(28): note: see declaration of 'FileOperation' (compiling source file ..\src\os\windows\win32.cpp)
  3. 4>C:\Program Files (x86)\Windows Kits\8.1\Include\um\shobjidl.h(34115): error C2011: 'FileOperation': 'enum' type redefinition (compiling source file ..\src\os\windows\win32.cpp)
  4. 4>  C:\Program Files (x86)\Windows Kits\8.1\Include\um\shobjidl.h(1852): note: see declaration of 'FileOperation' (compiling source file ..\src\os\windows\win32.cpp)

FuelCircuit smelting

  1. H4sIAAAAAAAA/+Vd224jOQ79lUYed51G6VK+YNbzssD+wD4OFoE7qek2kNiB4zSmEeTf13alZ1KiSJGn1E5P9zzMYOKSSiSlwyNSVN1s391ur1e3766WT91m
  2. v96vu4fl09NmddctL/a71ebhfrvbX37obvcXk/vtw+GB7Wb59Mfysm0nXw7/fn6eqJ6Ox6enz5Ob9a67Pv3ZK1u2QsvVbr3/dNft19eX19u7D+vNar/dpR2E
  3. 9y9DfdXFdHK93ex329urD92n1ef1drd8+quzq8OPN6ceDsr4fb172F89rD9uVrfLp/2X+8N7P693+8fV7cWkH0b/42W3uv508Xzs+WG/2uyX0zDZ3ne71emN
  4. F/+4mGwf9/ePur6ai+fnU1ebfsSHgfx24S7+t3z6uOu6g2S9ub5crW+Wrjk++9uFz//sfTO5Xu+uH9f709PPx390ug+w1Tzc0gktH+5v1/t9R0x8ahPft8j7
  5. GjI5fGZyfFXgnzPDMjGa17PiYIzt3f1qd5yqy4tfjz+99N1tVh9uu6ub9cPxv8v97rH787ddt7q5+rTa3BxHsD8Y92H4+9e/9g/ebW+6ZZOfP7vuRpoe/jA3
  6. MnPILdA51FB7flP9uoF+//X30G/ktcvM+bg4zVtozsc5ujrjlK4WZcvZuHdCLTO+o/bc6z