Loading

Water coasts for newgrfs

  1.  
  2.  
  3. template template_WATER_COASTS_x1(y) {
  4.     [16*64, 6400+80*y, 64, 80, -31, -24]
  5.     [ 1*64, 6400+80*y, 64, 80, -31, -24]
  6.     [ 2*64, 6400+80*y, 64, 80, -31, -24]
  7.     [ 3*64, 6400+80*y, 64, 80, -31, -24]
  8.     [ 4*64, 6400+80*y, 64, 80, -31, -24]
  9.     [17*64, 6400+80*y, 64, 80, -31, -24]
  10.     [ 6*64, 6400+80*y, 64, 80, -31, -24]
  11.     [ 7*64, 6400+80*y, 64, 80, -31, -24]
  12.     [ 8*64, 6400+80*y, 64, 80, -31, -24]
  13.     [ 9*64, 6400+80*y, 64, 80, -31, -24]
  14.     [15*64, 6400+80*y, 64, 80, -31, -24]
  15.     [11*64, 6400+80*y, 64, 80, -31, -24]
  16.     [12*64, 6400+80*y, 64, 80, -31, -24]
  17.     [13*64, 6400+80*y, 64, 80, -31, -24]
  18.     [14*64, 6400+80*y, 64, 80, -31, -24]
  19.     [18*64, 6400+80*y, 64, 80, -31, -24]
  20.    
  21. }
  22.  
  23. template template_WATER_COASTS_x4(y) {
  24.     [16*256, 320*y, 256, 320, -128, -96]
  25.     [ 1*256, 320*y, 256, 320, -128, -96]
  26.     [ 2*256, 320*y, 256, 320, -128, -96]
  27.     [ 3*256, 320*y, 256, 320, -128, -96]
  28.     [ 4*256, 320*y, 256, 320, -128, -96]
  29.     [17*256, 320*y, 256, 320, -128, -96]
  30.     [ 6*256, 320*y, 256, 320, -128, -96]
  31.     [ 7*256, 320*y, 256, 320, -128, -96]
  32.     [ 8*256, 320*y, 256, 320, -128, -96]
  33.     [ 9*256, 320*y, 256, 320, -128, -96]
  34.     [15*256, 320*y, 256, 320, -128, -96]
  35.     [11*256, 320*y, 256, 320, -128, -96]
  36.     [12*256, 320*y, 256, 320, -128, -96]
  37.     [13*256, 320*y, 256, 320, -128, -96]
  38.     [14*256, 320*y, 256, 320, -128, -96]
  39.     [18*256, 320*y, 256, 320, -128, -96]
  40. }
  41.  
  42. replacenew TEMPERATE_WATER_COASTS(COAST_TILES,"gfx/LAND_OUTPUT_0000_8bpp.png",0)                        { template_WATER_COASTS_x1(9) }
  43. alternative_sprites(TEMPERATE_WATER_COASTS, ZOOM_LEVEL_NORMAL, BIT_DEPTH_32BPP, "gfx/LAND_OUTPUT_0000.png")     { template_WATER_COASTS_x1(9) }
  44. alternative_sprites(TEMPERATE_WATER_COASTS, ZOOM_LEVEL_IN_4X, BIT_DEPTH_32BPP, "gfx/LAND_OUTPUT_0000.png")      { template_WATER_COASTS_x4(9) }

Comments