SDL_net defines
This commit is contained in:
parent
a9f2fdec57
commit
555917e520
@ -33,13 +33,18 @@
|
|||||||
//! Define to use the Physfs file system.
|
//! Define to use the Physfs file system.
|
||||||
//#define USE_PHYSFS
|
//#define USE_PHYSFS
|
||||||
|
|
||||||
#ifdef USE_SDL_MIXER
|
#ifdef USE_SDL_NET
|
||||||
|
|
||||||
|
namespace ZE
|
||||||
|
{
|
||||||
|
|
||||||
//! Maximum message length (for SDL_net). (10kb [10240] default)
|
//! Maximum message length (for SDL_net). (10kb [10240] default)
|
||||||
#define MAX_MSG_LEN 10240
|
const int MAX_MSG_LEN = 10240;
|
||||||
//! Define a ZByte as a plain char (for SDL_net).
|
//! Define a ZByte as a plain char (for SDL_net).
|
||||||
typedef char ZByte;
|
typedef char ZByte;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif //__ze_defines_h__
|
#endif //__ze_defines_h__
|
||||||
|
Loading…
Reference in New Issue
Block a user