Age | Commit message (Collapse) | Author |
|
Use them exemplarily to prettify (Get|Set)Tile(Type|Height)
|
|
(mono, maglev) (glx)
|
|
more appropriate headers
|
|
explicit types as parameters
|
|
Also assert() that the TileIndex is valid
|
|
enter other players' depots. TODO
- Add: asserts to find the v->u.rail.track == 0 problem.
- Add: IsValidDepot(), IsValidTown(), IsValidSign(), IsValidVehicle(), IsValidStation()
- Add: GetTileOwner(), IsTileOwner()
- Codechange: Replaced IsShipDepotTile(), IsTrainDepotTile(), IsRoadDepotTile() by IsTileDepotType().
- Codechange: typedeffed the MAP_OWNERS as Owner. Should be used as variable type.
- Codechange: Replaced a few uint by TileIndex.
|
|
[GS]etTileType() instead of plain int.
This makes it necessary to rename TileType() to GetTileType() because a type and a function may not share the same name.
|
|
|
|
single tile from map.h and put them into a seperate file tile.h
|