summaryrefslogtreecommitdiff
path: root/ship_cmd.c
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-08-22 14:38:37 +0000
committerrubidium <rubidium@openttd.org>2006-08-22 14:38:37 +0000
commit480af9c9171badb7db906d2cc05856f4c2d87b73 (patch)
tree2a3621a92a3d30384ea51e0898d08f035a559915 /ship_cmd.c
parent5f4dbbd52264b986efc248a6ccb02dbde4ca6c0e (diff)
downloadopenttd-480af9c9171badb7db906d2cc05856f4c2d87b73.tar.xz
(svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
Diffstat (limited to 'ship_cmd.c')
-rw-r--r--ship_cmd.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/ship_cmd.c b/ship_cmd.c
index ac0492925..4b4d49d9f 100644
--- a/ship_cmd.c
+++ b/ship_cmd.c
@@ -287,14 +287,14 @@ static void UpdateShipDeltaXY(Vehicle *v, int dir)
{
#define MKIT(d,c,b,a) ((a&0xFF)<<24) | ((b&0xFF)<<16) | ((c&0xFF)<<8) | ((d&0xFF)<<0)
static const uint32 _delta_xy_table[8] = {
- MKIT( -3, -3, 6, 6),
- MKIT(-16, -3, 32, 6),
- MKIT( -3, -3, 6, 6),
- MKIT( -3,-16, 6, 32),
- MKIT( -3, -3, 6, 6),
- MKIT(-16, -3, 32, 6),
- MKIT( -3, -3, 6, 6),
- MKIT( -3,-16, 6, 32),
+ MKIT( -3, -3, 6, 6),
+ MKIT(-16, -3, 32, 6),
+ MKIT( -3, -3, 6, 6),
+ MKIT( -3, -16, 6, 32),
+ MKIT( -3, -3, 6, 6),
+ MKIT(-16, -3, 32, 6),
+ MKIT( -3, -3, 6, 6),
+ MKIT( -3, -16, 6, 32),
};
#undef MKIT
uint32 x = _delta_xy_table[dir];