(svn r23) -Some omments on the code (blathijs)

This commit is contained in:
darkvater
2004-08-11 22:07:08 +00:00
parent 6679afc48a
commit f422014960
11 changed files with 69 additions and 10 deletions

4
ttd.h
View File

@@ -236,6 +236,10 @@ typedef void ClickTileProc(uint tile);
typedef void AnimateTileProc(uint tile);
typedef void TileLoopProc(uint tile);
typedef void ChangeTileOwnerProc(uint tile, byte old_player, byte new_player);
/* Return value has bit 0x2 set, when the vehicle enters a station. Then,
* result << 8 contains the id of the station entered. If the return value has
* bit 0x8 set, the vehicle could not and did not enter the tile. Are there
* other bits that can be set? */
typedef uint32 VehicleEnterTileProc(Vehicle *v, uint tile, int x, int y);
typedef void VehicleLeaveTileProc(Vehicle *v, uint tile, int x, int y);