|
Defines |
| #define | VESA 0 |
| #define | NUM_TMAPS 16 |
| #define | HEADLIGHT_LIGHTING 0 |
| #define | WIREFRAME 0 |
| #define | PERSPECTIVE 1 |
| #define | F15_5 (F1_0*15 + F0_5) |
| #define | MAX_Y_POINTERS 600 |
Functions |
| void | init_fix_recip_table (void) |
| void | init_interface_vars_to_assembler (void) |
| int | prevmod (int val, int modulus) |
| int | succmod (int val, int modulus) |
| void | compute_y_bounds (g3ds_tmap *t, int *vlt, int *vlb, int *vrt, int *vrb, int *bottom_y_ind) |
| fix | compute_du_dy_lin (g3ds_tmap *t, int top_vertex, int bottom_vertex, fix recip_dy) |
| fix | compute_dv_dy_lin (g3ds_tmap *t, int top_vertex, int bottom_vertex, fix recip_dy) |
| fix | compute_dl_dy_lin (g3ds_tmap *t, int top_vertex, int bottom_vertex, fix recip_dy) |
| fix | compute_dx_dy (g3ds_tmap *t, int top_vertex, int bottom_vertex, fix recip_dy) |
| fix | compute_du_dy (g3ds_tmap *t, int top_vertex, int bottom_vertex, fix recip_dy) |
| fix | compute_dv_dy (g3ds_tmap *t, int top_vertex, int bottom_vertex, fix recip_dy) |
| fix | compute_dz_dy (g3ds_tmap *t, int top_vertex, int bottom_vertex, fix recip_dy) |
| void | ntmap_scanline_lighted (grs_bitmap *srcb, int y, fix xleft, fix xright, fix uleft, fix uright, fix vleft, fix vright, fix zleft, fix zright, fix lleft, fix lright) |
| void | ntexture_map_lighted (grs_bitmap *srcb, g3ds_tmap *t) |
| void | ntmap_scanline_lighted_linear (grs_bitmap *srcb, int y, fix xleft, fix xright, fix uleft, fix uright, fix vleft, fix vright, fix lleft, fix lright) |
| void | ntexture_map_lighted_linear (grs_bitmap *srcb, g3ds_tmap *t) |
| void | draw_tmap_flat (grs_bitmap *bp, int nverts, g3s_point **vertbuf) |
| void | draw_tmap (grs_bitmap *bp, int nverts, g3s_point **vertbuf) |
Variables |
| g3ds_tmap | Tmap1 |
| grs_bitmap | Texmap_ptrs [NUM_TMAPS] |
| grs_bitmap | Texmap4_ptrs [NUM_TMAPS] |
| fix | Range_max = 0 |
| int | Interpolation_method = 0 |
| int | Lighting_on = 1 |
| int | Tmap_flat_flag = 0 |
| int | Current_seg_depth |
| int | Max_perspective_depth |
| int | Max_linear_depth |
| int | Max_flat_depth |
| int | Window_clip_left |
| int | Window_clip_bot |
| int | Window_clip_right |
| int | Window_clip_top |
| int | bytes_per_row = -1 |
| unsigned char * | write_buffer |
| int | window_left |
| int | window_right |
| int | window_top |
| int | window_bottom |
| int | window_width |
| int | window_height |
| int | y_pointers [MAX_Y_POINTERS] |
| fix | fix_recip [FIX_RECIP_TABLE_SIZE] |
| int | Lighting_enabled |
| int | Fix_recip_table_computed = 0 |
| fix | fx_l |
| fix | fx_u |
| fix | fx_v |
| fix | fx_z |
| fix | fx_du_dx |
| fix | fx_dv_dx |
| fix | fx_dz_dx |
| fix | fx_dl_dx |
| int | fx_xleft |
| int | fx_xright |
| int | fx_y |
| unsigned char * | pixptr |
| int | per2_flag = 0 |
| int | Transparency_on = 0 |
| int | dither_intensity_lighting = 0 |
| ubyte * | tmap_flat_cthru_table |
| ubyte | tmap_flat_color |
| ubyte | tmap_flat_shade_value |
| g3ds_tmap | Tmap1 |
| int | Skip_short_flag = 0 |
| int | Do_vertical_scan = 0 |
| int | Break_on_flat = 0 |