Loading

timestamp

  1. #!/bin/awk -f
  2. {cmd="(date)";\
  3.  cmd | getline d;\
  4.  print d, $0;\
  5.  close(cmd)}

Paste #pclchz9l5

  1. bool THRenderTarget::shouldScaleBitmaps(float* pFactor)
  2. {
  3.     if(!m_bShouldScaleBitmaps)
  4.         return false;
  5.     if(pFactor)

Paste #pt9yiclmt

  1. Index: src/linkgraph/linkgraphschedule.cpp
  2. ===================================================================
  3. --- src/linkgraph/linkgraphschedule.cpp (revision 27177)
  4. +++ src/linkgraph/linkgraphschedule.cpp (working copy)
  5. @@ -134,11 +134,17 @@

Paste #phcuwkyql

  1. // -- capacity determined according to cargo class -- //
  2.  
  3. switch (FEAT_ROADVEHS, SELF, amblecote_1_switch_cargo_capacity_by_cargo_1, cargo_classes & bitmask(CC_MAIL, CC_ARMOURED)) {
  4.         bitmask(CC_MAIL): return 32;
  5.         bitmask(CC_ARMOURED): return 32;

Paste #pdwqozgkm

  1. diff -r a5e2fda0b31a nml/actions/action2var.py
  2. --- a/nml/actions/action2var.py Tue Sep 09 13:21:01 2014 +0200
  3. +++ b/nml/actions/action2var.py Tue Sep 09 19:12:08 2014 +0200
  4. @@ -956,8 +956,10 @@
  5.      # since we need the variable name later on, a reverse lookup is needed

Paste #pvyuvm5d2

  1. $ aptitude search evolve
  2. p   evolver                                                           - Surface Evolver                                                            
  3. p   evolver-doc                                                       - Surface Evolver - doc                                                      
  4. p   evolver-nox                                                       - Surface Evolver - with no X support                                        
  5. p   evolver-ogl                                                       - Surface Evolver - with OpenGL display                                      
  6. p   python-pyevolve

Paste #p5y4w0vuj

  1.         spriteset(${vehicle.id}_ss_doors_closed_livery_1_${cargo_variant_num}_${flipped}, "${global_constants.graphics_path}${consist.id}.png") {
  2.           spriteset_template_${vehicle.symmetry_type}_${'reversed' if flipped == 'flipped' else 'unreversed'}_${vehicle.id}_${flipped}(10 + ${cargo_variant_num * 120})
  3.         }
  4.         spriteset(${vehicle.id}_ss_doors_open_livery_1_${cargo_variant_num}_${flipped}, "${global_constants.graphics_path}${consist.id}.png") {
  5.           spriteset_template_${vehicle.symmetry_type}_${'reversed' if flipped == 'flipped' else 'unreversed'}_${vehicle.id}_${flipped}(10 + ${cargo_variant_num * 120} + 30)

Paste #pmcrgkitz

  1. Index: src/aircraft.h
  2. ===================================================================
  3. --- src/aircraft.h  (revision 27795)
  4. +++ src/aircraft.h  (working copy)
  5. @@ -73,6 +73,7 @@

Paste #pvxypmzjt

  1. dbg: [yapf] [YAPFt]-   1- 4087 us - 12 rounds - 1 open - 11 closed - CHR  0.0% - C 8052 D 0 - c0(sc0, ts0, o0) --
  2. dbg: [yapf] Pf time today:     4 ms
  3. dbg: [yapf] [YAPFt]-   1- 3864 us - 11 rounds - 1 open - 10 closed - CHR  0.0% - C 7910 D 0 - c0(sc0, ts0, o0) --
  4. dbg: [yapf] [YAPFt]-   1- 3956 us - 10 rounds - 1 open - 9 closed - CHR  0.0% - C 7768 D 0 - c0(sc0, ts0, o0) --
  5. dbg: [yapf] Pf time today:     7 ms

Paste #ppfjsacb5

  1. diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
  2. index e162bac..837232f 100644
  3. --- a/src/CMakeLists.txt
  4. +++ b/src/CMakeLists.txt
  5. @@ -66,11 +66,10 @@ IF(SDL2_FOUND)

Paste #p55s04cof

  1. function WrightAI::SubLocationDistanceAircraft(t0, t1)
  2. {
  3.     local t0x = AIMap.GetTileX(t0);
  4.     local t0y = AIMap.GetTileY(t0);
  5.     local t1x = AIMap.GetTileX(t1);

Paste #pd3akpu8o

  1. // default spriteset templates
  2.         template spriteset_template_asymmetric_unreversed_moor_gallop_unflipped(y) {
  3.                 //[left_x, upper_y, width, height, offset_x, offset_y]
  4.                 [60, y, 8, 29, -3, -16 ]
  5.                 [73, y, 26, 24, -14, -15 ]

Paste #pkyiaogho

  1. diff --git a/src/road_gui.cpp b/src/road_gui.cpp
  2. index 92c660e..65e4dd9 100644
  3. --- a/src/road_gui.cpp
  4. +++ b/src/road_gui.cpp
  5. @@ -60,6 +60,7 @@ DECLARE_ENUM_AS_BIT_SET(RoadFlags)

Paste #phz94hxiy

  1. // RoadTypes, with ability to get road type, tram type, or look up roadtype given subtype
  2. enum RoadTypes {
  3.     ROADTYPES_ROAD_BASE = 0,
  4.     ROADTYPES_ROAD_LENGTH = 4,    ///< Number of bit
  5.     ROADTYPES_INVALID_ROAD = 0x7, ///< Road-type denoting 'no road'.

Paste #p8zxvrob7

  1. diff --git a/src/road_cmd.cpp b/src/road_cmd.cpp
  2. index 6075fb1fd..a9e0ca992 100644
  3. --- a/src/road_cmd.cpp
  4. +++ b/src/road_cmd.cpp
  5. @@ -1438,8 +1438,9 @@ void DrawRoadTypeCatenary(const TileInfo *ti, RoadTypeIdentifier rtid, RoadBits