tron
ff0030936e
(svn r2408) Introduce SetTileOwner() and use it
2005-06-04 12:13:24 +00:00
tron
793eba3a3a
(svn r2404) assert that GetTileOwner() isn't called for tiles, which don't store owner information
2005-06-03 22:43:59 +00:00
tron
22f211a47a
(svn r2358) Add macros for getting (GB) and setting (SB) a range of bits
...
Use them exemplarily to prettify (Get|Set)Tile(Type|Height)
2005-05-22 07:12:09 +00:00
matthijs
a2d7015248
(svn r2253) - Fix: [ 1190896 1184378 ] [NPF] Trains ignoring their railtype (mono, maglev) (glx)
2005-05-02 18:53:06 +00:00
tron
a370af76d2
(svn r1898) Remove some unused macros from macros.h and move some others to more appropriate headers
2005-02-22 12:48:03 +00:00
tron
7d56d1d841
(svn r1839) Move GetTileSlope() and GetTileZ() into tile.[ch] and use more explicit types as parameters
2005-02-07 10:41:45 +00:00
tron
89482008d8
(svn r1837) GetTileOwner returns Owner, not bool
...
Also assert() that the TileIndex is valid
2005-02-07 10:09:28 +00:00
matthijs
cc0966405b
(svn r1834) - Fix: NPF does not check the owner of its target, busses try to 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-02-06 22:36:08 +00:00
tron
38587b60f7
(svn r1718) Use the enum TileType as parameter/return type for [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 15:12:40 +00:00
tron
e86e9f96ca
(svn r1715) Move [GS]etMapExtraBits to tile.[ch]
2005-01-29 13:33:48 +00:00
tron
39858e696b
(svn r1713) Split off several functions which query/set information about a single tile from map.h and put them into a seperate file tile.h
2005-01-29 12:19:05 +00:00