/******************************************************************************* This file is Part of the ZEngine Library for 2D game development. Copyright (C) 2002, 2003 James Turk Licensed under a BSD-style license. The maintainer of this library is James Turk (james@conceptofzero.net) and the home of this Library is http://www.zengine.sourceforge.net *******************************************************************************/ /*! \file ZE_Defines.h \brief Define file for ZEngine where all #define statements to control compilation options are placed. Definition file, holds #define statements describing optional features of ZEngine.
$ id: ZE_Defines.h,v 1.13 2003/05/07 18:38:43 cozman Exp $
\author James Turk **/ #ifndef __ze_defines_h__ #define __ze_defines_h__ //Defines- undefine any of these if you dont have the indicated SDL extension// /*! \brief Defines for graphics backend selection. Various graphics backends, default is OpenGL, but to port to systems with SDL but no OpenGL use of SDL is possible. . **/ enum GFXBackend { OGL, /*!< OpenGL 2D Rendering Target. */ SDL /*!< SDL Rendering Target. */ }; //! Define the graphics backend for ZEngine to use. (Options are OGL,SDL,DX) #define GFX_BACKEND OGL //! Define to include font support. #define USE_SDL_TTF //! Define to include non-bmp image file support. #define USE_SDL_IMAGE //! Define to include sound support. #define USE_SDL_MIXER //! Define to include net support. //#define USE_SDL_NET //! Define to use the Physfs file system. //#define USE_PHYSFS //! Define to use depreciated code that has not been entirely removed. //#define DEPRECIATED #ifdef USE_SDL_NET namespace ZE { //! Maximum message length (for SDL_net). (10kb [10240] default) const int MAX_MSG_LEN = 10240; //! Define a ZByte as a plain char (for SDL_net). typedef char ZByte; } #endif #endif //__ze_defines_h__