template template_x1_8bpp_vehicle8(y,f) {
[ 0*64, 80*y, 64, 80, -15-32+16, -25-8, f]
[ 1*64, 80*y, 64, 80, -18-32+16, -22-12, f]
[ 2*64, 80*y, 64, 80, -16-32+16, -24-12, f]
[ 3*64, 80*y, 64, 80, -13-32+16, -23-12, f]
[ 4*64, 80*y, 64, 80, -15-32+16, -25-8, f]
[ 5*64, 80*y, 64, 80, -18-32+16, -22-12, f]
[ 6*64, 80*y, 64, 80, -16-32+16, -24-12, f]
[ 7*64, 80*y, 64, 80, -13-32+16, -23-12, f]
}
template template_x1_32bpp_vehicle8(y,f) {
[ 0*64, 80*y, 64, 80, -15-32+16, -25-8,f]
[ 1*64, 80*y, 64, 80, -18-32+16, -22-12,f]
[ 2*64, 80*y, 64, 80, -16-32+16, -24-12,f]
[ 3*64, 80*y, 64, 80, -13-32+16, -23-12,f]
[ 4*64, 80*y, 64, 80, -15-32+16, -25-8,f]
[ 5*64, 80*y, 64, 80, -18-32+16, -22-12,f]
[ 6*64, 80*y, 64, 80, -16-32+16, -24-12,f]
[ 7*64, 80*y, 64, 80, -13-32+16, -23-12,f]
}
template template_x4_32bpp_vehicle8(y,f) {
[ 0*256, 320*y, 256, 320, -60-128+64, -98-32,f]
[ 1*256, 320*y, 256, 320, -72-128+64, -89-48,f]
[ 2*256, 320*y, 256, 320, -64-128+64, -95-48,f]
[ 3*256, 320*y, 256, 320, -52-128+64, -91-48,f]
[ 4*256, 320*y, 256, 320, -60-128+64, -98-32,f]
[ 5*256, 320*y, 256, 320, -72-128+64, -89-48,f]
[ 6*256, 320*y, 256, 320, -64-128+64, -95-48,f]
[ 7*256, 320*y, 256, 320, -52-128+64, -91-48,f]
}
spriteset(spriteset_train_GEAR_01) {
template_x1_8bpp_vehicle8(0,"gfx/GEAR_01_x1_8bpp.png")
template_x1_8bpp_vehicle8(1,"gfx/GEAR_01_x1_8bpp.png")
template_x1_8bpp_vehicle8(2,"gfx/GEAR_01_x1_8bpp.png")
template_x1_8bpp_vehicle8(3,"gfx/GEAR_01_x1_8bpp.png")
template_x1_8bpp_vehicle8(4,"gfx/GEAR_01_x1_8bpp.png")
template_x1_8bpp_vehicle8(5,"gfx/GEAR_01_x1_8bpp.png")
template_x1_8bpp_vehicle8(6,"gfx/GEAR_01_x1_8bpp.png")
template_x1_8bpp_vehicle8(7,"gfx/GEAR_01_x1_8bpp.png")
template_x1_8bpp_vehicle8(8,"gfx/GEAR_01_x1_8bpp.png")
template_x1_8bpp_vehicle8(9,"gfx/GEAR_01_x1_8bpp.png")
template_x1_8bpp_vehicle8(10,"gfx/GEAR_01_x1_8bpp.png")
template_x1_8bpp_vehicle8(11,"gfx/GEAR_01_x1_8bpp.png")
template_x1_8bpp_vehicle8(12,"gfx/GEAR_01_x1_8bpp.png")
template_x1_8bpp_vehicle8(13,"gfx/GEAR_01_x1_8bpp.png")
template_x1_8bpp_vehicle8(14,"gfx/GEAR_01_x1_8bpp.png")
template_x1_8bpp_vehicle8(15,"gfx/GEAR_01_x1_8bpp.png")
}
alternative_sprites (spriteset_train_GEAR_01, ZOOM_LEVEL_NORMAL, BIT_DEPTH_32BPP) {
template_x1_32bpp_vehicle8(0,"gfx/GEAR_01_x1_000.png")
template_x1_32bpp_vehicle8(1,"gfx/GEAR_01_x1_000.png")
template_x1_32bpp_vehicle8(2,"gfx/GEAR_01_x1_000.png")
template_x1_32bpp_vehicle8(3,"gfx/GEAR_01_x1_000.png")
template_x1_32bpp_vehicle8(4,"gfx/GEAR_01_x1_000.png")
template_x1_32bpp_vehicle8(5,"gfx/GEAR_01_x1_000.png")
template_x1_32bpp_vehicle8(6,"gfx/GEAR_01_x1_000.png")
template_x1_32bpp_vehicle8(7,"gfx/GEAR_01_x1_000.png")
template_x1_32bpp_vehicle8(8,"gfx/GEAR_01_x1_000.png")
template_x1_32bpp_vehicle8(9,"gfx/GEAR_01_x1_000.png")
template_x1_32bpp_vehicle8(10,"gfx/GEAR_01_x1_000.png")
template_x1_32bpp_vehicle8(11,"gfx/GEAR_01_x1_000.png")
template_x1_32bpp_vehicle8(12,"gfx/GEAR_01_x1_000.png")
template_x1_32bpp_vehicle8(13,"gfx/GEAR_01_x1_000.png")
template_x1_32bpp_vehicle8(14,"gfx/GEAR_01_x1_000.png")
template_x1_32bpp_vehicle8(15,"gfx/GEAR_01_x1_000.png")
}
alternative_sprites (spriteset_train_GEAR_01, ZOOM_LEVEL_IN_4X, BIT_DEPTH_32BPP) {
template_x4_32bpp_vehicle8(0,"gfx/GEAR_01_000.png")
template_x4_32bpp_vehicle8(1,"gfx/GEAR_01_000.png")
template_x4_32bpp_vehicle8(2,"gfx/GEAR_01_000.png")
template_x4_32bpp_vehicle8(3,"gfx/GEAR_01_000.png")
template_x4_32bpp_vehicle8(4,"gfx/GEAR_01_000.png")
template_x4_32bpp_vehicle8(5,"gfx/GEAR_01_000.png")
template_x4_32bpp_vehicle8(6,"gfx/GEAR_01_000.png")
template_x4_32bpp_vehicle8(7,"gfx/GEAR_01_000.png")
template_x4_32bpp_vehicle8(8,"gfx/GEAR_01_000.png")
template_x4_32bpp_vehicle8(9,"gfx/GEAR_01_000.png")
template_x4_32bpp_vehicle8(10,"gfx/GEAR_01_000.png")
template_x4_32bpp_vehicle8(11,"gfx/GEAR_01_000.png")
template_x4_32bpp_vehicle8(12,"gfx/GEAR_01_000.png")
template_x4_32bpp_vehicle8(13,"gfx/GEAR_01_000.png")
template_x4_32bpp_vehicle8(14,"gfx/GEAR_01_000.png")
template_x4_32bpp_vehicle8(15,"gfx/GEAR_01_000.png")
}
switch(FEAT_TRAINS, SELF, switch_GEAR_01_animation, getbits(motion_counter,0,4)){
0:spriteset_train_GEAR_01(0);
1:spriteset_train_GEAR_01(1);
2:spriteset_train_GEAR_01(2);
3:spriteset_train_GEAR_01(3);
4:spriteset_train_GEAR_01(4);
5:spriteset_train_GEAR_01(5);
6:spriteset_train_GEAR_01(6);
7:spriteset_train_GEAR_01(7);
8:spriteset_train_GEAR_01(8);
9:spriteset_train_GEAR_01(9);
10:spriteset_train_GEAR_01(10);
11:spriteset_train_GEAR_01(11);
12:spriteset_train_GEAR_01(12);
13:spriteset_train_GEAR_01(13);
14:spriteset_train_GEAR_01(14);
15:spriteset_train_GEAR_01(15);
}