1 /*         ______   ___    ___
2  *        /\  _  \ /\_ \  /\_ \
3  *        \ \ \L\ \\//\ \ \//\ \      __     __   _ __   ___
4  *         \ \  __ \ \ \ \  \ \ \   /'__`\ /'_ `\/\`'__\/ __`\
5  *          \ \ \/\ \ \_\ \_ \_\ \_/\  __//\ \L\ \ \ \//\ \L\ \
6  *           \ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/
7  *            \/_/\/_/\/____/\/____/\/____/\/___L\ \/_/ \/___/
8  *                                           /\____/
9  *                                           \_/__/
10  *
11  *      256 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_COLOR8
22 
23 #include "allegro/internal/aintern.h"
24 #include "cdefs8.h"
25 
26 #define FUNC_POLY_ZBUF_FLAT			_poly_zbuf_flat8
27 #define FUNC_POLY_ZBUF_GCOL			_poly_zbuf_gcol8
28 #define FUNC_POLY_ZBUF_GRGB			_poly_zbuf_grgb8
29 #define FUNC_POLY_ZBUF_ATEX			_poly_zbuf_atex8
30 #define FUNC_POLY_ZBUF_ATEX_MASK		_poly_zbuf_atex_mask8
31 #define FUNC_POLY_ZBUF_ATEX_LIT			_poly_zbuf_atex_lit8
32 #define FUNC_POLY_ZBUF_ATEX_MASK_LIT		_poly_zbuf_atex_mask_lit8
33 #define FUNC_POLY_ZBUF_PTEX			_poly_zbuf_ptex8
34 #define FUNC_POLY_ZBUF_PTEX_MASK		_poly_zbuf_ptex_mask8
35 #define FUNC_POLY_ZBUF_PTEX_LIT			_poly_zbuf_ptex_lit8
36 #define FUNC_POLY_ZBUF_PTEX_MASK_LIT		_poly_zbuf_ptex_mask_lit8
37 #define FUNC_POLY_ZBUF_ATEX_TRANS		_poly_zbuf_atex_trans8
38 #define FUNC_POLY_ZBUF_ATEX_MASK_TRANS		_poly_zbuf_atex_mask_trans8
39 #define FUNC_POLY_ZBUF_PTEX_TRANS		_poly_zbuf_ptex_trans8
40 #define FUNC_POLY_ZBUF_PTEX_MASK_TRANS		_poly_zbuf_ptex_mask_trans8
41 
42 #define _bma_zbuf_gcol
43 
44 #include "czscan.h"
45 
46 #undef _bma_zbuf_gcol
47 
48 #endif
49