create_blender_table(3alleg4)

create_blender_table3alleg4

Emulates truecolor blender effects in paletted modes. allegro game programming library.

Usage

#include <allegro.h>

void create_blender_table(COLOR_MAP *table, const PALETTE pal, void (*callback)(int pos));

Overview

Fills the specified color mapping table with lookup data for doing a paletted equivalent of whatever truecolor blender mode is currently selected. After calling set_trans_blender(), set_blender_mode(), or any of the other truecolor blender mode routines, you can use this function to create an 8-bit mapping table that will have the same results as whatever 24-bit blending mode you have enabled.

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.