(svn r8886) -Codechange: (NewGRF) Add (partial) cargo translation table support, applied to action 3s only.

This commit is contained in:
peter1138
2007-02-24 19:36:47 +00:00
parent 0cf5ebee79
commit a23b4594ed
4 changed files with 120 additions and 15 deletions

View File

@@ -6,6 +6,7 @@
#include "station.h"
#include "newgrf_config.h"
#include "helpers.hpp"
#include "cargotype.h"
typedef enum GrfLoadingStage {
GLS_FILESCAN,
@@ -60,6 +61,9 @@ typedef struct GRFFile {
uint param_end; /// one more than the highest set parameter
GRFLabel *label; ///< Pointer to the first label. This is a linked list, not an array.
uint8 cargo_max;
CargoLabel *cargo_list;
} GRFFile;
extern GRFFile *_first_grffile;