Gel2D - The free/open source game creation suite

gel.h
Go to the documentation of this file.
00001 /*
00002 Gel2D Game Engine - Cross-platform 2D gaming middleware
00003 Copyright (C) 2010-2011 Mark D. Procarione
00004 
00005 Gel2D is free software: you can redistribute it and/or modify
00006 it under the terms of the GNU General Public License as published by
00007 the Free Software Foundation, either version 3 of the License, or
00008 (at your option) any later version.
00009 
00010 Gel2D is distributed in the hope that it will be useful,
00011 but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00013 GNU General Public License for more details.
00014 */
00015 
00016 #ifndef __GEL_H__
00017 #define __GEL_H__
00018 
00019 // Delete these later
00020 #include <GL/gl.h>
00021 #include <GL/glu.h>
00022 #include <GL/glext.h>
00023 
00024 // Gel2D version
00025 #define GEL_VERSION_MAJOR    0
00026 #define GEL_VERSION_MINOR    0
00027 #define GEL_VERSION_REVISION 4
00028 
00029 // Internal defines
00030 #define GEL_MAX_NAME_LENGTH             64
00031 #define GEL_MAX_FILEPATH_LENGTH 256
00032 
00033 // User defines
00034 #define GEL_TRUE        0x1
00035 #define GEL_FALSE       0x0
00036 
00037 #define _GEL_OPENGL     // Comment to disable OpenGL support
00038 //#define _GEL_FREETYPE   // Comment to disable FreeType support
00039 
00040 #ifdef _WIN32
00041     // This is the Windows version of Gel2D
00042     #define _GEL_WIN32
00043     //#define _GEL_DIRECTX9   // Comment to disable DirectX 9 support
00044 #else
00045     // This is the Linux version of Gel2D
00046     #define _GEL_X11
00047     #define _GEL_LINUX
00048 #endif
00049 
00050 #endif // __GEL_H__