Ignore:
Timestamp:
Sep 12, 2011, 10:17:23 PM (8 years ago)
Author:
Sam Hocevar
Message:

core: rename vec2i to ivec2 and update matrix.h from Lol Engine.

File:
1 edited

Legend:

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

    r579 r682  
    254254    }
    255255  }
    256   micro_image = new image(vec2i(AUTOTILE_WIDTH, AUTOTILE_HEIGHT));
     256  micro_image = new image(ivec2(AUTOTILE_WIDTH, AUTOTILE_HEIGHT));
    257257
    258258  for (l=0; l<AUTOTILE_WIDTH*AUTOTILE_HEIGHT; l++)
    259     micro_image->PutPixel(vec2i(l % AUTOTILE_WIDTH, l / AUTOTILE_WIDTH),
     259    micro_image->PutPixel(ivec2(l % AUTOTILE_WIDTH, l / AUTOTILE_WIDTH),
    260260       color_table->Lookup((r[l]/(t[l]*4/5))>>3,
    261261                 (g[l]/(t[l]*4/5))>>3,
Note: See TracChangeset for help on using the changeset viewer.