Changeset 682 for abuse/trunk/src/items.cpp
- Timestamp:
- Sep 12, 2011, 10:17:23 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/items.cpp
r579 r682 254 254 } 255 255 } 256 micro_image = new image( vec2i(AUTOTILE_WIDTH, AUTOTILE_HEIGHT));256 micro_image = new image(ivec2(AUTOTILE_WIDTH, AUTOTILE_HEIGHT)); 257 257 258 258 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), 260 260 color_table->Lookup((r[l]/(t[l]*4/5))>>3, 261 261 (g[l]/(t[l]*4/5))>>3,
Note: See TracChangeset
for help on using the changeset viewer.