Ignore:
Timestamp:
Mar 18, 2008, 12:05:08 AM (11 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/level.cpp

    r115 r123  
    21582158void level::write_cache_prof_info()
    21592159{
    2160   if (cash.prof_is_on())
     2160  if (cache.prof_is_on())
    21612161  {
    21622162    char pf_name[100];
     
    21682168
    21692169    spec_directory sd;
    2170     sd.add_by_hand(new spec_entry(SPEC_DATA_ARRAY,"cache profile info",NULL,cash.prof_size(),0));
     2170    sd.add_by_hand(new spec_entry(SPEC_DATA_ARRAY,"cache profile info",NULL,cache.prof_size(),0));
    21712171    sd.calc_offsets();
    21722172    jFILE *fp2=sd.write(pf_name);
     
    21752175    else
    21762176    {
    2177       cash.prof_write(fp2);
     2177      cache.prof_write(fp2);
    21782178      delete fp2;
    21792179    }
     
    21942194
    21952195
    2196     cash.load_cache_prof_info(pf_name,this);
     2196    cache.load_cache_prof_info(pf_name,this);
    21972197  }
    21982198}
Note: See TracChangeset for help on using the changeset viewer.