src/town_map.h
branchNewGRF_ports
changeset 6872 1c4a4a609f85
parent 6871 5a9dc001e1ad
child 6878 7d1ff2f621c7
child 9732 f8eb3e208514
equal deleted inserted replaced
6871:5a9dc001e1ad 6872:1c4a4a609f85
     4 
     4 
     5 #ifndef TOWN_MAP_H
     5 #ifndef TOWN_MAP_H
     6 #define TOWN_MAP_H
     6 #define TOWN_MAP_H
     7 
     7 
     8 #include "town.h"
     8 #include "town.h"
     9 #include "date.h"
     9 #include "date_func.h"
       
    10 #include "tile_map.h"
       
    11 #include "functions.h"
    10 
    12 
    11 /**
    13 /**
    12  * Get the index of which town this house/street is attached to.
    14  * Get the index of which town this house/street is attached to.
    13  * @param t the tile
    15  * @param t the tile
    14  * @pre IsTileType(t, MP_HOUSE) or IsTileType(t, MP_ROAD)
    16  * @pre IsTileType(t, MP_HOUSE) or IsTileType(t, MP_ROAD)