graphic.h 950 Bytes

#define TRUE -1
#define FALSE 0

#define ubyte unsigned char

#ifndef MAIN
extern int debug;
extern int en_su_subpix;
extern int en_texture;
extern int en_tc_persp;
extern int en_tf_bilinear;
extern int en_antialias;
extern int en_coverage;
extern int en_zbuffer;
extern int en_divot;
extern int en_bf_cull;
extern int en_tc_lod;
extern int en_mipmap;
extern int en_tramtile;
extern int en_movie_loop;
extern int movie_count;
extern int bf_cull_sign;
extern int en_line;
extern int render_mode;
extern float line_width;
extern int sc_xmin, sc_xmax, sc_ymin, sc_ymax;

extern int drdx,drdy;
extern int dgdx,dgdy;
extern int dbdx,dbdy;
extern int dadx,dady;
extern int dzdx,dzdy;
#endif

#include <stdlib.h>
#include <math.h>
#include "macros.h"
#include "image.h"
#include "geometry.h"
#include "vertex.h"
#include "edge_walk.h"
#include "coverage.h"
#include "texture.h"
#include "cz_step.h"
#include "mem_span.h"
#include "vu.h"
#include "light.h"