src/rail_cmd.cpp
changeset 8567 270fa0866286
parent 8563 13b1a41e46f1
child 8570 f50de4804ff1
equal deleted inserted replaced
8566:e81f60ee6a59 8567:270fa0866286
    43 #include "tunnelbridge.h"
    43 #include "tunnelbridge.h"
    44 
    44 
    45 #include "table/sprites.h"
    45 #include "table/sprites.h"
    46 #include "table/strings.h"
    46 #include "table/strings.h"
    47 #include "table/railtypes.h"
    47 #include "table/railtypes.h"
       
    48 #include "table/track_land.h"
    48 
    49 
    49 const byte _track_sloped_sprites[14] = {
    50 const byte _track_sloped_sprites[14] = {
    50 	14, 15, 22, 13,
    51 	14, 15, 22, 13,
    51 	 0, 21, 17, 12,
    52 	 0, 21, 17, 12,
    52 	23,  0, 18, 20,
    53 	23,  0, 18, 20,
  1395 
  1396 
  1396 		default:
  1397 		default:
  1397 			return CMD_ERROR;
  1398 			return CMD_ERROR;
  1398 	}
  1399 	}
  1399 }
  1400 }
  1400 
       
  1401 #include "table/track_land.h"
       
  1402 
  1401 
  1403 /**
  1402 /**
  1404  * Get surface height in point (x,y)
  1403  * Get surface height in point (x,y)
  1405  * On tiles with halftile foundations move (x,y) to a save point wrt. track
  1404  * On tiles with halftile foundations move (x,y) to a save point wrt. track
  1406  */
  1405  */