zengine/include/ZE_Defines.h

51 lines
1.5 KiB
C
Raw Normal View History

2002-11-21 05:40:49 +00:00
/*******************************************************************************
2002-12-29 06:50:19 +00:00
This file is Part of the ZEngine Library for 2D game development.
Copyright (C) 2002, 2003 James Turk
2002-11-21 05:40:49 +00:00
2002-12-29 06:50:19 +00:00
Licensed under a BSD-style license.
2002-11-21 05:40:49 +00:00
2002-12-29 06:50:19 +00:00
The maintainer of this library is James Turk (james@conceptofzero.net)
and the home of this Library is http://www.zengine.sourceforge.net
2002-11-21 05:40:49 +00:00
*******************************************************************************/
/*!
\file ZE_Defines.h
2003-05-07 20:34:50 +00:00
\brief Define file for ZEngine where all #define statements to control compilation options are placed.
2002-11-21 05:40:49 +00:00
Definition file, holds #define statements describing optional features of ZEngine.
2003-05-07 20:34:50 +00:00
<br>$ id: ZE_Defines.h,v 1.13 2003/05/07 18:38:43 cozman Exp $<br>
\author James Turk
2002-11-21 05:40:49 +00:00
**/
#ifndef __ze_defines_h__
#define __ze_defines_h__
2003-02-16 22:22:23 +00:00
//Defines- undefine any of these if you dont have the indicated SDL extension//
2002-11-21 05:40:49 +00:00
//! 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
2003-02-16 21:38:49 +00:00
//! Define to include net support.
2003-04-27 18:54:58 +00:00
//#define USE_SDL_NET
2002-11-21 05:40:49 +00:00
//! Define to use the Physfs file system.
//#define USE_PHYSFS
2003-02-16 22:22:23 +00:00
2003-06-06 21:15:48 +00:00
#ifdef USE_SDL_NET
namespace ZE
{
2003-06-06 18:55:57 +00:00
2003-03-15 03:34:08 +00:00
//! Maximum message length (for SDL_net). (10kb [10240] default)
2003-06-06 21:15:48 +00:00
const int MAX_MSG_LEN = 10240;
2003-02-16 22:22:23 +00:00
//! Define a ZByte as a plain char (for SDL_net).
typedef char ZByte;
2002-11-21 05:40:49 +00:00
2003-06-06 21:15:48 +00:00
}
2003-06-06 18:55:57 +00:00
#endif
2002-11-21 05:40:49 +00:00
#endif //__ze_defines_h__