Changeset 579 for abuse/trunk/src/imlib/transimage.cpp
- Timestamp:
- May 5, 2011, 12:36:33 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/imlib/transimage.cpp
r555 r579 149 149 image *blend, vec2i bpos, uint8_t *map, 150 150 uint8_t *map2, int amount, int nframes, 151 uint8_t *tint, color_filter *f, palette *pal)151 uint8_t *tint, ColorFilter *f, palette *pal) 152 152 { 153 153 vec2i pos1, pos2; … … 262 262 uint8_t b = ((((int)p1[2] - p2[2]) * mul) >> 16) + p2[2]; 263 263 264 *sl++ = f-> lookup_color(r >> 3, g >> 3, b >> 3);264 *sl++ = f->Lookup(r >> 3, g >> 3, b >> 3); 265 265 } 266 266 } … … 296 296 // Used when eg. the player teleports, or in rocket trails 297 297 void TransImage::PutFade(image *screen, vec2i pos, int amount, int nframes, 298 color_filter *f, palette *pal)298 ColorFilter *f, palette *pal) 299 299 { 300 300 PutImageGeneric<FADE>(screen, pos, 0, NULL, 0, NULL, NULL, … … 303 303 304 304 void TransImage::PutFadeTint(image *screen, vec2i pos, int amount, int nframes, 305 uint8_t *tint, color_filter *f, palette *pal)305 uint8_t *tint, ColorFilter *f, palette *pal) 306 306 { 307 307 PutImageGeneric<FADE_TINT>(screen, pos, 0, NULL, 0, NULL, NULL, … … 318 318 // Assumes that the blend image completely covers the transparent image. 319 319 void TransImage::PutBlend(image *screen, vec2i pos, image *blend, vec2i bpos, 320 int amount, color_filter *f, palette *pal)320 int amount, ColorFilter *f, palette *pal) 321 321 { 322 322 PutImageGeneric<BLEND>(screen, pos, 0, blend, bpos, NULL, NULL,
Note: See TracChangeset
for help on using the changeset viewer.