Ignore:
Timestamp:
Apr 20, 2011, 12:39:27 AM (12 years ago)
Author:
Sam Hocevar
Message:

imlib: use vec2i for image::size and unroll all necessary changes
everywhere else in the code.

File:
1 edited

Legend:

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

    r494 r512  
    3737  backtile(spec_entry *e, bFILE *fp);
    3838  backtile(bFILE *fp);
    39   int32_t size() { return 2+4+im->width()*im->height(); }
     39  int32_t size() { vec2i s = im->Size(); return 2 + 4 + s.x * s.y; }
    4040  ~backtile() { delete im; }
    4141} ;
Note: See TracChangeset for help on using the changeset viewer.