Loading

Paste #pqyyrmave

  1. /**
  2.  * Make a lock section.
  3.  * @param t Tile to place the water lock section.
  4.  * @param lock_owner Owner of the lock.
  5.  * @param canal_owner Owner of the canal (only set if it's placed on canal).

Paste #pjwi4vlhg

  1. Index: source.list
  2. ===================================================================
  3. --- source.list (revision 22430)
  4. +++ source.list (working copy)
  5. @@ -302,6 +302,7 @@

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 #pwmbeu9w0

  1. /**
  2.  * Make a ship depot section.
  3.  * @param t    Tile to place the ship depot section.
  4.  * @param owner_depot Owner of the depot.
  5.  * @param owner_canal Owner of the canal (only set if it's placed on canal).

Paste #p6z7gacvt

  1.             Slope tileh_end_aqueduct = GetTileSlope(tile_end);
  2.             if (tileh_end_aqueduct != ComplementSlope(tileh_start)) {
  3.                 switch (tileh_start) {
  4.                     case SLOPE_NE:
  5.                         switch (tileh_end_aqueduct) {

Paste #pcgfb4o2f

  1. uint32 RoadTypeIdentifier::Pack() const
  2. {
  3.     assert(this->basetype < ROADTYPE_END);
  4.     assert(this->subtype < ROADSUBTYPE_END);

Paste #p2h6nlpz3

  1. NotRoadType Spec
  2.  
  3. Essential
  4. • split RoadType to StreetType and TramType
  5. • per tile, one StreetType and one TramType may be present

Paste #pvn1rcd5d

  1. diff --git a/src/economy_type.h b/src/economy_type.h
  2. index 7e7a572..27982a3 100644
  3. --- a/src/economy_type.h
  4. +++ b/src/economy_type.h
  5. @@ -111,6 +111,7 @@ enum Price {

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 #padmgkfwe

  1. static inline RoadTypeIdentifier GetRoadTypeRoad(TileIndex t)
  2. {
  3.     return RoadTypeIdentifier(GB(_m[t].m4, 0, 4));
  4. }

Paste #p8m1zbm2i

  1. types
  2.   OFFR  off-road               (only vehicletype?)
  3.   ROAD  normal road            (tracktype and vehicletype)
  4.   HAUL  heavy hauling road     (tracktype and vehicletype)

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 #phnkvt9ud

  1. Index: src/economy.cpp
  2. ===================================================================
  3. --- src/economy.cpp (revision 27655)
  4. +++ src/economy.cpp (working copy)
  5. @@ -1109,7 +1109,7 @@

wire templates

  1. template tmpl_wire_normal(file) {
  2.     [ 10, 10, 64, 47, -31, -16, file]
  3.     [ 80, 10, 64, 47, -31, -16, file]
  4.  
  5.     [150, 10, 64, 47, -31, -16, file]

Paste #pb70f60wf

  1. /**
  2.  * Build a piece of canal.
  3.  * @param tile end tile of stretch-dragging
  4.  * @param flags type of operation
  5.  * @param p1 start tile of stretch-dragging