Skip to content

Instantly share code, notes, and snippets.

@glx22
Last active October 25, 2021 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glx22/f79bd73b0eacff1a299c5500def42de4 to your computer and use it in GitHub Desktop.
Save glx22/f79bd73b0eacff1a299c5500def42de4 to your computer and use it in GitHub Desktop.
// Automatically generated by GRFCODEC. Do not modify!
// (Info version 32)
// Escapes: 2+ 2- 2< 2> 2u< 2u> 2/ 2% 2u/ 2u% 2* 2& 2| 2^ 2sto = 2s 2rst = 2r 2psto 2ror = 2rot 2cmp 2ucmp 2<< 2u>> 2>>
// Escapes: 71 70 7= 7! 7< 7> 7G 7g 7gG 7GG 7gg 7c 7C
// Escapes: D= = DR D+ = DF D- = DC Du* = DM D* = DnF Du<< = DnC D<< = DO D& D| Du/ D/ Du% D%
// Format: spritenum imagefile depth xpos ypos xsize ysize xrel yrel zoom flags
0 * 4 \d9
1 * 54 14 "C" "INFO"
"B" "VRSN" \w4 \dx00000000
"B" "MINV" \w4 \dx00000000
"B" "NPAR" \w1 00
"B" "PALS" \w1 "A"
"B" "BLTR" \w1 "8"
00
00
2 * 52 08 08 "NML\40" "NML regression test" 00 "A test newgrf testing NML" 00
3 * 6 01 04 \b1 FF \wx0001
4 * 1 00
// Name: station_spritegroup - feature 04
5 * 7 02 04 FF \b0 \b1
\w0
6 * 12 00 04 \b1 01 FF \wx0000
08 "TEST"
7 * 11 04 04 FF 01 \wxC400 "Test" 00
8 * 20 04 04 FF 01 \wxC500 "Basic station" 00
9 * 7 03 04 01 00 \b0
\wx00FF // station_spritegroup;
grf {
grfid: "NML\40";
name: string(STR_REGRESSION_NAME);
desc: string(STR_REGRESSION_DESC);
version: 0;
min_compatible_version: 0;
}
spriteset(dummy_spriteset) { [] }
spritegroup station_spritegroup {
loading: dummy_spriteset;
}
spritelayout station_sprite_layout_0 {
ground {
sprite: 0x3F4;
}
building {
sprite: 0x42E;
xoffset: 0;
yoffset: 0;
zoffset: 0;
xextent: 16;
yextent: 5;
zextent: 2;
recolour_mode: RECOLOUR_REMAP;
palette: PALETTE_USE_DEFAULT;
}
building {
sprite: 0x430;
xoffset: 0;
yoffset: 11;
zoffset: 0;
xextent: 16;
yextent: 5;
zextent: 2;
recolour_mode: RECOLOUR_REMAP;
palette: PALETTE_USE_DEFAULT;
}
}
spritelayout station_sprite_layout_1 {
ground {
sprite: 0x3F3;
}
building {
sprite: 0x42F;
xoffset: 0;
yoffset: 0;
zoffset: 0;
xextent: 5;
yextent: 16;
zextent: 2;
recolour_mode: RECOLOUR_REMAP;
palette: PALETTE_USE_DEFAULT;
}
building {
sprite: 0x42D;
xoffset: 11;
yoffset: 0;
zoffset: 0;
xextent: 5;
yextent: 16;
zextent: 2;
recolour_mode: RECOLOUR_REMAP;
palette: PALETTE_USE_DEFAULT;
}
}
item (FEAT_STATIONS, basic_station) {
property {
class : "TEST";
classname : string(STR_STATION_TEST_CLASS);
name : string(STR_STATION_BASIC);
}
graphics {
station_spritegroup;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment