text: /*         ______   ___    ___
   *        /\  _  \ /\_ \  /\_ \
   *        \ \ \L\ \\//\ \ \//\ \      __     __   _ __   ___
   *         \ \  __ \ \ \ \  \ \ \   /'__`\ /'_ `\/\`'__\/ __`\
   *          \ \ \/\ \ \_\ \_ \_\ \_/\  __//\ \L\ \ \ \//\ \L\ \
   *           \ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/
   *            \/_/\/_/\/____/\/____/\/____/\/___L\ \/_/ \/___/
   *                                           /\____/
   *                                           \_/__/
   *
   *      256 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_COLOR8
  
  #include "allegro/internal/aintern.h"
  #include "cdefs8.h"
  
  #define FUNC_POLY_ZBUF_FLAT			_poly_zbuf_flat8
  #define FUNC_POLY_ZBUF_GCOL			_poly_zbuf_gcol8
  #define FUNC_POLY_ZBUF_GRGB			_poly_zbuf_grgb8
  #define FUNC_POLY_ZBUF_ATEX			_poly_zbuf_atex8
  #define FUNC_POLY_ZBUF_ATEX_MASK		_poly_zbuf_atex_mask8
  #define FUNC_POLY_ZBUF_ATEX_LIT			_poly_zbuf_atex_lit8
  #define FUNC_POLY_ZBUF_ATEX_MASK_LIT		_poly_zbuf_atex_mask_lit8
  #define FUNC_POLY_ZBUF_PTEX			_poly_zbuf_ptex8
  #define FUNC_POLY_ZBUF_PTEX_MASK		_poly_zbuf_ptex_mask8
  #define FUNC_POLY_ZBUF_PTEX_LIT			_poly_zbuf_ptex_lit8
  #define FUNC_POLY_ZBUF_PTEX_MASK_LIT		_poly_zbuf_ptex_mask_lit8
  #define FUNC_POLY_ZBUF_ATEX_TRANS		_poly_zbuf_atex_trans8
  #define FUNC_POLY_ZBUF_ATEX_MASK_TRANS		_poly_zbuf_atex_mask_trans8
  #define FUNC_POLY_ZBUF_PTEX_TRANS		_poly_zbuf_ptex_trans8
  #define FUNC_POLY_ZBUF_PTEX_MASK_TRANS		_poly_zbuf_ptex_mask_trans8
  
  #define _bma_zbuf_gcol
  
  #include "czscan.h"
  
  #undef _bma_zbuf_gcol
  
  #endif
  