Loading

Paste #pystey9tu

  1. switch(FEAT_TRAINS, SELF, VEH_ID(height_switch), ((var[0x62, 24, 0x000000FF, -1 - (SLICE)] - var[0x62, 24, 0x000000FF, -0 - (SLICE)]) & 0xFF) << 8 | ((var[0x62, 24, 0x000000FF, -0 - (SLICE)] - var[0x62, 24, 0x000000FF, 1 - (SLICE)]) & 0xFF)) {
  2.     0 : VEH_ID(slice_group);
  3. #if SLICE == 0
  4.     VEH_ID(group);
  5. #else

spritelayout_flip_example

  1. spritelayout concrete_platform_layout {
  2.   ground { sprite: GROUNDSPRITE_TRACK; flip { sprite: -1; } }
  3.   building {
  4.     sprite: platform_set(0);
  5.     orientation_offset: 1

How do I make this line e

  1. MakeStation(t + TileOffsByDiagDir(d), IsWaterTile(t + TileOffsByDiagDir(d)) ? HasTileWaterClass(t + TileOffsByDiagDir(d)) && GetWaterClass(t + TileOffsByDiagDir(d)) == WATER_CLASS_RIVER ? HasBit(_me[t + TileOffsByDiagDir(d)].m6, 0) ? o : GetTileOwner(t + TileOffsByDiagDir(d)) : GetTileOwner(t + TileOffsByDiagDir(d)) : wc == WATER_CLASS_SEA ? OWNER_WATER : o, sid, STATION_DOCK, GFX_DOCK_BASE_WATER_PART + DiagDirToAxis(d), wc);
  2.  
  3.  
  4.     int t2 = t + TileOffsByDiagDir(d);

Paste #p88ragllr

  1. Migrating a hg repo (ELEPHANT example)
  2.  
  3. * copy directory to ELEPHANT.old.hg for backup
  4. * cd ELEPHANT
  5. * source ../../bin27/bin/activate

max_no_competitors = 15 v

  1. Index: src/ai/ai_core.cpp
  2. ===================================================================
  3. --- src/ai/ai_core.cpp  (revision 27550)
  4. +++ src/ai/ai_core.cpp  (working copy)
  5. @@ -62,6 +62,7 @@

Paste #plgc7fnxc

  1. Index: src/ship_cmd.cpp
  2. ===================================================================
  3. --- src/ship_cmd.cpp    (revision 27221)
  4. +++ src/ship_cmd.cpp    (working copy)
  5. @@ -356,7 +356,19 @@

Paste #p5hssrqzb

  1. Error: Line 98 (5 in this paste): Read beyond bounds of image file gfx_32bpp/MAG_FLATBED_0000.png
  2.  
  3. template template_32bpp_vehicle4_MASK(x,y,z,m) {
  4.     //x= hexa code y=2nd column  z= filename, m = mask filename
  5.     [ 128+y*1152, 128*x-y*16384,  128, 128,  -60, -113,z,m]

Paste #p9dnkcojz

  1. // default spriteset templates
  2.         template spriteset_template_asymmetric_unreversed_athena_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 #p7x1xqbwx

  1. pdq2s-MacBook-Pro-2:busy-bee-gs andy $ patch -p1 < make_fix.diff
  2. patching file check_lang_compatibility.py
  3. pdq2s-MacBook-Pro-2:busy-bee-gs andy $ make
  4. echo "[Bundle] bundle/BusyBee-v5494M-h4a46f566a8bb.tar"
  5. [Bundle] bundle/BusyBee-v5494M-h4a46f566a8bb.tar

Paste #p4xjniurn

  1. digraph tech_tree {
  2.     graph [fname="docs/html/tech_tree.dot",
  3.         fontname="sans-serif",
  4.         nodesep=0.33,
  5.         rankdir=LR,

industry_map.h.patch

  1. Index: src/industry_map.h
  2. ===================================================================
  3. --- src/industry_map.h  (revision 27170)
  4. +++ src/industry_map.h  (working copy)
  5. @@ -280,7 +280,7 @@

Paste #pwhxeitqi

  1.     do {
  2.         TileIndex cur_tile = tile + ToTileIndexDiff(it->ti);
  3.  
  4.         if (it->gfx != GFX_WATERTILE_SPECIALCHECK) {
  5.             i->location.Add(cur_tile);

Paste #p0yhrws4t

  1. Index: src/water_cmd.cpp
  2. ===================================================================
  3. --- src/water_cmd.cpp   (revision 27196)
  4. +++ src/water_cmd.cpp   (working copy)
  5. @@ -123,6 +123,8 @@

Paste #pqb6egrmw

  1.  nmlc info: Train items: 397/65420
  2.  nmlc info: Concurrent spritesets: 2/255 ("generated/iron-horse.nml", line 12122)
  3.  nmlc info: Concurrent spritegroups: 241/256 ("generated/iron-horse.nml", line 59783)
  4.  nmlc info: Concurrent Action2 registers: 1/127 ("generated/iron-horse.nml", line 159160)
  5.  nmlc info: Concurrent ActionD registers: 3/64 (None)

Paste #pfssnkvx5

  1. command="/home/hg/bin/hg-ssh * */.hg/patches hg-repos/*",no-port-forwarding,no-X11-forwarding,no-agent-forwarding ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCSsIqwtZEUzSDcaPTyS0guBTNWFf5nDmwimfRMM0+oMrhjzGknqbl7KUfq04gsnfOG6Gr8JA6LSGiXaV1BuSYD44RQpnuQNOdNVLeLn71fSO+ooUxerdJI2Dp75vKam7blbejf1at6EbfOpGClre3ldoNF6lvBimO5/7/hO/E5TKK1fYoCumdbsnJTqW0lra1170T+tIZUNCJ2opLjKL+RRy8hzb0WEzdJjH9jZZw7XddY3Iv8J2Q88Dlmm5TxSxpOj2Ue+4CzMhIMrlMlJ4iKK5cVDw5Ud/5ZNZCBZZ+toqK0jBkODc29z/GqhaBzUQYOj+0dDg/49XbcNBxjOul5 (juzza1)