diff options
author | darkvater <darkvater@openttd.org> | 2004-08-11 22:07:08 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-08-11 22:07:08 +0000 |
commit | f42201496093f04220e58b1c4cd4d69531839de4 (patch) | |
tree | bbd3f2f0084e8bba00dd232cb07236b5bebd9d6a /ttd.h | |
parent | 6679afc48a1bec985b6687dee105730b89682224 (diff) | |
download | openttd-f42201496093f04220e58b1c4cd4d69531839de4.tar.xz |
(svn r23) -Some omments on the code (blathijs)
Diffstat (limited to 'ttd.h')
-rw-r--r-- | ttd.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |