zengine/include/ZE_Defines.h
2003-07-11 20:51:44 +00:00

53 lines
1.6 KiB
C++

/*******************************************************************************
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.
<br>$ id: ZE_Defines.h,v 1.13 2003/05/07 18:38:43 cozman Exp $<br>
\author James Turk
**/
#ifndef __ze_defines_h__
#define __ze_defines_h__
//Defines- undefine any of these if you dont have the indicated SDL extension//
//! 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__