Loading

Paste #pkhxnnuq6

  1. ./newgrf/road-hog-r620.tar
  2. ./content_download/newgrf/Road_Hog-alpha4.tar
  3. ./content_download/newgrf/Road_Hog-alpha16.tar
  4. ./content_download/newgrf/Road_Hog-alpha12.tar
  5. ./content_download/newgrf/Roadvehicle_date_mod_v2_-v2.tar

Paste #pj4zarksi

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

Paste #p0cx02dud

  1. ReserveChangeInfo currently:
  2.             case GSF_ROADTYPES:
  3.                 cir = RoadTypeReserveInfo(index, numinfo, prop, buf);
  4.                 break;

Paste #pwmdu3hy1

  1. diff --git a/src/newgrf.cpp b/src/newgrf.cpp
  2. index ade7c00..de7a4e7 100644
  3. --- a/src/newgrf.cpp
  4. +++ b/src/newgrf.cpp
  5. @@ -4262,7 +4262,7 @@ static ChangeInfoResult RoadTypeChangeInfo(uint id, int numinfo, int prop, ByteR

Paste #p1l57xrf7

  1. Changes + some indication of timing for a non-representative image
  2.  
  3. * Base version 2:52    (1024x1024, with 80% or so lot of transparent pixels)
  4. * Print only the row number 2:31
  5. * Do not perform superfluous checks 2:32    (also drops math.sqrt)

Paste #ph9qo3swv

  1. commit c15dbd719a326be288d089de390d9da595d107a7
  2. Author: frosch <frosch@openttd.org>
  3. Date:   Sun Oct 30 13:51:38 2016 +0100
  4.  
  5.     -Fix: Loading of Action2 for road and tram types.

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

  1.     if (!IsTileFlat(tile) || !IsTileFlat(tile2)) {
  2. //      int z_upper_corner_n = TileHeight(tile);
  3. //      int z_upper_corner_s = TileHeight(TileAddByDiagDir(tile, AxisToDiagDir(axis == AXIS_X ? AXIS_Y : AXIS_X)));
  4.         int z_slope1;
  5.         Slope slope1 = GetTileSlope(tile, &z_slope1);

Paste #ppcle1nv7

  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)

OpenTTD engines in JSON

  1. {
  2. "engines": [
  3.   {
  4.     "index": 0,
  5.     "cargo_type": 0,

Paste #p41r06sx1

  1. /**
  2.  * Append an orthogonal area of cleared tiles in _cleared_object_areas, then return with the list.
  3.  * @param cleared_tile The tile being cleared, which then causes the whole object to be cleared.
  4.  * @param coa_tile The top most tile of the area to be appended as cleared.
  5.  * @param coa_w The width (x) of the area to be appended as cleared.

Paste #padmgkfwe

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

Paste #pz4l5rola

  1. diff -r d69c8aaf6db6 nml/global_constants.py
  2. --- a/nml/global_constants.py   Thu Jan 07 14:01:41 2016 +0100
  3. +++ b/nml/global_constants.py   Sun Oct 16 17:44:08 2016 +0200
  4. @@ -114,22 +114,26 @@
  5.      'TRAIN_FLAG_FLIP' : 3,

Paste #pcgfb4o2f

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

blender boolean test

  1. ### set object as Active
  2. #bpy.context.scene.objects.active = bpy.data.objects['Cube.'+objNumber]
  3.    
  4. ### add Boolean and set the target to Cube
  5. bpy.ops.object.modifier_add(type='BOOLEAN')