File: 009_replaceTTDsprite.nml

package info (click to toggle)
nml 0.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,688 kB
  • sloc: python: 12,961; makefile: 37
file content (20 lines) | stat: -rw-r--r-- 427 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
grf {
    grfid: "test";
    name: string(STR_REGRESSION_NAME);
    desc: string(STR_REGRESSION_DESC);
    version: 0;
    min_compatible_version: 0;
}

template no_param() {
    [48, 56, 8, 18, -3, -10]
}

template many_param(a, b, c, d, e, f, g, h) {
    [a, b, c, d, e+f, f*h]
}

replace (3092, "opengfx_generic_trams1.pcx") { // replace the first two bus sprites
    no_param()
    many_param(48, 56, 8, 18, -5, 2, -5, 2)
}