Loading

Paste #pzjwl19ka

  1. switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_1_DFLT, position_in_vehid_chain % 6) {
  2.     0: return slammer_switch_graphics_engine_id_0;
  3. }
  4. switch (FEAT_TRAINS, SELF, slammer_switch_graphics_position_in_consist_check_2_DFLT, position_in_vehid_chain % 6) {
  5.     0: return slammer_switch_graphics_engine_id_1;

Paste #pl9h4mzsf

  1. void THPathfinder::pathingInit(const THMap *pMap, int iStartX, int iStartY, int *piWidth, node_t *ppNode, int iGuessNumber)
  2. {
  3.     *piWidth = pMap->getWidth();
  4.     m_pDestination = NULL;
  5.     _allocNodeCache(*piWidth, pMap->getHeight());

Paste #pfoj6hm2t

  1. $  cat mouse_modes.txt
  2. Steps
  3. =====
  4.  
  5. [X] Add mouse mode base class (MouseModeSelector).

Paste #pxhdxo9yw

  1. print("Enter the range, values separated by comma:")
  2. [a,b] = [int(z) for z in input().split(',')]
  3. odd = set(['1','3','5','7','9'])
  4. l = []
  5. for n in range(a,b+1):

Paste #pooqs768b

  1. $  cat update
  2. #!/bin/sh
  3. set -e -u
  4.  
  5. #if test ! -d CD

Paste #px0casfiw

  1. * 652e9f8 (HEAD, n2) x4
  2. * 14a3355 x3
  3. * bc1d38c (n1) x2
  4. * 213d86d x1
  5. * 0f2048e (master) name1

Paste #pptkm5kon

  1.  95 static int DecodeUtf8Char(uint8 *data, size_t length, uint32 *codepoint)
  2. 96 {
  3. 97  if (length < 1) return 0;
  4. 98  uint32 value = *data;
  5. 99  data++;

Paste #piht1yn6k

  1. // define the newgrf
  2. grf {
  3.     grfid: "\97\87\EA\FE";
  4.     name: string(STR_GRF_NAME);
  5.     desc: string(STR_GRF_DESCRIPTION);

Paste #poipfz5h6

  1. Index: src/lang/english.txt
  2. ===================================================================
  3. --- src/lang/english.txt    (revision 27203)
  4. +++ src/lang/english.txt    (working copy)
  5. @@ -1252,8 +1252,8 @@

Paste #pz95u21px

  1. Draft
  2.  
  3. if sea:
  4.     sea was removed
  5.     restore sea, set owner to water

Paste #peyfqwjo9

  1. floor decorated Foliage 19
  2. floor decorated Hegderow 16
  3. floor decorated Pond 12
  4. floor simple Inside  11
  5. floor simple Outside 23

Paste #p71oqjutl

  1. $  gvim CorsixTH/Src/th_gfx.cpp
  2.  
  3. $  make                        
  4. Scanning dependencies of target CorsixTH
  5. [  3%] Building CXX object CorsixTH/CMakeFiles/CorsixTH.dir/Src/th_gfx.cpp.o

Paste #pecztjz1v

  1. openttd-trunk(master)$ make run -j13
  2. make[1]: Nothing to be done for `all'.
  3. make[1]: Nothing to be done for `all'.
  4. make[1]: Nothing to be done for `all'.
  5. make[1]: Nothing to be done for `all'.

Paste #pvcko8qz5

  1. diff -r 614b4710dc7e webtranslate/newgrf/language_file.py
  2. --- a/webtranslate/newgrf/language_file.py  Wed May 27 19:44:13 2015 +0200
  3. +++ b/webtranslate/newgrf/language_file.py  Thu May 28 17:59:54 2015 +0200
  4. @@ -34,7 +34,7 @@
  5.  gender_assign_pat = re.compile('{G *= *([^ }]+) *}')

Paste #pfssuwhwo

  1.     random_switch (FEAT_TRAINS, FORWARD_SELF(0), box_car_pony_gen_1A_switch_colour_mapping) {
  2.         1: return base_sprite_2cc;
  3.         1: return base_sprite_2cc + 16 * company_colour1 + company_colour2;
  4.     }