Loading

friendly river gen

  1. Index: src/landscape.cpp
  2. ===================================================================
  3. --- src/landscape.cpp   (revision 27795)
  4. +++ src/landscape.cpp   (working copy)
  5. @@ -992,6 +992,32 @@

Paste #peyla6hpk

  1. rc/pseudo.cpp:719:100: Fehler: no match for »operator(operand types are »std::_Bind_helper<false, long unsigned int (std::vector<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char> > >::*)() const noexcept, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<long unsigned int (std::vector<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char> > >::*)() const noexcept>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}« and »std::_Bind_helper<false, long unsigned int (std::vector<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::b

gcc8 warnings

  1. [SRC] DEP CHECK (all files)
  2. [SRC] Compiling 3rdparty/md5/md5.cpp
  3. [SRC] Compiling 3rdparty/squirrel/sqstdlib/sqstdaux.cpp
  4. [SRC] Compiling 3rdparty/squirrel/sqstdlib/sqstdmath.cpp
  5. [SRC] Compiling 3rdparty/squirrel/squirrel/sqapi.cpp

Paste #ponrjzleh

  1. #!/usr/bin/env python3
  2. import numpy as np
  3.  
  4. # Storage needed without normal storage and 1st level 20 great storage:
  5. needed_storage = 600000

Paste #puld1fyfp

  1. model                   capacity      cost   running cost   life lifetime profit
  2.  
  3. Sampson U52              25p/ 4m    £38,281     £3,187/yr    20         £291,480
  4. Bakewell Cotswald LB-3   30p/ 6m    £41,015     £3,675/yr    30         £563,677
  5. Coleman Count            65p/ 8m    £41,015     £3,750/yr    24         £953,220

Paste #prws9vuhz

  1. Index: src/autoreplace_cmd.cpp
  2. ===================================================================
  3. --- src/autoreplace_cmd.cpp (revision 27931)
  4. +++ src/autoreplace_cmd.cpp (working copy)
  5. @@ -78,11 +78,6 @@

Paste #phpkcrryy

  1.         spritelayout aluminium_plant_spritelayout_1 {
  2.            
  3.  
  4.             // industry-specific ground (snow aware)
  5.             // normal

FindClosestReachableShipD

  1. Index: src/pathfinder/yapf/yapf.h
  2. ===================================================================
  3. --- src/pathfinder/yapf/yapf.h  (revision 27829)
  4. +++ src/pathfinder/yapf/yapf.h  (working copy)
  5. @@ -97,4 +97,14 @@

Paste #pjmafahbk

  1. diff --git a/src/tgp.cpp b/src/tgp.cpp
  2. index 02621f127..6b6c9708f 100644
  3. --- a/src/tgp.cpp
  4. +++ b/src/tgp.cpp
  5. @@ -881,10 +881,10 @@ static void HeightMapNormalize()

Paste #pq65cf6fi

  1. Index: src/aircraft_cmd.cpp
  2. ===================================================================
  3. --- src/aircraft_cmd.cpp    (revision 27927)
  4. +++ src/aircraft_cmd.cpp    (working copy)
  5. @@ -634,6 +634,12 @@

Paste #pzkccdaam

  1. Severity    Code    Description Project File    Line    Suppression State   Detail Description
  2. Error (active)      more than one operator "*" matches these operands:  openttd d:\OpenTTD\OpenTTD-master\src\script\api\script_airport.cpp 171                 built-in operator "arithmetic * arithmetic"
  3.             function template "OverflowSafeInt<T, T_MAX, T_MIN> operator*<T,T_MAX,T_MIN>(int64 a, OverflowSafeInt<T, T_MAX, T_MIN> b)"
  4.             function template "OverflowSafeInt<T, T_MAX, T_MIN> operator*<T,T_MAX,T_MIN>(int a, OverflowSafeInt<T, T_MAX, T_MIN> b)"
  5.             function template "OverflowSafeInt<T, T_MAX, T_MIN> operator*<T,T_MAX,T_MIN>(uint a, OverflowSafeInt<T, T_MAX, T_MIN> b

Paste #pe7t5aq3f

  1. #!/usr/bin/env python3
  2.  
  3. def conflicting(a, b):
  4.     return any([not a.isdisjoint(i) for i in b])

Paste #pxizix4uv

  1. switch (FEAT_ROADVEHS, SELF, switch_e4_style,
  2.   max((date_of_last_service - random_bits*3)/365 - 2, build_year)
  3. ){  //style by build year
  4.   0..1979:    spritegroup_d1_tram_04;
  5.   1980..1984: spritegroup_d2_tram_04;

Paste #pksaypzcl

  1. >>> s=""
  2. >>> for a in ["45","48","01","01"]:
  3. ...  s+=chr(int(a,16))
  4. ...
  5. >>> s
  6. 'EH\x01\x01'

Paste #plmhkfy3k

  1. static void CheckIfAircraftNeedsService(Aircraft *v)
  2. {
  3.     if (Company::Get(v->owner)->settings.vehicle.servint_aircraft == 0 || !v->NeedsAutomaticServicing()) return;
  4.     if (v->IsChainInDepot()) {
  5.         VehicleServiceInDepot(v);