MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / RenderBmpStatic

Function RenderBmpStatic

Descent3/TelcomEffectsRender.cpp:407–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405 tce->age += frametime;
406}
407void 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}
414void 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;

Callers 1

RenderEffectFunction · 0.85

Calls 1

BltBmpToScreenFunction · 0.85

Tested by

no test coverage detected