00001
00008
00009
00010
00011
00012
00013 #ifndef GFX_HH
00014 #define GFX_HH 1
00015
00016
00017
00018
00019 #if GFX_CC
00020 #define GFX_GLOBAL // instantiate when .cc is compiled
00021 #else
00022 #define GFX_GLOBAL extern
00023 #endif
00024
00025
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 }
00059
00060 #endif // GFX_HH