#ifndef OPENGL_H
#define OPENGL_H

#include<windows.h>
#include<stdio.h>
#include<gl/gl.h>
#include<gl/glu.h>
#include<gl/glaux.h>
#include"glext.h"
#include"eventlog.h"

BOOL SetVideoMode(int,int,int,BOOL);
BOOL OpenGLInit(int*,int*,int*);
void OpenGLRelease(void);

extern HWND		g_hWnd;
extern HDC		g_hDc;
extern HGLRC	g_hGlrc;
extern FILE	*g_pLogFile;

struct CfgVals 
{
	char	*lpszKeyName;
	int		nDefault;
};

#endif