From 3e24469db9d50a9dd557670283b77ef2fe6cf72c Mon Sep 17 00:00:00 2001 From: James Turk Date: Sat, 15 Mar 2003 03:34:08 +0000 Subject: [PATCH] SDL_net fixes --- include/ZE_Defines.h | 6 +++--- include/ZEngine.h | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/include/ZE_Defines.h b/include/ZE_Defines.h index e7aa9d4..fa83a65 100644 --- a/include/ZE_Defines.h +++ b/include/ZE_Defines.h @@ -13,7 +13,7 @@ File: ZE_Defines.h
Description: Defines header file for ZEngine class, where all #define statements to control compilation options are placed.
Author(s): James Turk
-$Id: ZE_Defines.h,v 1.9 2003/02/16 22:22:23 cozman Exp $
+$Id: ZE_Defines.h,v 1.10 2003/03/15 03:34:08 cozman Exp $
\file ZE_Defines.h \brief Define file for ZEngine. @@ -27,7 +27,7 @@ $Id: ZE_Defines.h,v 1.9 2003/02/16 22:22:23 cozman Exp $
//Defines- undefine any of these if you dont have the indicated SDL extension// //! Version number. -#define VERSION "0.8.2" +#define VERSION "0.8.2-devel" //! Define to include font support. #define USE_SDL_TTF @@ -40,7 +40,7 @@ $Id: ZE_Defines.h,v 1.9 2003/02/16 22:22:23 cozman Exp $
//! Define to use the Physfs file system. //#define USE_PHYSFS -//! Maximum message length (for SDL_net). (10kb) +//! Maximum message length (for SDL_net). (10kb [10240] default) #define MAX_MSG_LEN 10240 //! Define a ZByte as a plain char (for SDL_net). typedef char ZByte; diff --git a/include/ZEngine.h b/include/ZEngine.h index 538d7aa..a10866a 100644 --- a/include/ZEngine.h +++ b/include/ZEngine.h @@ -3,7 +3,7 @@ File: ZEngine.h
Description: Public Header File for ZEngine.
Author(s): James Turk
-$Id: ZEngine.h,v 1.22 2003/01/28 21:33:02 cozman Exp $
+$Id: ZEngine.h,v 1.23 2003/03/15 03:34:08 cozman Exp $
\file ZEngine.h \brief Header file for ZEngine. @@ -67,5 +67,9 @@ $Id: ZEngine.h,v 1.22 2003/01/28 21:33:02 cozman Exp $
#include "ZE_ZSound.h" #include "ZE_ZMusic.h" #endif +#ifdef USE_SDL_NET +#include "ZE_ZClient.h" +#include "ZE_ZServer.h" +#endif #endif //__zengine_h__