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

pull/155/head
tron 19 years ago
parent 6500fd2b91
commit 87be1312d2

@ -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"

@ -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];

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

@ -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;

Loading…
Cancel
Save