Loading

Paste #pix6owfod

  1. diff -r 96b8395ca393 nml/free_number_list.py
  2. --- a/nml/free_number_list.py   Thu May 18 20:58:11 2017 +0200
  3. +++ b/nml/free_number_list.py   Mon Jun 19 20:26:10 2017 +0200
  4. @@ -69,7 +69,7 @@
  5.          @return: Some free number.

Paste #pbxt65dfc

  1. NML today:
  2.  
  3. cargotable                                                            { }
  4. template            identifier (...)                                  { }
  5. spritset                       (identifier, ...)                      { }

Paste #px3iqc86n

  1. AI name       (version);  company value; profitable acs; served stations; best last years;  best ac;   avg/ac
  2.  
  3. AdmiralAI         (v25);
  4. Chopper           (v10);   £601,298,115;      739/  971;       847/1,645;    +£12,544,326;  £23,354;  £12,919
  5. CluelessPlus      (v37); £1,367,198,492;      343/  583;        50/   65;    +£33,432,664; £287,125;  £57,346

Paste #pntsd7s9a

  1. Index: src/station_cmd.cpp
  2. ===================================================================
  3. --- src/station_cmd.cpp (revision 27632)
  4. +++ src/station_cmd.cpp (working copy)
  5. @@ -2504,6 +2504,21 @@

Paste #pixetasle

  1. /**
  2.  * Ensure this tile is not a target for ships to get to a nearby dock.
  3.  * @note Also takes into account Oil Rigs under construction.
  4.  * @param tile Tile to query
  5.  * @param diagdir Optional diagonal direction to look for axis compatibility.

Paste #py1q66axy

  1. /**
  2.  * Build a single piece of rail
  3.  * @param tile tile  to build on
  4.  * @param flags operation to perform
  5.  * @param p1 railtype of being built piece (normal, mono, maglev)

Paste #pb3j5htid

  1. static inline void SetCanalOwner(TileIndex t, Owner o)
  2. {
  3.     assert(GetWaterClass(t) == WATER_CLASS_CANAL);
  4.     assert(o != OWNER_TOWN);
  5.     assert(o != OWNER_DEITY);

Paste #pidwxoqtk

  1. switch (FEAT_ROADVEHS, SELF, mk1_open_liquid_graphics, cargo_classes & bitmask(CC_LIQUID)) {
  2.   bitmask(CC_LIQUID): spritegroup_mki_t_open_drum;
  3.   default:            spritegroup_mki_t_open;
  4. }

Paste #pu3qrnwrg

  1. Index: src/newgrf_text.cpp
  2. ===================================================================
  3. --- src/newgrf_text.cpp (revision 27702)
  4. +++ src/newgrf_text.cpp (working copy)
  5. @@ -527,6 +527,7 @@

Paste #pdk6cftpp

  1. Index: src/train_cmd.cpp
  2. ===================================================================
  3. --- src/train_cmd.cpp   (revision 27760)
  4. +++ src/train_cmd.cpp   (working copy)
  5. @@ -3901,11 +3901,21 @@

Paste #puldgo83o

  1. Index: src/saveload/newgrf_sl.cpp
  2. ===================================================================
  3. --- src/saveload/newgrf_sl.cpp  (revision 27770)
  4. +++ src/saveload/newgrf_sl.cpp  (working copy)
  5. @@ -96,8 +96,14 @@

Paste #pwme4lx6r

  1.             Slope tileh_north_aqueduct = GetTileSlope(tile_start);
  2.             if (tileh_north_aqueduct != ComplementSlope(tileh_end)) {
  3.                 Slope tileh_north_result;
  4.                 switch (tileh_end) {
  5.                     case SLOPE_NE:

Paste #p2qoiab63

  1. /home/lordaro/dev/openttd/src/core/smallstack_type.hpp:221:27: warning: instantiation of
  2.       variable 'SmallStack<unsigned short, unsigned short, 65535, 8, 65533>::_pool' required
  3.       here, but no definition is available [-Wundefined-var-template]
  4.                         ThreadMutexLocker lock(_pool.GetMutex());
  5.                                                ^

NARS_ADDON_SET.nml

  1. # 1 "NARS_ADDON_SET.pnml"
  2. # 1 "<built-in>"
  3. # 1 "<command-line>"
  4. # 1 "NARS_ADDON_SET.pnml"
  5. /*

Paste #p9aqp8gte

  1. /*
  2.  * This file is aimed to provide an example on how to code a roadtype 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.  *