Loading

https://imgur.com/wQuDOi5

  1. static bool GrowingOnWateredTile(TileIndex tile)
  2. {
  3.     TrackBits water_track = TrackStatusToTrackBits(GetTileTrackStatus(tile, TRANSPORT_WATER, 0));
  4.     if (water_track != TRACK_BIT_NONE) {
  5.         if (water_track == TRACK_BIT_UPPER || water_track == TRACK_BIT_LOWER || water_track == TRACK_BIT_LEFT || water_track == TRACK_BIT_RIGHT) {

https://imgur.com/wQuDOi5

  1. static bool GrowingOnWateredTile(TileIndex tile)
  2. {
  3.     TrackBits water_track = TrackStatusToTrackBits(GetTileTrackStatus(tile, TRANSPORT_WATER, 0));
  4.     if (water_track != TRACK_BIT_NONE) {
  5.         if (water_track == TRACK_BIT_UPPER || water_track == TRACK_BIT_LOWER || water_track == TRACK_BIT_LEFT || water_track == TRACK_BIT_RIGHT) {

https://imgur.com/wQuDOi5

  1. static bool GrowingOnWateredTile(TileIndex tile)
  2. {
  3.     TrackBits water_track = TrackStatusToTrackBits(GetTileTrackStatus(tile, TRANSPORT_WATER, 0));
  4.     if (water_track != TRACK_BIT_NONE) {
  5.         if (water_track == TRACK_BIT_UPPER || water_track == TRACK_BIT_LOWER || water_track == TRACK_BIT_LEFT || water_track == TRACK_BIT_RIGHT) {

https://imgur.com/wQuDOi5

  1. https://imgur.com/wQuDOi5
  2.  
  3. static bool GrowingOnWateredTile(TileIndex tile)
  4. {
  5.     TrackBits water_track = TrackStatusToTrackBits(GetTileTrackStatus(tile, TRANSPORT_WATER, 0));

Paste #pwpmcjp7l

  1. diff --git a/src/script/api/squirrel_export.sh b/src/script/api/squirrel_export.sh
  2. index 92bd434b93..9a4d9ce7cf 100755
  3. --- a/src/script/api/squirrel_export.sh
  4. +++ b/src/script/api/squirrel_export.sh
  5. @@ -50,6 +50,7 @@ if [ -z "$1" ]; then

Paste #pwqa05nv2

  1.   Display-issue-with-STR_NEWS_PLANE_USES_TOO_SHORT_RUNWAY              5ed39d551 [origin/Display-issue-with-STR_NEWS_PLANE_USES_TOO_SHORT_RUNWAY: gone] Fix: Displaying issue with the message about airplanes heading to airports with short runways
  2.   EnsureNoShipFromDiagDirs                                             9a4d80383 [origin/EnsureNoShipFromDiagDirs] Add: EnsureNoShipFromDiagDirs
  3.   ScriptBridge-GetName                                                 f1efe276a [origin/ScriptBridge-GetName] Change: AI/GS ScriptBridge::GetName takes one extra parameter to refer the vehicle type
  4.   aircraft-hangar-issues                                               63c83d4af [origi

Paste #pbq3ammjp

  1. function Utils::GetVehicleID(vehicle_unitnumber, vehicle_type)
  2. {
  3.     if (!(vehicle_unitnumber > 0 && vehicle_unitnumber <= 0xFFFF)) return AIVehicle.VEHICLE_INVALID;
  4.     if (!(vehicle_type >= AIVehicle.VT_RAIL && vehicle_type <= AIVehicle.VT_AIR)) return AIVehicle.VEHICLE_INVALID;

Paste #pyrvrjpwp

  1.     modified:   bin/baseset/no_sound.obs
  2.     modified:   bin/baseset/orig_dos.obg
  3.     modified:   bin/baseset/orig_dos.obs
  4.     modified:   bin/baseset/orig_dos_de.obg
  5.     modified:   bin/baseset/orig_win.obg

Paste #p0irrknxg

  1.     function GetVehicleIndex(vehicle_unitnumber, vehicle_type)
  2.     {
  3.         if (!(vehicle_unitnumber > 0 && vehicle_unitnumber <= 0xFFFF)) return INVALID_VEHICLE;
  4.         if (!(vehicle_type >= AIVehicle.VT_RAIL && vehicle_type <= AIVehicle.VT_AIR)) return INVALID_VEHICLE;

Paste #peqw5lkx9

  1. /* $Id$ */
  2.  
  3. /*
  4.  * This file is part of OpenTTD.
  5.  * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.

Paste #pt1wnmoah

  1. $ '/d/OpenTTD/OpenTTD GitHub/OpenTTD/src/script/api/squirrel_export.sh'
  2. Generating for API 'ai' ...
  3. /d/OpenTTD: /d/OpenTTD: Is a directory
  4. Generating for API 'game' ...
  5. /d/OpenTTD: /d/OpenTTD: Is a directory

Paste #pg5gscoqu

  1.         local vehicleList = this.vehicleList();
  2.         local unitnumberList = AIList();
  3.         for (local vehicle = vehicleList.Begin(); !vehicleList.IsEnd(); vehicle = vehicleList.Next()) {
  4.             if (AIVehicle.IsValidVehicle(vehicle) && AIVehicle.GetVehicleType(vehicle) == AIVehicle.VT_ROAD) {
  5.                 local unitnumber = AIVehicle.GetUnitNumber(vehicle);

Paste #pnrowcvo8

  1. /* static */ VehicleID ScriptVehicle::GetVehicleID(UnitID unit_number, ScriptVehicle::VehicleType vehicle_type)
  2. {
  3.     EnforcePrecondition(INVALID_VEHICLE, vehicle_type == ScriptVehicle::VT_AIR || vehicle_type == ScriptVehicle::VT_ROAD || vehicle_type == ScriptVehicle::VT_RAIL || vehicle_type == ScriptVehicle::VT_WATER);
  4.     EnforcePrecondition(INVALID_VEHICLE, unit_number >= 0 && unit_number <= UINT16_MAX);

Paste #palq5u0uf

  1.         local vehicleList = this.vehicleList();
  2.         local unitnumberList = AIList();
  3.         for (local vehicle = vehicleList.Begin(); !VehicleList.IsEnd(); vehicle = vehicleList.Next()) {
  4.             if (AIVehicle.IsValidVehicle(vehicle) && AIVehicle.GetVehicleType(vehicle) == AIVehicle.VT_ROAD) {
  5.                 local unitnumber = AIVehicle.GetUnitNumber(vehicle);

Paste #pbpxyn75a

  1. Changelog for default-r0.4.2:274
  2. - Feature: Vintage Air Depots and Air Stations suitable for early games with airships
  3. - Feature: Vintage Commuter airport suitable for early games.
  4. - Feature: Parameter to disable airport fences, optionally dependent on adjacent objects and/or stations; trim some trailing whitespace
  5. - Feature: Small Seaplane Airport