Loading

Paste #pu4p4v5p3

  1. diff --git a/_layouts/default.html b/_layouts/default.html
  2. index badb9a7..d35ab8c 100644
  3. --- a/_layouts/default.html
  4. +++ b/_layouts/default.html
  5. @@ -38,7 +38,7 @@

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

  1. case (current slope) {
  2.   N: offsetX=-1; offsetY=-1; break;
  3.   W: offsetX= 1; offsetY=-1; break;
  4.   S: offsetX= 1; offsetY= 1; break;
  5.   E: offsetX=-1; offsetY= 1; break;

Paste #pn22rlzoh

  1. <body style="background: #e6e6df; padding-top: 1em; font-family: lato, arial, sans-serif;">
  2.  
  3. <div style="margin-left: auto;margin-right: auto;width: 1200px;">
  4.  
  5. <!--! rest of page content here -->

Paste #pmacpimxt

  1. class SCPClient_CompanyValueGS {
  2.  
  3.     /* Private members variables */
  4.     static COMMAND_SET = "Company Value GS";

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

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

  1. ***************
  2. *** 37,42 ****
  3.   #include "core/backup_type.hpp"
  4.   #include "zoom_func.h"
  5.   #include "disaster_vehicle.h"

SCPLib Message.GetBoolDat

  1. function _SCPLib_Message::GetBoolData(index)
  2. // Get bool data at the index position in Data. If Data doesn't exist or the
  3. // index is invalid, null is returned. If data exist, but is not of the type
  4. // integer, null will be returned. Yes, it is not a typo. Bools are transmitted
  5. // as integers, however this function does check that the received integer is

Paste #pej6sox8c

  1. import sys
  2. from PIL import Image
  3.  
  4. im = Image.open(sys.argv[1])
  5. print("File: {}".format(sys.argv[1]))

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

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

  1. struct { TrackBits next_track_1, next_track_2; } table[] = {
  2.     /*         t1x,t1y,t2x,t2y,              next_track_1          ,        next_track_2             opposite_tile */
  3.     /* CORNER_W  0,  1, -1,  0,  */ { TRACK_BIT_X | TRACK_BIT_RIGHT, TRACK_BIT_Y | TRACK_BIT_RIGHT }, /* -1,  1 */
  4.     /* CORNER_S  1,  0,  0,  1,  */ { TRACK_BIT_Y | TRACK_BIT_UPPER, TRACK_BIT_X | TRACK_BIT_UPPER }, /*  1,  1 */
  5.     /* CORNER_E  0, -1,  1,  0,  */ { TRACK_BIT_X | TRACK_BIT_LEFT , TRACK_BIT_Y | TRACK_BIT_LEFT  }, /*  1, -1 */