diff --git a/include/ZE_Defines.h b/include/ZE_Defines.h index 1cff3e4..012bac0 100644 --- a/include/ZE_Defines.h +++ b/include/ZE_Defines.h @@ -28,7 +28,7 @@ //! SDL Rendering Target. #define ZE_SDL (2) //! Define the graphics backend for ZEngine to use. (Options are ZE_OGL,ZE_SDL,ZE_D3D) -#define GFX_BACKEND (ZE_SDL) +#define GFX_BACKEND (ZE_OGL) //! Define to include font support. #define USE_SDL_TTF @@ -43,18 +43,6 @@ //! 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__ diff --git a/include/ZE_Includes.h b/include/ZE_Includes.h index 5844df9..faafffb 100644 --- a/include/ZE_Includes.h +++ b/include/ZE_Includes.h @@ -37,9 +37,6 @@ #ifdef USE_SDL_MIXER #include "SDL_mixer.h" #endif -#ifdef USE_SDL_NET -#include "SDL_net.h" -#endif #ifdef USE_PHYSFS #include "physfs.h" #include "external/physfsrwops.h" diff --git a/src/ZE_ZEngine.cpp b/src/ZE_ZEngine.cpp index db416ef..b50ec19 100644 --- a/src/ZE_ZEngine.cpp +++ b/src/ZE_ZEngine.cpp @@ -13,7 +13,7 @@ \brief Central source file for ZEngine. Actual implementation of ZEngine singleton class, the core of ZEngine. -
$Id: ZE_ZEngine.cpp,v 1.56 2003/08/08 03:54:34 cozman Exp $
+
$Id: ZE_ZEngine.cpp,v 1.57 2003/08/08 04:03:32 cozman Exp $
\author James Turk **/ @@ -225,17 +225,6 @@ bool ZEngine::CreateDisplay(std::string title, std::string icon) } #endif //USE_SDL_TTF -#ifdef USE_SDL_NET - if(!mInitialized) - { - if(SDLNet_Init() < 0) - { - ReportError(ZERR_NET_INIT,SDLNet_GetError()); - status = false; //possible to go on without SDL_Net - } - } -#endif //USE_SDL_NET - if(!mInitialized) mPausedTime = SDL_GetTicks(); mActive = true; @@ -249,10 +238,6 @@ void ZEngine::CloseDisplay() if(mInitialized) { -#ifdef USE_SDL_NET - SDLNet_Quit(); -#endif - #ifdef USE_SDL_TTF TTF_Quit(); #endif