mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-21 21:49:10 +00:00
(svn r15417) -Codechange: Add default rail type labels and support for per-GRF translation table.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "cargotype.h"
|
||||
#include "industry_type.h"
|
||||
#include "station_type.h"
|
||||
#include "rail_type.h"
|
||||
|
||||
enum GrfLoadingStage {
|
||||
GLS_FILESCAN,
|
||||
@@ -98,6 +99,9 @@ struct GRFFile {
|
||||
uint8 cargo_max;
|
||||
CargoLabel *cargo_list;
|
||||
uint8 cargo_map[NUM_CARGO];
|
||||
|
||||
uint8 railtype_max;
|
||||
RailTypeLabel *railtype_list;
|
||||
};
|
||||
|
||||
extern GRFFile *_first_grffile;
|
||||
|
Reference in New Issue
Block a user