From 57aacb50c87372dabddd2ab58537ef55ba9e3c3d Mon Sep 17 00:00:00 2001 From: peter1138 Date: Tue, 12 Feb 2008 11:08:47 +0000 Subject: (svn r12119) -Codechange: Rename grfspec_feature to match code style, and expose in header for use elsewhere. --- src/newgrf.cpp | 17 ----------------- src/newgrf.h | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/newgrf.cpp b/src/newgrf.cpp index 4a6bb6c83..d9130fec4 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -93,23 +93,6 @@ static byte _grf_data_blocks; static GrfDataType _grf_data_type; -enum grfspec_feature { - GSF_TRAIN, - GSF_ROAD, - GSF_SHIP, - GSF_AIRCRAFT, - GSF_STATION, - GSF_CANAL, - GSF_BRIDGE, - GSF_TOWNHOUSE, - GSF_GLOBALVAR, - GSF_INDUSTRYTILES, - GSF_INDUSTRIES, - GSF_CARGOS, - GSF_SOUNDFX, -}; - - typedef void (*SpecialSpriteHandler)(byte *buf, int len); static const uint _vehcounts[4] = { diff --git a/src/newgrf.h b/src/newgrf.h index dfd33f693..b872769f0 100644 --- a/src/newgrf.h +++ b/src/newgrf.h @@ -32,6 +32,23 @@ enum GrfMiscBit { GMB_CATENARY_ON_3RD_TRACK = 5, // Unsupported. }; +enum GrfSpecFeature { + GSF_TRAIN, + GSF_ROAD, + GSF_SHIP, + GSF_AIRCRAFT, + GSF_STATION, + GSF_CANAL, + GSF_BRIDGE, + GSF_TOWNHOUSE, + GSF_GLOBALVAR, + GSF_INDUSTRYTILES, + GSF_INDUSTRIES, + GSF_CARGOS, + GSF_SOUNDFX, + GSF_END, +}; + struct GRFLabel { byte label; uint32 nfo_line; -- cgit v1.2.3-70-g09d2