Loading

Paste #ptdil1uqf

  1.         bool hangar_in_o = false;
  2.         const Order *o;
  3.  
  4.         /* Is there at least an airport with a hangar in the orders? */
  5.         FOR_VEHICLE_ORDERS(v, o) {

Paste #phqik4jng

  1. combination of switch expression syntax with "[expression1, ...]" for multiple things, and switch/layout body syntax with "foo: bar;"
  2.  
  3. produce(switch_name, [
  4.   IORE: expression;
  5.   COAL: expression;

Paste #pgd6yvzjo

  1. //On the Company Value GS code:
  2. //-------------------------------
  3.  
  4. function SCPManager::ReceivedSettingCommand(message, self)
  5. {

Paste #pe2m5s2o1

  1.     if (this.companies == null) {
  2.         this.companies = {};
  3.         if (this.debug_messages >= 2) GSLog.Info("Initialized this.companies = " + this.companies);
  4.         for (local c_id = GSCompany.COMPANY_FIRST; c_id < GSCompany.COMPANY_LAST; c_id++) {
  5.             this.companies[c_id] <- null;

Paste #pknuegqgd

  1. diff --git a/projects/settingsgen_vs100.vcxproj b/projects/settingsgen_vs100.vcxproj
  2. index 30454d81f8..f3cd89be30 100644
  3. --- a/projects/settingsgen_vs100.vcxproj
  4. +++ b/projects/settingsgen_vs100.vcxproj
  5. @@ -77,5 +77,5 @@

Paste #prohqfkhe

  1.     /* Public methods */
  2.  
  3.     /**
  4.      * Is this a Company Value GS game?
  5.      * @return true, if the game has a GS that respond to Company Value GS

Paste #pu0ank4tv

  1. Develop: '/Users/andy2/workspace/dashboards/.'
  2. lxml: Static build requested.
  3. Installing lxml.
  4. lxml: CMMI libxml2 ...
  5. lxml: Using libxml2 download url ftp://xmlsoft.org/libxml2/libxml2-2.7.8.tar.gz

Paste #pz59hzdzl

  1. [SRC] Linking openttd.exe
  2. H:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.1/../../../../x86_64-w64-mingw32/bin/ld.exe: H:/msys64/mingw64/lib\libharfbuzz.a(libharfbuzz_la-hb-directwrite.o):(.text+0x0): multiple definition of `operator new(unsigned long long)'; H:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.1\libstdc++.a(new_op.o):(.text$_Znwy+0x0): first defined here
  3. H:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.1/../../../../x86_64-w64-mingw32/bin/ld.exe: H:/msys64/mingw64/lib\libharfbuzz.a(libharfbuzz_la-hb-directwrite.o):(.text+0x10): multiple definition of `operator new[](unsigned long long)'; H:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-min

Paste #pvekrsvxs

  1. production_version = 0 | 1
  2.  
  3. // 0 : behaviour as before (now)
  4. // 1 : new behaviour with up to 64 cargoes:

Paste #pwjr1knwo

  1.     function PerformTownActions() {
  2.         if (!cvgs.IsCompanyValueGSGame() || cvgs.GetCompanyIDRank(AICompany.ResolveCompanyID(AICompany.COMPANY_SELF)) == 1) {
  3.             local cargoId = Utils.getCargoId(cargoClass);
  4.  
  5.             local stationList = AIStationList(AIStation.STATION_ANY);

Paste #p4bk34jlw

  1. commit 41a620c1a7d51b0f97b243359a67955e6323f735
  2. Author: J0anJosep <juanjo.ng.83@gmail.com>
  3. Date:   Sat Mar 31 18:09:29 2018 +0200
  4.  
  5.     Fix #6805: (Doc) Road depot and stations (except rail stations and waypoints) do not use m8 for railtype.

Paste #p3jacqznc

  1. class CompanyValue extends GSController
  2. {
  3.     companies = null;
  4.     goal_mode = null;
  5.     goal_reached = null;

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

Paste #p2szdajkk

  1. $ curl -d "" http://localhost:8090/api/main/?time=2460000
  2. unsupported operation. POST: time,focus,move,view,fov
  3.  
  4. In [46]: url = "http://localhost:8090/api/main"
  5.     ...: a = requests.put(url, json={"time":2460000})

Paste #ppdvctj9y

  1.  
  2. // Global function for checking if SCP is enabled at all
  3. function IsSCPEnabled()
  4. {
  5.     return 1;