Ignore:
Timestamp:
Mar 18, 2008, 12:05:08 AM (12 years ago)
Author:
Sam Hocevar
Message:
  • Cleaned up cache.cpp.
  • Renamed stupid "cash" variable into "cache".
  • Rename cache_list and crc_manager into CacheList? and CrcManager?.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/particle.cpp

    r115 r123  
    110110  for (i=0;i<sd.total;i++)
    111111    if (sd.entries[i]->type==SPEC_PARTICLE)
    112       frames[on++]=cash.reg(fn,sd.entries[i]->name,SPEC_PARTICLE,1);
     112      frames[on++]=cache.reg(fn,sd.entries[i]->name,SPEC_PARTICLE,1);
    113113
    114114}
     
    161161  for (part_animation *p=first_anim;p;p=p->next)
    162162  {
    163     cash.part(p->seq->frames[p->frame])->draw(screen,p->x-v->xoff()+v->cx1,p->y-v->yoff()+v->cy1,p->dir);
     163    cache.part(p->seq->frames[p->frame])->draw(screen,p->x-v->xoff()+v->cx1,p->y-v->yoff()+v->cy1,p->dir);
    164164  }
    165165}
Note: See TracChangeset for help on using the changeset viewer.