/* ______ ___ ___ * /\ _ \ /\_ \ /\_ \ * \ \ \L\ \\//\ \ \//\ \ __ __ _ __ ___ * \ \ __ \ \ \ \ \ \ \ /'__`\ /'_ `\/\`'__\/ __`\ * \ \ \/\ \ \_\ \_ \_\ \_/\ __//\ \L\ \ \ \//\ \L\ \ * \ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/ * \/_/\/_/\/____/\/____/\/____/\/___L\ \/_/ \/___/ * /\____/ * \_/__/ * * 24 bit color polygon scanline filler helpers (gouraud shading, tmapping, etc). * * Original routines by Michael Bukin. * Modified to support z-buffered polygon drawing by Bertrand Coconnier * * See readme.txt for copyright information. */ #include "allegro.h" #ifdef ALLEGRO_COLOR24 #include "allegro/internal/aintern.h" #include "cdefs24.h" #define FUNC_POLY_ZBUF_FLAT _poly_zbuf_flat24 #define FUNC_POLY_ZBUF_GRGB _poly_zbuf_grgb24 #define FUNC_POLY_ZBUF_ATEX _poly_zbuf_atex24 #define FUNC_POLY_ZBUF_ATEX_MASK _poly_zbuf_atex_mask24 #define FUNC_POLY_ZBUF_ATEX_LIT _poly_zbuf_atex_lit24 #define FUNC_POLY_ZBUF_ATEX_MASK_LIT _poly_zbuf_atex_mask_lit24 #define FUNC_POLY_ZBUF_PTEX _poly_zbuf_ptex24 #define FUNC_POLY_ZBUF_PTEX_MASK _poly_zbuf_ptex_mask24 #define FUNC_POLY_ZBUF_PTEX_LIT _poly_zbuf_ptex_lit24 #define FUNC_POLY_ZBUF_PTEX_MASK_LIT _poly_zbuf_ptex_mask_lit24 #define FUNC_POLY_ZBUF_ATEX_TRANS _poly_zbuf_atex_trans24 #define FUNC_POLY_ZBUF_ATEX_MASK_TRANS _poly_zbuf_atex_mask_trans24 #define FUNC_POLY_ZBUF_PTEX_TRANS _poly_zbuf_ptex_trans24 #define FUNC_POLY_ZBUF_PTEX_MASK_TRANS _poly_zbuf_ptex_mask_trans24 #undef _bma_zbuf_gcol #include "czscan.h" #endif