Initial commit.

This commit is contained in:
Jim Gray
2013-04-04 14:32:05 -07:00
parent ba5c81da32
commit d71d53e8ec
2180 changed files with 1393544 additions and 1 deletions

39
tools/ModView/gl_bits.h Normal file
View File

@@ -0,0 +1,39 @@
// Filename:- gl_bits.h
//
#ifndef GL_BITS_H
#define GL_BITS_H
HGLRC GL_GenerateRC (HDC hDC, bool bDoubleBuffer = true);
//GLuint GL_BindImage (CImage *image);
void GL_Enter3D( double dFOV, int iWindowWidth, int iWindowDepth, bool bWireFrame, bool bCLS = true );
void GL_Enter2D (int iWindowWidth, int iWindowDepth, bool bCLS = true);
void GL_Exit2D (void);
int GL_GetCorrectedDim (int iDim);
char* GL_GetCorrectedDimString(int iDim);
LPCSTR GL_GetInfo(void);
#ifdef _DEBUG
#define ASSERT_GL AssertGL(__FILE__,__LINE__)
void AssertGL(const char *sFile, int iLine);
#else
#define ASSERT_GL
#endif
typedef struct tagFRECT
{
float left;
float top;
float right;
float bottom;
} FRECT, FAR *LPFRECT;
#endif // #ifndef GL_BITS_H
/////////////////// eof //////////////////