mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-20 04:59:11 +00:00
(svn r22783) -Fix: Move Action 1 references from GRFFile to GrfProcessingState, and reset them after each loading stage.
This commit is contained in:
16
src/newgrf.h
16
src/newgrf.h
@@ -79,22 +79,6 @@ struct GRFFile {
|
||||
uint32 grfid;
|
||||
byte grf_version;
|
||||
|
||||
/* A sprite group contains all sprites of a given vehicle (or multiple
|
||||
* vehicles) when carrying given cargo. It consists of several sprite
|
||||
* sets. Group ids are refered as "cargo id"s by TTDPatch
|
||||
* documentation, contributing to the global confusion.
|
||||
*
|
||||
* A sprite set contains all sprites of a given vehicle carrying given
|
||||
* cargo at a given *stage* - that is usually its load stage. Ie. you
|
||||
* can have a spriteset for an empty wagon, wagon full of coal,
|
||||
* half-filled wagon etc. Each spriteset contains eight sprites (one
|
||||
* per direction) or four sprites if the vehicle is symmetric. */
|
||||
|
||||
SpriteID spriteset_start;
|
||||
int spriteset_numsets;
|
||||
int spriteset_numents;
|
||||
int spriteset_feature;
|
||||
|
||||
int spritegroups_count;
|
||||
struct SpriteGroup **spritegroups;
|
||||
|
||||
|
Reference in New Issue
Block a user