Loading

Paste #p4p0qv0rj

  1.             switch(d) \
  2.             { \
  3.             case 0: \
  4.                 if((iFlags & THMN_DoorNorth) == 0) {Pathing_TryNode()} \
  5.                 break; \

Paste #pp4mfiqxw

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

Paste #p2ai6lxga

  1. diff --git a/webtranslate/config.py b/webtranslate/config.py
  2. --- a/webtranslate/config.py
  3. +++ b/webtranslate/config.py
  4. @@ -326,7 +326,6 @@ class ProjectCache:
  5.              return "A project file named \"{}\" already exists".format(disk_name)

Paste #pslvkynrl

  1. Index: src/economy.cpp
  2. ===================================================================
  3. --- src/economy.cpp (revision 27655)
  4. +++ src/economy.cpp (working copy)
  5. @@ -1109,7 +1109,7 @@

Paste #puslfw73w

  1.             for (CityNode node : road_network.nodes.values()) {
  2.                 XY map_pos = road_network.positions.junction_map_positions.get(node.name);
  3.                 XY display_pos = new XY(xoffset + scale * map_pos.x, yoffset + scale * map_pos.y);
  4.                 road_network.positions.junction_display_positions.put(node.name, display_pos);
  5.             }

Paste #pfkgo7y38

  1. planetmaker@localhost:~/ottd/trunk-old$ LC_ALL=C hg pull --debug
  2. no terminfo entry for sitm
  3. no terminfo entry for dim
  4. pulling from http://hg.openttd.org/trunk.hg
  5. using http://hg.openttd.org/trunk.hg

Paste #pucuvxx6y

  1. Trans-Siberian
  2.  
  3. Check map dimensions
  4.  
  5. If rectangular:
  - choose long axis

numbers with only even di

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

  1. diff --git a/src/coaster_gui.cpp b/src/coaster_gui.cpp
  2. index 5efa534..a3d4340 100644
  3. --- a/src/coaster_gui.cpp
  4. +++ b/src/coaster_gui.cpp
  5. @@ -617,9 +617,8 @@ void CoasterBuildWindow::SetupSelection()

Paste #prizjhgrv

  1. ade@ade-desktop ~/Downloads/nml-0.4.1 $ python setup.py install
  2. ERROR: Sorry, Python 3.2 or later is required for this application.
  3.  
  4.  
  5. --------------------------------------------------------

Paste #popqnht0e

  1. Roadtypes + Tramtypes
  2.  
  3. I don’t want to spec the UI for this, but I’d envisage:
  4. splitting the buttons on main toolbar, so trams have their own button
  5. xor just put an explicit divider in the list of roadtypes / tramtypes (simpler)

Paste #pdhajhnt5

  1. #!/bin/sh
  2. set -e -u -x
  3.  
  4. if test -f CMakeCache.txt
  5. then rm CMakeCache.txt

Paste #puzjzi0kx

  1. * f5113b5 (HEAD, origin/transparent_build, transparent_build) Feature: Make new shop semi-transparent.
  2. * cd4a13e Add: Semi-transparent gradient shift mode.
  3.                        <--- here I need a new commit
  4. *   3da2349 (upstream/master, master) Merge pull request #89 from Alberth289346/rework_shop_placer
  5. |\

Paste #pnkv5jdfg

  1. function UIFax:choice(choice,additionalInfo)
  2.  
  3.   .......
  4.  
  5.   -- VIP may choose to visit anyway if he is refused too often

Paste #pwoydfwkd

  1. ingo@aeolus hg-test default-r70 (tip) ~/hg-test $ hg diff -b
  2. ingo@aeolus hg-test default-r70 (tip) ~/hg-test $ hg diff
  3. diff --git a/abc b/abc
  4. --- a/abc
  5. +++ b/abc