(svn r2633) Move spritecache related variable from variables.h to spritecache.[ch]

This commit is contained in:
tron 2005-07-19 06:54:13 +00:00
parent 6500fd2b91
commit 87be1312d2
4 changed files with 5 additions and 2 deletions

View File

@ -2,6 +2,7 @@
#include "openttd.h"
#include "screenshot.h"
#include "sound.h"
#include "spritecache.h"
#include "string.h"
#include "table/currency.h"
#include "network.h"

View File

@ -54,6 +54,8 @@ static uint16 _sprite_xsize[NUM_SPRITES];
static uint8 _sprite_ysize[NUM_SPRITES];
#endif
bool _cache_sprites;
typedef struct MemBlock {
uint32 size;
byte data[VARARRAY_SIZE];

View File

@ -31,4 +31,6 @@ static inline const byte *GetNonSprite(SpriteID sprite)
void GfxLoadSprites(void);
void IncreaseSpriteLRU(void);
extern bool _cache_sprites;
#endif

View File

@ -341,8 +341,6 @@ VARDEF Vehicle *_place_clicked_vehicle;
VARDEF char _ini_videodriver[16], _ini_musicdriver[16], _ini_sounddriver[16];
VARDEF bool _cache_sprites;
// debug features
VARDEF char _savedump_path[64];
VARDEF uint _savedump_first, _savedump_freq, _savedump_last;