summaryrefslogtreecommitdiff
path: root/newgrf.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-05-17 21:26:12 +0000
committerpeter1138 <peter1138@openttd.org>2006-05-17 21:26:12 +0000
commit282b76a0b3683fda13eb8c413720aff957c74f8b (patch)
treee6f9f48703c42cc20eef57f8a0476871b5828a4e /newgrf.h
parent450c13c1da3d636d7426de62369a0314702e9449 (diff)
downloadopenttd-282b76a0b3683fda13eb8c413720aff957c74f8b.tar.xz
(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.
Diffstat (limited to 'newgrf.h')
-rw-r--r--newgrf.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/newgrf.h b/newgrf.h
index bc1b7ca4d..5618fbdae 100644
--- a/newgrf.h
+++ b/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;