(svn r2866) Move all functions and tables which aren't directly involved in managing the sprite heap to a new file gfxinit.c.

This doesn't ease the global variable mess, but makes the distinction between sprite heap and gfx loading routines easier.
This commit is contained in:
tron
2005-08-14 18:10:18 +00:00
parent 45b79d7347
commit a7d6b41c6a
10 changed files with 388 additions and 331 deletions

View File

@@ -30,7 +30,7 @@ extern int _replace_sprites_count[16];
extern int _replace_sprites_offset[16];
extern int _traininfo_vehicle_pitch;
GRFFile *_cur_grffile;
static GRFFile *_cur_grffile;
GRFFile *_first_grffile;
int _grffile_count;
static int _cur_spriteid;