(svn r8891) -Codechange: Remove remains of global cargo scheme. All cargo mapping is now dealt with only in NewGRF code, on load where possible.

This commit is contained in:
peter1138
2007-02-24 23:36:40 +00:00
parent bc968d23f1
commit 6b7a4ba448
9 changed files with 42 additions and 114 deletions

View File

@@ -79,11 +79,11 @@ typedef struct StationSpec {
bool copied_layouts;
/**
* NUM_GLOBAL_CID sprite groups.
* NUM_CARGO real cargo plus three pseudo cargo sprite groups.
* Used for obtaining the sprite offset of custom sprites, and for
* evaluating callbacks.
*/
const struct SpriteGroup *spritegroup[NUM_GLOBAL_CID];
const struct SpriteGroup *spritegroup[NUM_CARGO + 3];
} StationSpec;
/**