spritecache.c
changeset 2407 983f1d8a0614
parent 2342 c19fb4f2df30
child 2548 97ada3bd2702
equal deleted inserted replaced
2406:be5cfb8cd20d 2407:983f1d8a0614
   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;