(svn r4901) - Codechange: change 'SpriteGroup *' to 'struct SpriteGroup *' within StationSpec and GRFFile struct declarations. Now only code which actually references those pointers needs to know about the SpriteGroup struct. Remove some unnecessary lingering header dependencies.
This commit is contained in:
3
newgrf.h
3
newgrf.h
@@ -3,7 +3,6 @@
|
||||
#ifndef NEWGRF_H
|
||||
#define NEWGRF_H
|
||||
|
||||
#include "sprite.h"
|
||||
#include "station.h"
|
||||
|
||||
typedef struct GRFLabel {
|
||||
@@ -38,7 +37,7 @@ typedef struct GRFFile {
|
||||
int spriteset_feature;
|
||||
|
||||
int spritegroups_count;
|
||||
SpriteGroup **spritegroups;
|
||||
struct SpriteGroup **spritegroups;
|
||||
|
||||
StationSpec **stations;
|
||||
|
||||
|
Reference in New Issue
Block a user