| Old revision #pzjtzla8o | New revision #pfzxi8oiw | ||
|---|---|---|---|
| 14 | 14 | ||
| 15 | spritelayout stationlayout2 { | 15 | spritelayout stationlayout2 { |
| 16 | ground { | 16 | ground { |
| 17 | sprite: spritegroup1(0 | 17 | sprite: spritegroup1(0, WITHOUT_ORIENTATION) // use sprite 0 for both orientations |
| 18 | } | 18 | } |
| 19 | building { | 19 | building { |
| 20 | sprite: spritegroup2(0 | 20 | sprite: spritegroup2(0, WITH_ORIENTATION) // use sprite 0 for X and 0+1 for Y |
| 21 | } | 21 | } |
| 22 | } | 22 | } |
| 23 | 23 | … | … |
| 40 | 40 | ||
| 41 | action0: | 41 | action0: |
| 42 | layout0: stationlayout2 using var10=0 for ground, var10=1 for building1 | 42 | layout0: stationlayout2 using var10=0 for ground, var10=1 for building1 |
| 43 | layout1: stationlayout2 using var10=0 for ground, var10=1 for building1 and an additional 1 offset in the building for the Y orientation | ||
| 43 | 44 | ||
| 44 | action3 | 45 | action3 |
| 45 | -> varactions according to switch3 | 46 | -> varactions according to switch3 |