diff options
author | rubidium <rubidium@openttd.org> | 2007-03-07 12:11:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-07 12:11:48 +0000 |
commit | 24c4d5b06d231785db01500360c26815d8fe4d15 (patch) | |
tree | 757477dbdc02025cc29690a4e66e40f872cab02b /src/vehicle.cpp | |
parent | 36bb92ae241403d61dc7a3e5a1696b615be61395 (diff) | |
download | openttd-24c4d5b06d231785db01500360c26815d8fe4d15.tar.xz |
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r-- | src/vehicle.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp index d050d32a1..ec1f7b74b 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -1098,11 +1098,11 @@ static void BulldozerInit(Vehicle *v) v->u.special.unk2 = 0; } -typedef struct BulldozerMovement { +struct BulldozerMovement { byte direction:2; byte image:2; byte duration:3; -} BulldozerMovement; +}; static const BulldozerMovement _bulldozer_movement[] = { { 0, 0, 4 }, @@ -1172,12 +1172,12 @@ static void BubbleInit(Vehicle *v) v->progress = 0; } -typedef struct BubbleMovement { +struct BubbleMovement { int8 x:4; int8 y:4; int8 z:4; byte image:4; -} BubbleMovement; +}; #define MK(x, y, z, i) { x, y, z, i } #define ME(i) { i, 4, 0, 0 } |