summaryrefslogtreecommitdiff
path: root/src/openttd.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-02-13 10:26:53 +0000
committerrubidium <rubidium@openttd.org>2007-02-13 10:26:53 +0000
commita419f4aedadc526377d24e30bfd967e29255498e (patch)
treea8d30d13565c6ebb15b7a0857e33c317d033e666 /src/openttd.h
parenteab6dd989821a2cacb96a94de0da789214f6e2b4 (diff)
downloadopenttd-a419f4aedadc526377d24e30bfd967e29255498e.tar.xz
(svn r8698) -Codechange: enumify the returns of VehicleEnterTile
Diffstat (limited to 'src/openttd.h')
-rw-r--r--src/openttd.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/openttd.h b/src/openttd.h
index 0126d72c8..b4581ea36 100644
--- a/src/openttd.h
+++ b/src/openttd.h
@@ -361,10 +361,7 @@ typedef void ClickTileProc(TileIndex tile);
typedef void AnimateTileProc(TileIndex tile);
typedef void TileLoopProc(TileIndex tile);
typedef void ChangeTileOwnerProc(TileIndex tile, PlayerID old_player, PlayerID 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? */
+/** @see VehicleEnterTileStatus to see what the return values mean */
typedef uint32 VehicleEnterTileProc(Vehicle *v, TileIndex tile, int x, int y);
typedef Slope GetSlopeTilehProc(TileIndex, Slope tileh);