/*         ______   ___    ___
 *        /\  _  \ /\_ \  /\_ \
 *        \ \ \L\ \\//\ \ \//\ \      __     __   _ __   ___
 *         \ \  __ \ \ \ \  \ \ \   /'__`\ /'_ `\/\`'__\/ __`\
 *          \ \ \/\ \ \_\ \_ \_\ \_/\  __//\ \L\ \ \ \//\ \L\ \
 *           \ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/
 *            \/_/\/_/\/____/\/____/\/____/\/___L\ \/_/ \/___/
 *                                           /\____/
 *                                           \_/__/
 *
 *      15 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_COLOR16

#include "allegro/internal/aintern.h"
#include "cdefs15.h"

#define FUNC_POLY_ZBUF_FLAT			_poly_zbuf_flat15
#define FUNC_POLY_ZBUF_GRGB			_poly_zbuf_grgb15
#define FUNC_POLY_ZBUF_ATEX			_poly_zbuf_atex15
#define FUNC_POLY_ZBUF_ATEX_MASK		_poly_zbuf_atex_mask15
#define FUNC_POLY_ZBUF_ATEX_LIT			_poly_zbuf_atex_lit15
#define FUNC_POLY_ZBUF_ATEX_MASK_LIT		_poly_zbuf_atex_mask_lit15
#define FUNC_POLY_ZBUF_PTEX			_poly_zbuf_ptex15
#define FUNC_POLY_ZBUF_PTEX_MASK		_poly_zbuf_ptex_mask15
#define FUNC_POLY_ZBUF_PTEX_LIT			_poly_zbuf_ptex_lit15
#define FUNC_POLY_ZBUF_PTEX_MASK_LIT		_poly_zbuf_ptex_mask_lit15
#define FUNC_POLY_ZBUF_ATEX_TRANS		_poly_zbuf_atex_trans15
#define FUNC_POLY_ZBUF_ATEX_MASK_TRANS		_poly_zbuf_atex_mask_trans15
#define FUNC_POLY_ZBUF_PTEX_TRANS		_poly_zbuf_ptex_trans15
#define FUNC_POLY_ZBUF_PTEX_MASK_TRANS		_poly_zbuf_ptex_mask_trans15

#undef _bma_zbuf_gcol

#include "czscan.h"

#endif
