3d/rod.c File Reference

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

Functions

int calc_rod_corners (g3s_point *bot_point, fix bot_width, g3s_point *top_point, fix top_width)
bool g3_draw_rod_flat (g3s_point *bot_point, fix bot_width, g3s_point *top_point, fix top_width)
bool g3_draw_rod_tmap (grs_bitmap *bitmap, g3s_point *bot_point, fix bot_width, g3s_point *top_point, fix top_width, fix light)
int checkmuldiv (fix *r, fix a, fix b, fix c)
bool g3_draw_bitmap (vms_vector *pos, fix width, fix height, grs_bitmap *bm)

Variables

grs_point blob_vertices [4]
g3s_point rod_points [4]
g3s_pointrod_point_list [] = {&rod_points[0],&rod_points[1],&rod_points[2],&rod_points[3]}
g3s_uvl uvl_list [4]

Function Documentation

int calc_rod_corners g3s_point bot_point,
fix  bot_width,
g3s_point top_point,
fix  top_width
 

int checkmuldiv fix r,
fix  a,
fix  b,
fix  c
 

bool g3_draw_bitmap vms_vector pos,
fix  width,
fix  height,
grs_bitmap bm
 

bool g3_draw_rod_flat g3s_point bot_point,
fix  bot_width,
g3s_point top_point,
fix  top_width
 

bool g3_draw_rod_tmap grs_bitmap bitmap,
g3s_point bot_point,
fix  bot_width,
g3s_point top_point,
fix  top_width,
fix  light
 


Variable Documentation

grs_point blob_vertices[4]
 

g3s_point* rod_point_list[] = {&rod_points[0],&rod_points[1],&rod_points[2],&rod_points[3]}
 

g3s_point rod_points[4]
 

g3s_uvl uvl_list[4]
 

Initial value:

 { { 0x0200,0x0200,0 },
                                                                { 0xfe00,0x0200,0 },
                                                                { 0xfe00,0xfe00,0 },
                                                                { 0x0200,0xfe00,0 }}


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