equal
deleted
inserted
replaced
71 /* Default cargo translation table. By default there are 27 possible cargo types */ |
71 /* Default cargo translation table. By default there are 27 possible cargo types */ |
72 static const uint _default_cargo_max = 27; |
72 static const uint _default_cargo_max = 27; |
73 static CargoLabel _default_cargo_list[_default_cargo_max]; |
73 static CargoLabel _default_cargo_list[_default_cargo_max]; |
74 |
74 |
75 |
75 |
76 typedef enum GrfDataType { |
76 enum GrfDataType { |
77 GDT_SOUND, |
77 GDT_SOUND, |
78 } GrfDataType; |
78 }; |
79 |
79 |
80 static byte _grf_data_blocks; |
80 static byte _grf_data_blocks; |
81 static GrfDataType _grf_data_type; |
81 static GrfDataType _grf_data_type; |
82 |
82 |
83 |
83 |
84 typedef enum grfspec_feature { |
84 enum grfspec_feature { |
85 GSF_TRAIN, |
85 GSF_TRAIN, |
86 GSF_ROAD, |
86 GSF_ROAD, |
87 GSF_SHIP, |
87 GSF_SHIP, |
88 GSF_AIRCRAFT, |
88 GSF_AIRCRAFT, |
89 GSF_STATION, |
89 GSF_STATION, |
93 GSF_GLOBALVAR, |
93 GSF_GLOBALVAR, |
94 GSF_INDUSTRYTILES, |
94 GSF_INDUSTRYTILES, |
95 GSF_INDUSTRIES, |
95 GSF_INDUSTRIES, |
96 GSF_CARGOS, |
96 GSF_CARGOS, |
97 GSF_SOUNDFX, |
97 GSF_SOUNDFX, |
98 } grfspec_feature; |
98 }; |
99 |
99 |
100 |
100 |
101 typedef void (*SpecialSpriteHandler)(byte *buf, int len); |
101 typedef void (*SpecialSpriteHandler)(byte *buf, int len); |
102 |
102 |
103 static const int _vehcounts[4] = { |
103 static const int _vehcounts[4] = { |