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

    r112 r123  
    824824        player_draw(just_fired,o->controller()->player_number);
    825825        if (o->controller() && o->controller()->local_player())
    826           cash.img(S_health_image)->put_image(screen,o->controller()->cx2-20,
     826          cache.img(S_health_image)->put_image(screen,o->controller()->cx2-20,
    827827                                            o->controller()->cy1+5,1);
    828828      } break;
     
    845845        o->state=(character_state)old_state;
    846846        if (o->controller() && o->controller()->local_player())
    847           cash.img(S_fast_image)->put_image(screen,o->controller()->cx2-20,
     847          cache.img(S_fast_image)->put_image(screen,o->controller()->cx2-20,
    848848                                            o->controller()->cy1+5,1);
    849849      } break;
     
    866866
    867867        if (o->controller() && o->controller()->local_player())
    868           cash.img(S_fly_image)->put_image(screen,o->controller()->cx2-20,
     868          cache.img(S_fly_image)->put_image(screen,o->controller()->cx2-20,
    869869                                            o->controller()->cy1+5,1);
    870870      } break;
     
    879879         
    880880        if (o->controller() && o->controller()->local_player())
    881           cash.img(S_sneaky_image)->put_image(screen,o->controller()->cx2-20,
     881          cache.img(S_sneaky_image)->put_image(screen,o->controller()->cx2-20,
    882882                                            o->controller()->cy1+5,1);
    883883      } break;
     
    10421042  wm->set_mouse_position(0,0);
    10431043  screen->clear();
    1044   image *im=cash.img(cash.reg("art/frame.spe","end_level_screen",SPEC_IMAGE,1));
     1044  image *im=cache.img(cache.reg("art/frame.spe","end_level_screen",SPEC_IMAGE,1));
    10451045  im->put_image(screen,0,0);
    10461046  int x1=im->width()+1,y1=0,y2=screen->height();
Note: See TracChangeset for help on using the changeset viewer.