Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-02-07 | (svn r1839) Move GetTileSlope() and GetTileZ() into tile.[ch] and use more ↵ | tron | |
explicit types as parameters | |||
2005-02-07 | (svn r1837) GetTileOwner returns Owner, not bool | tron | |
Also assert() that the TileIndex is valid | |||
2005-02-06 | (svn r1834) - Fix: NPF does not check the owner of its target, busses try to ↵ | matthijs | |
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. | |||
2005-01-29 | (svn r1718) Use the enum TileType as parameter/return type for ↵ | tron | |
[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. | |||
2005-01-29 | (svn r1715) Move [GS]etMapExtraBits to tile.[ch] | tron | |
2005-01-29 | (svn r1713) Split off several functions which query/set information about a ↵ | tron | |
single tile from map.h and put them into a seperate file tile.h |