Loading

Paste #pmfujrgil

  1.     function InitializePath(source, goal) {
  2.         this._pathfinder.InitializePath([source, 0xFF], goal);
  3.         if (this._search_range != 0) {
  4.             local source_x = AIMap.GetTileX(source);
  5.             local source_y = AIMap.GetTileY(source);

Paste #pqbqzlwvt

  1. Index: script_config.cpp
  2. ===================================================================
  3. --- script_config.cpp   (revision 27582)
  4. +++ script_config.cpp   (working copy)
  5. @@ -23,6 +23,7 @@

Paste #pye3rjafc

  1. +/**
  2. + * Gets the maximum allowed height while generating a map based on
  3. + * mapsize, terraintype, and the maximum height level.
  4. + * @return The maximum height for the map generation.
  5. + */

Paste #ppdpvgd51

  1. D:\developpement\GitHub\glx22\nml\examples\road_vehicle [master ≡ +2 ~1 -0 !]> nmlc .\example_road_vehicle.nml          nmlc ERROR: nmlc: An internal error has occurred:
  2. nmlc-version: 2019-10-19-g58a34844M
  3. Error:    (AttributeError) "module 'time' has no attribute 'clock'".
  4. Command:  ['D:\\developpement\\GitHub\\glx22\\nml\\build\\exe.win-amd64-3.8\\nmlc.exe', '.\\example_road_vehicle.nml']
  5. Location: File "D:\developpement\GitHub\glx22\nml\nml\generic.py", line 332, in print_progress

Paste #pbfgp0usz

  1.     switch (FEAT_TRAINS, SELF, ${vehicle.id}_switch_visual_effect_and_powered, [STORE_TEMP(VISUAL_EFFECT_DIESEL, 1), current_railtype]) {
  2.             ELRL: return visual_effect_and_powered(VISUAL_EFFECT_ELECTRIC, 0, DISABLE_WAGON_POWER);
  3.             return visual_effect_and_powered(LOAD_TEMP(1), 0, DISABLE_WAGON_POWER);
  4.     }

Paste #phgyjhwi3

  1. diff --git a/src/order_gui.cpp b/src/order_gui.cpp
  2. index fa56f70cbd..7364ccd8a4 100644
  3. --- a/src/order_gui.cpp
  4. +++ b/src/order_gui.cpp
  5. @@ -410,8 +410,7 @@ static Order GetOrderCmdFromTile(const Vehicle *v, TileIndex tile)

template

  1. template template_32bpp_engine8(x) {
  2.     //[left_x,  upper_y,    width,     height,     offset_x,     offset_y]
  3.     [ 128, 128*x,  128, 128,  -64, -64]
  4.     [ 256, 128*x, 128, 128, -64, -64]
  5.     [ 384, 128*x, 128, 128, -64, -64]

Paste #pg0vfaabx

  1. Index: src/saveload/engine_sl.cpp
  2. ===================================================================
  3. --- src/saveload/engine_sl.cpp  (revision 26810)
  4. +++ src/saveload/engine_sl.cpp  (working copy)
  5. @@ -13,7 +13,7 @@

Paste #p6fnc80yo

  1. root@jenkins:/# cat /etc/apt/sources.list
  2. deb http://ftp.debian.org/debian wheezy main contrib non-free
  3. deb http://security.debian.org wheezy/updates main contrib non-free

Paste #pqmoli0zw

  1.    switch (FEAT_TRAINS, SELF, ${vehicle.id}_switch_cargo_capacity_by_cargo_${param_value}, cargo_classes) {
  2.         bitmask(CC_PASSENGERS): return ${vehicle.capacities_pax[param_value]};
  3.         bitmask(CC_MAIL): return ${vehicle.capacities_mail[param_value]};
  4.         return 100; <!--!${vehicle.capacities_freight[param_value]};-->
  5.     }

Paste #pqvoezwke

  1. spriteset(spriteset1x) { ...
  2. }
  3. spriteset(spriteset1y) { ...
  4. }
  5. spriteset(spriteset2x) { ...

Paste #p6unubyjl

  1. grf {
  2.  grfid: "RS\01\01";
  3.  name: string(STR_GRF_NAME);
  4.  desc: string(STR_GRF_DESCRIPTION);
  5.  version: 0;

Paste #pxayqseo7

  1. make
  2. echo "[Bundle] bundle/BusyBee-v5489-he7d4f79d1c29.tar"
  3. [Bundle] bundle/BusyBee-v5489-he7d4f79d1c29.tar
  4. python3 check_lang_compatibility.py lang/english.txt info.nut
  5. ** Comparing file lang/english.txt, current version and at revision 06b75370997d **

Terraform Rivers testing

  1. Index: src/water_cmd.cpp
  2. ===================================================================
  3. --- src/water_cmd.cpp   (revision 27198)
  4. +++ src/water_cmd.cpp   (working copy)
  5. @@ -491,7 +491,9 @@

Paste #picxbfxyv

  1. Index: script_tilelist.hpp
  2. ===================================================================
  3. --- script_tilelist.hpp (revision 27284)
  4. +++ script_tilelist.hpp (working copy)
  5. @@ -65,7 +65,7 @@