1 /* $Id: interp.h,v 1.1 2003-01-02 23:13:21 btb Exp $ */
4 * took out functions declarations from include/3d.h
5 * which are implemented in 3d/interp.c
13 //#include "vecmat.h" //the vector/matrix library
16 #include "main/polyobj.h"
20 //gives the interpreter an array of points to use
21 void g3_set_interp_points(g3s_point *pointlist);
23 //calls the object interpreter to render an object. The object renderer
24 //is really a seperate pipeline. returns true if drew
25 bool g3_draw_polygon_model(void *model_ptr,grs_bitmap **model_bitmaps,vms_angvec *anim_angles,fix light,fix *glow_values);
27 //init code for bitmap models
28 void g3_init_polygon_model(void *model_ptr);
30 //un-initialize, i.e., convert color entries back to RGB15
31 void g3_uninit_polygon_model(void *model_ptr);
33 //alternate interpreter for morphing object
34 bool g3_draw_morphing_model(void *model_ptr,grs_bitmap **model_bitmaps,vms_angvec *anim_angles,fix light,vms_vector *new_points);
36 //this remaps the 15bpp colors for the models into a new palette. It should
37 //be called whenever the palette changes
38 void g3_remap_interp_colors(void);
40 // routine which allocates, reads, and inits a polymodel's model_data
41 void polygon_model_data_read(polymodel *pm, CFILE *fp);