newgrf.h
changeset 2625 66b3d632dcd2
parent 2548 97ada3bd2702
child 2766 7658ddad65b9
equal deleted inserted replaced
2624:47d7768c6dca 2625:66b3d632dcd2
    10 struct GRFFile {
    10 struct GRFFile {
    11 	char *filename;
    11 	char *filename;
    12 	uint32 grfid;
    12 	uint32 grfid;
    13 	uint16 flags;
    13 	uint16 flags;
    14 	uint16 sprite_offset;
    14 	uint16 sprite_offset;
       
    15 	SpriteID first_spriteset; ///< Holds the first spriteset's sprite offset.
    15 	GRFFile *next;
    16 	GRFFile *next;
    16 
    17 
    17 	/* A sprite group contains all sprites of a given vehicle (or multiple
    18 	/* A sprite group contains all sprites of a given vehicle (or multiple
    18 	 * vehicles) when carrying given cargo. It consists of several sprite
    19 	 * vehicles) when carrying given cargo. It consists of several sprite
    19 	 * sets.  Group ids are refered as "cargo id"s by TTDPatch
    20 	 * sets.  Group ids are refered as "cargo id"s by TTDPatch