Ignore:
Timestamp:
Apr 20, 2011, 12:39:27 AM (11 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.cpp

    r494 r512  
    1010
    1111#include "config.h"
     12
     13#include "common.h"
    1214
    1315#include "items.h"
     
    216218
    217219    //uint8_t *buffer=(uint8_t *)&micro_image;
    218     int x, y, w = img->width(), h = img->height(), l;
     220    int x, y, w = img->Size().x, h = img->Size().y, l;
    219221    int r[AUTOTILE_WIDTH * AUTOTILE_HEIGHT],
    220222        g[AUTOTILE_WIDTH * AUTOTILE_HEIGHT],
Note: See TracChangeset for help on using the changeset viewer.