gfx.hh

Go to the documentation of this file.
00001 /*
00008  * LEGAL:   COPYRIGHT (C) 2004 JIM E. BROOKS
00009  *          THIS SOURCE CODE IS RELEASED UNDER THE TERMS
00010  *          OF THE GNU GENERAL PUBLIC LICENSE VERSION 2 (GPL 2).
00011  *****************************************************************************/
00012 
00013 #ifndef GFX_HH
00014 #define GFX_HH 1
00015 
00016 //------------------------------------------------------------------------------
00017 
00018 // To declare globals in header files.
00019 #if GFX_CC
00020 #define GFX_GLOBAL  // instantiate when .cc is compiled
00021 #else
00022 #define GFX_GLOBAL extern
00023 #endif
00024 
00025 // Include often-needed header files.
00026 #include "base.hh"
00027 using namespace base;
00028 #include "gfx_defs.hh"
00029 #include "gfx_gfxsys.hh"
00030 #include "gfx_typesig_defs.hh"
00031 #include "gfx_funcs.hh"
00032 #include "gfx_types.hh"
00033 #include "gfx_math.hh"
00034 #include "gfx_rgba.hh"
00035 #if GFXSYS_OPENGL
00036 #include "gfx_opengl.hh"
00037 #else
00038 #error
00039 #endif
00040 #include "gfx_texture.hh"
00041 #include "gfx_global.hh"
00042 
00043 namespace gfx {
00044 
00045 void
00046 Init( int argc, char** argv, const string& programName );
00047 
00048 void
00049 Cleanup( void );
00050 
00051 #if GFX_CC
00052 
00053 INTERN void
00054 SelfCheck( void );
00055 
00056 #endif // GFX_CC
00057 
00058 } // namespace gfx
00059 
00060 #endif // GFX_HH
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:10 2007