spritecache.c
changeset 2407 6c378ce4d469
parent 2342 aae24c9661ba
child 2548 49c8a096033f
equal deleted inserted replaced
2406:8c873205483a 2407:6c378ce4d469
   152 	_sprite_lru_cur[load_index] = 0;
   152 	_sprite_lru_cur[load_index] = 0;
   153 #endif
   153 #endif
   154 
   154 
   155 	return true;
   155 	return true;
   156 }
   156 }
       
   157 
       
   158 
       
   159 void DupSprite(SpriteID old, SpriteID new)
       
   160 {
       
   161 	_sprite_file_pos[new] = _sprite_file_pos[old];
       
   162 	_sprite_ptr[new] = NULL;
       
   163 }
       
   164 
   157 
   165 
   158 void SkipSprites(uint count)
   166 void SkipSprites(uint count)
   159 {
   167 {
   160 	for (; count > 0; --count) {
   168 	for (; count > 0; --count) {
   161 		if (!ReadSpriteHeaderSkipData()) return;
   169 		if (!ReadSpriteHeaderSkipData()) return;