1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-24 23:19:09 +00:00

(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};

This commit is contained in:
rubidium
2007-03-07 12:11:48 +00:00
parent 36bb92ae24
commit 24c4d5b06d
138 changed files with 779 additions and 789 deletions

View File

@@ -15,11 +15,11 @@
#endif /* SPRITE_CACHE_SIZE */
typedef struct SpriteCache {
struct SpriteCache {
void *ptr;
uint32 file_pos;
int16 lru;
} SpriteCache;
};
static uint _spritecache_items = 0;
@@ -55,10 +55,10 @@ static SpriteCache *AllocateSpriteCache(uint index)
}
typedef struct MemBlock {
struct MemBlock {
uint32 size;
byte data[VARARRAY_SIZE];
} MemBlock;
};
static uint _sprite_lru_counter;
static MemBlock *_spritecache_ptr;