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 // Gel2D version
00020 #define GEL_VERSION_MAJOR    0
00021 #define GEL_VERSION_MINOR    0
00022 #define GEL_VERSION_REVISION 4
00023 
00024 // Internal defines
00025 #define GEL_MAX_NAME_LENGTH             64
00026 #define GEL_MAX_FILEPATH_LENGTH 256
00027 
00028 // User defines
00029 #define GEL_TRUE        0x1
00030 #define GEL_FALSE       0x0
00031 
00032 #ifdef _WIN32
00033     // This is the Windows version of Gel2D
00034     #define _GEL_WIN32
00035     //#define _GEL_DIRECTX9 // Comment to disable DirectX 9 support
00036     #include "win32/platform.h"
00037 #else
00038     // This is the X11 version of Gel2D
00039     #define _GEL_X11
00040     #define _GEL_LINUX
00041     #include "x11/platform.h"
00042 #endif
00043 
00044 #endif // __GEL_H__