Ignore:
Timestamp:
Apr 24, 2011, 10:33:40 AM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: rename TImage to TransImage? for readability.

File:
1 edited

Legend:

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

    r533 r541  
    261261
    262262
    263   im=new TImage(img,"foretile");
     263  im=new TransImage(img,"foretile");
    264264  delete img;
    265265
     
    275275size_t figure::MemUsage()
    276276{
    277     return forward->MemUsage() + backward->MemUsage() + hit->size()
     277    return forward->DiskUsage() + backward->DiskUsage() + hit->size()
    278278            + f_damage->size() + b_damage->size() + sizeof(figure);
    279279}
     
    283283{
    284284  image *im=load_image(fp);
    285   forward=new TImage(im,"figure data");
     285  forward=new TransImage(im,"figure data");
    286286  im->FlipX();
    287   backward=new TImage(im,"figure backward data");
     287  backward=new TransImage(im,"figure backward data");
    288288  delete im;
    289289
Note: See TracChangeset for help on using the changeset viewer.