Loading

Paste #pdibzubsj

  1.  
  2. switch( FEAT_CANALS, SELF, switch_riverbank_grid_terrain_arctic,
  3.   [
  4.    STORE_TEMP( (tile_height > (snowline_height - 2)), 0),
  5.    STORE_TEMP( LOAD_TEMP(0) + (tile_height > (snowline_height - 1)), 0),

Pool-basic-test

  1. from multiprocessing import Pool
  2. import multiprocessing
  3.  
  4. def cube(x):
  5.   return x**3

Paste #plisdmpum

  1. In file included from /Users/andy2/workspace/openttd-jj-last/src/ai/ai_instance.cpp:16:
  2. In file included from /Users/andy2/workspace/openttd-jj-last/src/ai/../script/squirrel_class.hpp:15:
  3. In file included from /Users/andy2/workspace/openttd-jj-last/src/ai/../script/squirrel_helper.hpp:18:
  4. In file included from /Users/andy2/workspace/openttd-jj-last/src/ai/../script/../string_func.h:31:
  5. /Users/andy2/workspace/openttd-jj-last/src/ai/../core/bitmath_func.hpp:107:15: error:

Paste #ptjiywpdx

  1. $  ag SLE_STRINGQUOTE
  2. src/saveload/saveload.h
  3. 168:    SLE_STRINGQUOTE  = SLE_FILE_STRING   | SLE_VAR_STRQ,
  4. 177:    SLE_STRQ  = SLE_STRINGQUOTE,

NRT SE

  1. Handling NRT in Scenario Editor (SE)
  2.  
  3. Which RoadTypes should be available to be built?
  4.  - Tramways are buildable only by players (not city)
  5.  - Some RoadTypes could not meet the requirements for a fair play

Paste #pduluvw6w

  1.     /* Create additional river tiles around possible lock locations to connect them. */
  2.     for (uint tile = 0; tile != MapSize(); tile++) {
  3.         if (IsValidTile(tile) && IsTileType(tile, MP_WATER) && IsRiver(tile) && IsInclinedSlope(GetTileSlope(tile))) {
  4.             DoCommand(tile, 0, 0, DC_EXEC | CommandFlagsToDCFlags(GetCommandFlags(CMD_BUILD_LOCK)), CMD_BUILD_LOCK);

Paste #pwaywzcai

  1. trunk:
  2.   m7 bit 6: road present
  3.   m7 bit 7: tram present
  4.  
  5. nrt option 1:

Paste #p1mdw196x

  1. Index: src/autoreplace_gui.cpp
  2. ===================================================================
  3. --- src/autoreplace_gui.cpp (revision 27682)
  4. +++ src/autoreplace_gui.cpp (working copy)
  5. @@ -87,7 +87,7 @@

Paste #pckrx0ldj

  1. /**
  2. + * Path of a file that is possibly stored inside another file.
  3. + * The #fs_path points to a file at the file system. This can be either the file expressed by
  4. + * the #FilePath object, or a container file like a tar-file. In the latter case, the
  5. + * #contained_path is the lower-case path to the expressed file inside the container file.

Paste #pefxuwum1

  1. #!/bin/sh
  2. set -e -u -x
  3.  
  4. if test $# -ne 2
  5. then echo "repack_devzone <archive> <extension>"

Paste #pcsi29tuh

  1. /**
  2.  * Sets the new speed for an aircraft
  3.  * @param v The vehicle for which the speed should be obtained
  4.  * @param speed_limit The maximum speed the vehicle may have.
  5.  * @param hard_limit If true, the limit is directly enforced, otherwise the plane is slowed down gradually

Paste #pjtgnjoan

  1. /**
  2.  * Build a piece of canal.
  3.  * @param tile end tile of stretch-dragging
  4.  * @param flags type of operation
  5.  * @param p1 start tile of stretch-dragging

Paste #phpkcrryy

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

Paste #pjab8cqwd

  1. diff --git a/src/road.h b/src/road.h
  2. index dbc8be6..3ca4c14 100644
  3. --- a/src/road.h
  4. +++ b/src/road.h
  5. @@ -215,8 +215,16 @@ struct RoadTypeIdentifier {

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