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

opf find depot

  1. FindDepotData OPFShipFindNearestDepot(const Ship *v, int max_distance) // todo
  2. {
  3.     TileIndex tile = v->tile;
  4.     Trackdir trackdir = v->GetVehicleTrackdir();
  5.     DiagDirection enterdir = TrackdirToExitdir(trackdir);

Paste #pjqfcilc7

  1. CmdConvertRoad
  2.  
  3. upgrade subtype when adding roadbits only if compatible
  4.  
  5. script api

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

  1. Index: src/ai/ai_scanner.cpp
  2. ===================================================================
  3. --- src/ai/ai_scanner.cpp   (revision 27582)
  4. +++ src/ai/ai_scanner.cpp   (working copy)
  5. @@ -136,6 +136,20 @@

Paste #pojcblf4i

  1.     /**
  2.      * Some data on this window has become invalid.
  3.      * @param data Information about the changed data.
  4.      * @param gui_scope Whether the call is done from GUI scope. You may not do everything when not in GUI scope. See #InvalidateWindowData() for details.
  5.      */

Paste #pae4vz7u8

  1. 4 blocks, each:
  2.   14 foundations to make flat slope on top of the 14 slopes
  3.    8 foundations to make a slope inclined
  4.  
  5. 4 blocks, each:

Paste #pav92t6hl

  1. /**
  2.  * Is this tile a target for ships to get to a nearby dock?
  3.  * @param tile Tile to query
  4.  * @param diagdir Diagonal direction to compare against or INVALID_DIAGDIR
  5.  * @return True if is a target for ships to get to this tile

Paste #p0mtkypys

  1.             } else {
  2.                 if ((ind_behav & INDUSTRYBEH_BUILT_ONWATER) && _settings_game.construction.build_on_competitor_canal && IsWaterTile(cur_tile) && IsCanal(cur_tile)) {
  3.                     CommandCost ret = CheckTileOwnership(cur_tile);
  4.                     if (ret.Failed() && GetTileOwner(cur_tile) >= MAX_COMPANIES) return ret;
  5.                 } else {

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')

Paste #pnouumjam

  1. Index: projects/openttd_vs140.vcxproj
  2. ===================================================================
  3. --- projects/openttd_vs140.vcxproj  (revision 27543)
  4. +++ projects/openttd_vs140.vcxproj  (working copy)
  5. @@ -1,4 +1,4 @@

Paste #pnrs6ccbj

  1.     bool add_cost;
  2.     /* At this point we got a flat tile with water at the ground and no bridge over it. Check for ownership */
  3.     if (IsWaterTile(tile) && IsCanal(tile)) {
  4.         ret = EnsureNoVehicleOnGround(tile);
  5.         if (ret.Failed()) return ret;

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