Copy a rectangular part inside the current framebuffer.
d2_s32 d2_utility_fbblitcopy( d2_device * handle, d2_u16 width, d2_u16 height, d2_blitpos srcx, d2_blitpos srcy, d2_blitpos dstx, d2_blitpos dsty, d2_u32 flags )
This function uses d2_settexturemapping to map a texture on a triangle.
d2_s32 d2_utility_maptriangle( d2_device * handle, const d2_f32 * points, const d2_f32 * uvs )
Copies an image in perspective manner to a destination rectangle.
d2_s32 d2_utility_perspectivewarp( d2_device * handle, d2_u16 srcwidth, d2_u16 srcheight, d2_s16 srcx, d2_s16 srcy, d2_s16 dstwidth, d2_s16 dstheight, d2_s16 dstx, d2_s16 dsty, d2_u16 wt )
Write a part of the color lookup table directly to the render buffer.
d2_s32 d2_writetexclut_direct( d2_device * handle, const d2_color * clut_part, d2_u32 start_index, d2_u32 length )