1 /*         ______   ___    ___
2  *        /\  _  \ /\_ \  /\_ \
3  *        \ \ \L\ \\//\ \ \//\ \      __     __   _ __   ___
4  *         \ \  __ \ \ \ \  \ \ \   /'__`\ /'_ `\/\`'__\/ __`\
5  *          \ \ \/\ \ \_\ \_ \_\ \_/\  __//\ \L\ \ \ \//\ \L\ \
6  *           \ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/
7  *            \/_/\/_/\/____/\/____/\/____/\/___L\ \/_/ \/___/
8  *                                           /\____/
9  *                                           \_/__/
10  *
11  *      16 bit color polygon scanline filler helpers (gouraud shading, tmapping, etc).
12  *
13  *      Original routines by Michael Bukin.
14  *      Modified to support z-buffered polygon drawing by Bertrand Coconnier
15  *
16  *      See readme.txt for copyright information.
17  */
18 
19 #include "allegro.h"
20 
21 #ifdef ALLEGRO_COLOR16
22 
23 #include "allegro/internal/aintern.h"
24 #include "cdefs16.h"
25 
26 #define FUNC_POLY_ZBUF_FLAT			_poly_zbuf_flat16
27 #define FUNC_POLY_ZBUF_GRGB			_poly_zbuf_grgb16
28 #define FUNC_POLY_ZBUF_ATEX			_poly_zbuf_atex16
29 #define FUNC_POLY_ZBUF_ATEX_MASK		_poly_zbuf_atex_mask16
30 #define FUNC_POLY_ZBUF_ATEX_LIT			_poly_zbuf_atex_lit16
31 #define FUNC_POLY_ZBUF_ATEX_MASK_LIT		_poly_zbuf_atex_mask_lit16
32 #define FUNC_POLY_ZBUF_PTEX			_poly_zbuf_ptex16
33 #define FUNC_POLY_ZBUF_PTEX_MASK		_poly_zbuf_ptex_mask16
34 #define FUNC_POLY_ZBUF_PTEX_LIT			_poly_zbuf_ptex_lit16
35 #define FUNC_POLY_ZBUF_PTEX_MASK_LIT		_poly_zbuf_ptex_mask_lit16
36 #define FUNC_POLY_ZBUF_ATEX_TRANS		_poly_zbuf_atex_trans16
37 #define FUNC_POLY_ZBUF_ATEX_MASK_TRANS		_poly_zbuf_atex_mask_trans16
38 #define FUNC_POLY_ZBUF_PTEX_TRANS		_poly_zbuf_ptex_trans16
39 #define FUNC_POLY_ZBUF_PTEX_MASK_TRANS		_poly_zbuf_ptex_mask_trans16
40 
41 #undef _bma_zbuf_gcol
42 
43 #include "czscan.h"
44 
45 #endif
46