summaryrefslogtreecommitdiff
path: root/src/variables.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-02-20 22:09:21 +0000
committerpeter1138 <peter1138@openttd.org>2007-02-20 22:09:21 +0000
commitef2daa5060e251834e82df1ba3e081579ff84f2f (patch)
tree9caff20858ac3f06265e4f69d54b9cdb03a47004 /src/variables.h
parent6621beb126c4bf1481b9d7826f3efd10c2bb8308 (diff)
downloadopenttd-ef2daa5060e251834e82df1ba3e081579ff84f2f.tar.xz
(svn r8826) -Codechange: Replace _cargoc's separate arrays with a regular struct array (with accessor) and implement new initialization method using cargo labels.
Diffstat (limited to 'src/variables.h')
-rw-r--r--src/variables.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/variables.h b/src/variables.h
index ccc1fc92c..37da4c4fc 100644
--- a/src/variables.h
+++ b/src/variables.h
@@ -337,19 +337,6 @@ VARDEF char *_config_file;
VARDEF char *_highscore_file;
VARDEF char *_log_file;
-// NOSAVE: These can be recalculated from InitializeLandscapeVariables
-typedef struct {
- StringID names_s[NUM_CARGO];
- StringID names_long[NUM_CARGO];
- StringID names_short[NUM_CARGO];
- byte weights[NUM_CARGO];
- SpriteID sprites[NUM_CARGO];
- byte transit_days_1[NUM_CARGO];
- byte transit_days_2[NUM_CARGO];
-} CargoConst;
-
-VARDEF CargoConst _cargoc;
-
static inline void SetDParamX(uint32 *s, uint n, uint32 v)
{