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/newgrf.cpp | |
parent | 36bb92ae241403d61dc7a3e5a1696b615be61395 (diff) | |
download | openttd-24c4d5b06d231785db01500360c26815d8fe4d15.tar.xz |
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r-- | src/newgrf.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp index a5c891b17..56ed3988a 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -73,15 +73,15 @@ static const uint _default_cargo_max = 27; static CargoLabel _default_cargo_list[_default_cargo_max]; -typedef enum GrfDataType { +enum GrfDataType { GDT_SOUND, -} GrfDataType; +}; static byte _grf_data_blocks; static GrfDataType _grf_data_type; -typedef enum grfspec_feature { +enum grfspec_feature { GSF_TRAIN, GSF_ROAD, GSF_SHIP, @@ -95,7 +95,7 @@ typedef enum grfspec_feature { GSF_INDUSTRIES, GSF_CARGOS, GSF_SOUNDFX, -} grfspec_feature; +}; typedef void (*SpecialSpriteHandler)(byte *buf, int len); |