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/netcfg.cpp

    r120 r123  
    261261  image *screen_backup=screen->copy();
    262262
    263   image *ns=cash.img(cash.reg("art/frame.spe","net_screen",SPEC_IMAGE,1));
     263  image *ns=cache.img(cache.reg("art/frame.spe","net_screen",SPEC_IMAGE,1));
    264264  int ns_w=ns->width(),ns_h=ns->height();
    265265  int x=(xres+1)/2-ns_w/2,y=(yres+1)/2-ns_h/2;
     
    326326int net_configuration::get_options(int server)
    327327{
    328   image *ns=cash.img(cash.reg("art/frame.spe","net_screen",SPEC_IMAGE,1));
     328  image *ns=cache.img(cache.reg("art/frame.spe","net_screen",SPEC_IMAGE,1));
    329329  int ns_w=ns->width(),ns_h=ns->height();
    330330  int x=(xres+1)/2-ns_w/2,y=(yres+1)/2-ns_h/2;
    331331  ns->put_image(screen,x,y);
    332332  JCFont *fnt=wm->font();
    333   image *ok_image=cash.img(cash.reg("art/frame.spe","dev_ok",SPEC_IMAGE,1))->copy(),
    334     *cancel_image=cash.img(cash.reg("art/frame.spe","cancel",SPEC_IMAGE,1))->copy();
     333  image *ok_image=cache.img(cache.reg("art/frame.spe","dev_ok",SPEC_IMAGE,1))->copy(),
     334    *cancel_image=cache.img(cache.reg("art/frame.spe","cancel",SPEC_IMAGE,1))->copy();
    335335
    336336  ifield *list=NULL;
     
    445445  screen->clear();
    446446 
    447   image *ns=cash.img(cash.reg("art/frame.spe","net_screen",SPEC_IMAGE,1));
     447  image *ns=cache.img(cache.reg("art/frame.spe","net_screen",SPEC_IMAGE,1));
    448448  int ns_w=ns->width(),ns_h=ns->height();
    449449  int x=(xres+1)/2-ns_w/2,y=(yres+1)/2-ns_h/2;
Note: See TracChangeset for help on using the changeset viewer.