| 405 | tce->age += frametime; |
| 406 | } |
| 407 | void RenderBmpStatic(tceffect *tce, float frametime, int xoff, int yoff, bool ok_to_render) { |
| 408 | if (!ok_to_render) |
| 409 | return; |
| 410 | ASSERT(tce->type == EFX_BMP_STATIC); |
| 411 | BltBmpToScreen(tce->pos_x + glitch_dx + xoff, tce->pos_y + glitch_dy + yoff, &tce->bmpinfo.chunk_bmp); |
| 412 | tce->age += frametime; |
| 413 | } |
| 414 | void BlurBitmapArea(uint16_t *srcbm, uint16_t *dstbm, int16_t width, int16_t height, int16_t startx, int16_t starty, int16_t bmw) { |
| 415 | int pixel_count, blue_total, red_total, green_total; |
| 416 | pixel_count = width * height; |
no test coverage detected