graphic.h
950 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#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"