diff options
author | tron <tron@openttd.org> | 2005-11-14 19:48:04 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-11-14 19:48:04 +0000 |
commit | 9d0e7b6458124277d850e9bc524d06fd2046c424 (patch) | |
tree | a9ba5d4f3c5c47ab3857060c5f95ed482530ed97 /functions.h | |
parent | a7843e154653745799ccdc1288d366ce63ef5802 (diff) | |
download | openttd-9d0e7b6458124277d850e9bc524d06fd2046c424.tar.xz |
(svn r3181) -Bracing
-Indentation
-Whitespace
-DeMorgan's Law
-Test with NULL or 0 for non-booleans
-'\0' instead of 0 for chars
-Remove redundantly redundant comments (like DoFoo(); // Do foo)
-Join multiple short lines with a single statement
-Split single lines with multiple statements
-Avoid assignments in if
Diffstat (limited to 'functions.h')
-rw-r--r-- | functions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.h b/functions.h index a73a828ef..39cbb5dfb 100644 --- a/functions.h +++ b/functions.h @@ -151,7 +151,7 @@ void InitializeAnimatedTiles(void); /* tunnelbridge_cmd.c */ bool CheckTunnelInWay(TileIndex tile, int z); -bool CheckBridge_Stuff(byte bridge_type, int bridge_len); +bool CheckBridge_Stuff(byte bridge_type, uint bridge_len); uint32 GetBridgeLength(TileIndex begin, TileIndex end); int CalcBridgeLenCostFactor(int x); |