Loading

Paste #pyey7yzjx

  1. diff -r 5ec05bde6098 nml/grfstrings.py
  2. --- a/nml/grfstrings.py Sun Oct 16 19:30:32 2016 +0200
  3. +++ b/nml/grfstrings.py Thu Dec 22 21:09:30 2016 +0100
  4. @@ -207,6 +207,7 @@
  5.  'CARGO_LONG':     {'unicode': r'\UE09A\1B', 'ascii': r'\9A\1B', 'size': 2 * 2},

Paste #ptvy7ysmq

  1. Index: lang/english.txt
  2. ===================================================================
  3. --- lang/english.txt    (revision 27764)
  4. +++ lang/english.txt    (working copy)
  5. @@ -3689,7 +3689,9 @@

Paste #pwcgpradb

  1. [SRC] Linking openttd
  2. station.o:(.bss+0x60): multiple definition of `SmallStack<unsigned short, unsigned short, (unsigned short)65535, (unsigned short)8, (unsigned short)65533>::_pool'
  3. aircraft_cmd.o:(.bss._ZN10SmallStackIttLt65535ELt8ELt65533EE5_poolE[_ZN10SmallStackIttLt65535ELt8ELt65533EE5_poolE]+0x0): first defined here
  4. collect2: error: ld returned 1 exit status

RATT - Available RoadSubT

  1. A company can build a RoadSubType when:
  2. - A vehicle for it is available for purchase to the company
  3. - The company owns a vehicle for that RoadSubType but the vehicles are expired (like RailTypes)
  4. - The RoadSubType doesn't have vehicles bound to it but is compatible with other RoadSubTypes, like OFFR/DIRT, HWAY

Paste #pq0jfvbnu

  1. Index: src/gfxinit.cpp
  2. ===================================================================
  3. --- src/gfxinit.cpp (revision 27730)
  4. +++ src/gfxinit.cpp (working copy)
  5. @@ -230,6 +230,14 @@

Paste #pmcpcamvc

  1. Index: src/saveload/afterload.cpp
  2. ===================================================================
  3. --- src/saveload/afterload.cpp  (revision 27758)
  4. +++ src/saveload/afterload.cpp  (working copy)
  5. @@ -718,12 +718,14 @@

Paste #pikzlfahy

  1. - Feature: increase cargo ID range from 32 to 64, to support 64 cargos in OpenTTD 11ab3c4ea2f6a6d29efda8c9ba2af04194621ea7
  2. - Change: Support more DCxx strings for OpenTTD r27769.
  3. - Change: Support more DCxx strings for OpenTTD r27769.
  4. - Add: Properties for vehicle sprite stack.
  5. - Add: CB_FLAG_MORE_SPRITES, PALETTE_IDENTITY

opf find depot

  1. FindDepotData OPFShipFindNearestDepot(const Ship *v, int max_distance)
  2. {
  3.     FindDepotData fdd;
  4.  
  5.     Trackdir trackdir = v->GetVehicleTrackdir();

Paste #pifab1uny

  1. /*
  2.  * CBA98 7654 3210
  3.  *             xxx <- RoadFlags
  4.  *   yyy xxxx x    <- RoadTypeIdentifier
  5.  *     x           <- _one_way_button_clicked
  6. */

FindClosestReachableShipD

  1. Index: src/pathfinder/npf/npf.cpp
  2. ===================================================================
  3. --- src/pathfinder/npf/npf.cpp  (revision 27833)
  4. +++ src/pathfinder/npf/npf.cpp  (working copy)
  5. @@ -536,8 +536,13 @@

Paste #pt8sdmz22

  1. diff -r 1cb585403212 nml/grfstrings.py
  2. --- a/nml/grfstrings.py Sat Mar 04 19:32:22 2017 +0100
  3. +++ b/nml/grfstrings.py Sat Mar 04 19:57:24 2017 +0100
  4. @@ -944,7 +944,7 @@
  5.              parsed_string += SET_STRING_GENDER[str_type] + '\\{:02X}'.format(self.genders[self.strings[string_id].gender])

Paste #piitjc2nq

  1. Option 1:
  2. Define road/tramtype using different "allocate label" properties.
  3. 0x07: Allocate road label
  4. 0x08: Allocate tram label

Bankrupt before Infrastru

  1. Index: src/economy.cpp
  2. ===================================================================
  3. --- src/economy.cpp (revision 27657)
  4. +++ src/economy.cpp (working copy)
  5. @@ -654,10 +654,17 @@

Paste #pqo1srqxj

  1. static TreeType GetRandomTreeType(TileIndex tile, uint seed)
  2. {
  3.     uint8 th = TileHeight(tile);
  4.     uint limited_seed = seed / 16;
  5.     uint8 no_trees_height = _settings_game.game_creation.no_trees_height - limited_seed;

Paste #pdynurwc5

  1. /**
  2.  * Build a ship depot.
  3.  * @param tile tile where ship depot is built
  4.  * @param flags type of operation
  5.  * @param p1 bit 0 depot orientation (Axis)