Initial commit.
This commit is contained in:
48
tools/ModView/r_surface.h
Normal file
48
tools/ModView/r_surface.h
Normal file
@@ -0,0 +1,48 @@
|
||||
// Filename:- R_Surface.h
|
||||
//
|
||||
// some generic past code for surfaces
|
||||
//
|
||||
|
||||
#ifndef R_SURFACE_H
|
||||
#define R_SURFACE_H
|
||||
|
||||
|
||||
void GetWeightColour(int iNumWeights, byte &r, byte &g, byte &b);
|
||||
|
||||
|
||||
void RB_CheckOverflow( int verts, int indexes );
|
||||
void RE_GenerateDrawSurfs( void );
|
||||
void RE_RenderDrawSurfs( void );
|
||||
|
||||
void R_ModView_BeginEntityAdd(void);
|
||||
void R_ModView_AddEntity(ModelHandle_t hModel, int iFrame_Primary, int iOldFrame_Primary,
|
||||
int iBoneNum_SecondaryStart,int iFrame_Secondary, int iOldFrame_Secondary,
|
||||
int iSurfaceNum_RootOverride,
|
||||
float fLerp,
|
||||
surfaceInfo_t *slist, // pointer to list of surfaces turned off
|
||||
boneInfo_t *blist, // pointer to list of bones to be overriden
|
||||
mdxaBone_t *pXFormedG2Bones,
|
||||
bool *pXFormedG2BonesValid,
|
||||
mdxaBone_t *pXFormedG2TagSurfs,
|
||||
bool *pXFormedG2TagSurfsValid,
|
||||
//
|
||||
int *piRenderedTris,
|
||||
int *piRenderedVerts,
|
||||
int *piRenderedSurfs,
|
||||
int *piXformedG2Bones,
|
||||
// int *piRenderedBoneWeightsThisSurface,
|
||||
int *piRenderedBoneWeights,
|
||||
int *piOmittedBoneWeights
|
||||
);
|
||||
|
||||
extern int giSurfaceVertsDrawn;
|
||||
extern int giSurfaceTrisDrawn;
|
||||
extern int giRenderedBoneWeights;
|
||||
extern int giOmittedBoneWeights;
|
||||
|
||||
|
||||
|
||||
#endif // #ifndef R_SURFACE_H
|
||||
|
||||
/////////////////// eof //////////////////
|
||||
|
||||
Reference in New Issue
Block a user