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

  1. (bin32)nml-andythenorth(NotRoadTypes)$ make
  2. /usr/bin/env python3 setup.py build_ext --inplace
  3. /Users/andy/Documents/OTTD_graphics/bin32/lib/python3.2/site-packages/setuptools/dist.py:292: UserWarning: The version specified ('unknown') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  4.   "details." % self.metadata.version
  5. running build_ext

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

  1. /**
  2.  * Build a Bridge
  3.  * @param end_tile end tile
  4.  * @param flags type of operation
  5.  * @param p1 packed start tile coords (~ dx)

Paste #ptvuv4bkz

  1. Window *w;
  2. +   WindowEvent e;
  3. +
  4. +   e.we.place.select_method = method;
  5. +   e.we.place.select_proc   = process;

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

  1.     if (!IsTileFlat(tile_cur)) {
  2.         if (GetTileZ(tile) == 0 && GetTileZ(tile_cur) == 0) return_cmd_error(STR_ERROR_SITE_UNSUITABLE);
  3.         int z_tile = GetTileMaxZ(tile);
  4.         int z_tile_cur = GetTileMaxZ(tile_cur);
  5.         bool z = Delta(z_tile_cur, z_tile) == 0;

Paste #pvgnf721h

  1. /**
  2.  * Build a dock/haven.
  3.  * @param tile tile where dock will be built
  4.  * @param flags operation to perform
  5.  * @param p1 (bit 0) - allow docks directly adjacent to other docks.

Paste #pqaazgxp7

  1. Index: src/object_cmd.cpp
  2. ===================================================================
  3. --- src/object_cmd.cpp  (revision 27655)
  4. +++ src/object_cmd.cpp  (working copy)
  5. @@ -770,6 +770,8 @@

Paste #psufuz15j

  1.             /* The tile owner of LOCK_PART_LOWER and LOCK_PART_UPPER was either
  2.              * the owner of the water or the owner of the lock. The tile owner of
  3.              * LOCK_PART_MIDDLE was the real owner of the lock. */
  4.             if (IsTileType(t, MP_WATER) && IsLock(t)) {
  5.                 if (GetWaterClass(t) == WATER_CLASS_CANAL) {

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 {

Paste #pfvunlauc

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

Paste #prelurdeq

  1.             } else {
  2.                 /* Clear the tiles, but do not affect town ratings */
  3.                 CommandCost ret = DoCommand(cur_tile, 0, 0, DC_AUTO | DC_NO_TEST_TOWN_RATING | DC_NO_MODIFY_TOWN_RATING, CMD_LANDSCAPE_CLEAR);
  4.  
  5.                 if (ret.Failed()) {

Paste #pby9m1im8

  1.     if (HasTileWaterGround(tile) && GetWaterClass(tile) == WATER_CLASS_CANAL) {
  2.         if (IsDockTile(tile) || IsBuoyTile(tile) || IsOilRig(tile)) {
  3.             if (GetCanalOwner(tile) == old_owner) {
  4.                 Company::Get(old_owner)->infrastructure.water--;
  5.                 if (new_owner != INVALID_OWNER) {