target_map

Render target for panels and texts. If this parameter is set to a bitmap, the object renders into the bitmap instead of on the screen.

Type:

BMAP* (or file name in definition)

Remarks:

Edition:

C  LC 

Example:

PANEL* compass_pan =
{
   bmap = "compass.pcx"; // compass_map as panel background
   flags = SHOW;
   digits(2,2,3,*,1,aircraft.pan);
}

...
compass_pan.target_map = bmap_for_entity(cockpit_sprite,0);
...

See also:

PANEL, TEXT, BMAP, layer, pos, size, bmap_rendertarget

► latest version online