6#ifndef __DRAW_PRIMITIVES_H__ 
    7#define __DRAW_PRIMITIVES_H__ 
   12#define PRIM_POINT              0x00 
   14#define PRIM_LINE_STRIP         0x02 
   15#define PRIM_TRIANGLE           0x03 
   16#define PRIM_TRIANGLE_STRIP     0x04 
   17#define PRIM_TRIANGLE_FAN       0x05 
   18#define PRIM_SPRITE             0x06 
   21#define PRIM_SHADE_FLAT         0 
   22#define PRIM_SHADE_GOURAUD      1 
   33#define PRIM_OVERRIDE_ENABLE    0 
   34#define PRIM_OVERRIDE_DISABLE   1 
   38    unsigned char shading;
 
   39    unsigned char mapping;
 
   40    unsigned char fogging;
 
   41    unsigned char blending;
 
   42    unsigned char antialiasing;
 
   43    unsigned char mapping_type;
 
   44    unsigned char colorfix;
 
 
qword_t * draw_primitive_override(qword_t *q, int mode)
 
qword_t * draw_primitive_override_setting(qword_t *q, int context, prim_t *prim)
 
qword_t * draw_primitive_xyoffset(qword_t *q, int context, float x, float y)