main/polyobj.h File Reference

#include "vecmat.h"
#include "gr.h"
#include "3d.h"
#include "robot.h"
#include "piggy.h"

Classes

struct  polymodel

Defines

#define MAX_POLYGON_MODELS   85
#define MAX_POLYOBJ_TEXTURES   50

Functions

void init_polygon_models ()
int load_polygon_model (char *filename, int n_textures, int first_texture, robot_info *r)
void draw_polygon_model (vms_vector *pos, vms_matrix *orient, vms_angvec *anim_angles, int model_num, int flags, fix light, fix *glow_values, bitmap_index alt_textures[])
int read_model_guns (char *filename, vms_vector *gun_points, vms_vector *gun_dirs, int *gun_submodels)
void draw_model_picture (int mn, vms_angvec *orient_angles)

Variables

polymodel Polygon_models []
int Simple_model_threshhold_scale
int N_polygon_models
char Pof_names [MAX_POLYGON_MODELS][13]
grs_bitmaptexture_list [MAX_POLYOBJ_TEXTURES]
bitmap_index texture_list_index [MAX_POLYOBJ_TEXTURES]
g3s_point robot_points []

Define Documentation

#define MAX_POLYGON_MODELS   85
 

#define MAX_POLYOBJ_TEXTURES   50
 


Function Documentation

void draw_model_picture int  mn,
vms_angvec orient_angles
 

void draw_polygon_model vms_vector pos,
vms_matrix orient,
vms_angvec anim_angles,
int  model_num,
int  flags,
fix  light,
fix glow_values,
bitmap_index  alt_textures[]
 

!if (!alt_textures) { //alternate textures might not match

void init_polygon_models  ) 
 

int load_polygon_model char *  filename,
int  n_textures,
int  first_texture,
robot_info r
 

int read_model_guns char *  filename,
vms_vector gun_points,
vms_vector gun_dirs,
int *  gun_submodels
 


Variable Documentation

int N_polygon_models
 

char Pof_names[MAX_POLYGON_MODELS][13]
 

polymodel Polygon_models[]
 

g3s_point robot_points[]
 

int Simple_model_threshhold_scale
 

grs_bitmap* texture_list[MAX_POLYOBJ_TEXTURES]
 

bitmap_index texture_list_index[MAX_POLYOBJ_TEXTURES]
 


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