include/texmap.h File Reference

#include "fix.h"
#include "3d.h"
#include "gr.h"

Classes

struct  g3ds_vertex
struct  g3ds_tmap

Defines

#define NUM_LIGHTING_LEVELS   32
#define MAX_TMAP_VERTS   25
#define MAX_LIGHTING_VALUE   ((NUM_LIGHTING_LEVELS-1)*F1_0/NUM_LIGHTING_LEVELS)
#define MIN_LIGHTING_VALUE   (F1_0/NUM_LIGHTING_LEVELS)
#define FIX_RECIP_TABLE_SIZE   641
#define FIX_XLIMIT   (639 * F1_0)
#define FIX_YLIMIT   (479 * F1_0)

Functions

fix compute_lighting_value (g3s_point *vertptr)
void draw_tmap (grs_bitmap *bp, int nverts, g3s_point **vertbuf)
void texture_map_lin_lin_sky (grs_bitmap *srcb, g3ds_tmap *t)
void texture_map_lin_lin_sky_v (grs_bitmap *srcb, g3ds_tmap *t)
void texture_map_hyp_lin_v (grs_bitmap *srcb, g3ds_tmap *t)
void ntexture_map_lighted_linear (grs_bitmap *srcb, g3ds_tmap *t)
void gr_upoly_tmap (int nverts, int *vert)
void gr_upoly_tmap_ylr (int nverts, int *vert, void(*ylr_func)(int, fix, fix))

Variables

int Interpolation_method
int Lighting_on
int Current_seg_depth
int Max_perspective_depth
int Max_linear_depth
int Max_flat_depth
grs_bitmap Texmap_ptrs []
grs_bitmap Texmap4_ptrs []
int Transparency_on
int per2_flag
int SC2000

Define Documentation

#define FIX_RECIP_TABLE_SIZE   641
 

#define FIX_XLIMIT   (639 * F1_0)
 

#define FIX_YLIMIT   (479 * F1_0)
 

#define MAX_LIGHTING_VALUE   ((NUM_LIGHTING_LEVELS-1)*F1_0/NUM_LIGHTING_LEVELS)
 

#define MAX_TMAP_VERTS   25
 

#define MIN_LIGHTING_VALUE   (F1_0/NUM_LIGHTING_LEVELS)
 

#define NUM_LIGHTING_LEVELS   32
 


Function Documentation

fix compute_lighting_value g3s_point vertptr  ) 
 

void draw_tmap grs_bitmap bp,
int  nverts,
g3s_point **  vertbuf
 

void gr_upoly_tmap int  nverts,
int *  vert
 

void gr_upoly_tmap_ylr int  nverts,
int *  vert,
void(*)(int, fix, fix ylr_func
 

void ntexture_map_lighted_linear grs_bitmap srcb,
g3ds_tmap t
 

void texture_map_hyp_lin_v grs_bitmap srcb,
g3ds_tmap t
 

void texture_map_lin_lin_sky grs_bitmap srcb,
g3ds_tmap t
 

void texture_map_lin_lin_sky_v grs_bitmap srcb,
g3ds_tmap t
 


Variable Documentation

int Current_seg_depth
 

int Interpolation_method
 

int Lighting_on
 

int Max_flat_depth
 

int Max_linear_depth
 

int Max_perspective_depth
 

int per2_flag
 

int SC2000
 

grs_bitmap Texmap4_ptrs[]
 

grs_bitmap Texmap_ptrs[]
 

int Transparency_on
 


Generated on Mon Aug 28 20:55:31 2006 for D1X-Rebirth by  doxygen 1.4.6