/************************************************************************
    VRGL		   
create: Willem de Jonge (willem@argcargv.com), v0.1b, 03/2003
update: Bob Kuehne (rpk@blue-newt.com), v0.2, 09/2005                                
                                                                 
 VRGL is a modified OpenGL libarary, which makes it possible to use  
off-axis projections with Unreal Tournament 2003. In principle,      
VRGL is generic and can also be used with other OpenGL applications  
to get an off-axis frustum.

Original Code Copyright (C) 2004 Willem de Jonge      
Modifications Copyright (C) 2005 Bob Kuehne / Blue Newt Software
                                    
This library is free software; you can redistribute it and/or modify	
it under the terms of the GNU Lesser General Public License as	
published by the Free Software Foundation; either version 2.1 of the	
License, or (at your option) any later version.			
                                    
This library is distributed in the hope that it will be useful, but	
WITHOUT ANY WARRANTY; without even the implied warranty of		
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU	
Lesser General Public License for more details.			
                                    
You should have received a copy of the GNU Lesser General Public	
License along with this library; if not, write to the Free Software	
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307	
USA									
                                    
************************************************************************/

// define CAVEUTGL_EXPORTS to export the dll functions
// in addition BUILD_GL32,GL_GLEXT_LEGACY have to be
// defined for the Mesa GL.h that is included
// these symbols are defined in the project settings
#ifdef CAVEUTGL_EXPORTS
#define EXPORTSTYLE dllexport
#else
#define EXPORTSTYLE dllimport
#endif
#define CAVEUTGL_API __declspec(EXPORTSTYLE)

#include "StdAfx.h"

// load original opengl library and load parameters
BOOL dllInit();

// unload opengl library
BOOL dllFini();

// get projection parameters from ini file (CaveUTGL.ini)
void loadParams();

#include "gljumptable.h"

extern GLJumpTable glJump;

class ProjectionDistortion;
extern ProjectionDistortion distorter;

