diff options
Diffstat (limited to 'engines/sludge/main_loop.cpp')
-rw-r--r-- | engines/sludge/main_loop.cpp | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/engines/sludge/main_loop.cpp b/engines/sludge/main_loop.cpp index 143d84f05d..ebeedf974b 100644 --- a/engines/sludge/main_loop.cpp +++ b/engines/sludge/main_loop.cpp @@ -19,38 +19,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * */ -#if defined __unix__ && !(defined __APPLE__) -#include "linuxstuff.h" -#endif - -#if 0 -#ifdef _WIN32 -#include "winstuff.h" -#endif - -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <math.h> -#include <unistd.h> - -#include <iostream> - -#include <stdexcept> - -#include <time.h> -#include <sys/time.h> - -#if !defined(HAVE_GLES2) -#include "GLee.h" -#else -#include <GLES2/gl2.h> -#include "eglport/eglport.h" -#endif - -#include <SDL/SDL.h> -#include <SDL/SDL_syswm.h> -#endif #include "common/debug.h" @@ -81,12 +49,6 @@ namespace Sludge { -#ifdef _WIN32 -#define PATHSLASH '\\' -#else -#define PATHSLASH '/' -#endif - extern bool runningFullscreen; #ifndef MAX_PATH @@ -148,10 +110,6 @@ void saveHSI(Common::WriteStream *writer); extern bool reallyWantToQuit; -#ifdef _WIN32 -#undef main -#endif - int weAreDoneSoQuit; void checkInput() { @@ -426,13 +384,6 @@ int main_loop(char *filename) setupOpenGLStuff(); #endif -#ifdef _WIN32 - SDL_SysWMinfo wmInfo; - SDL_VERSION(&wmInfo.version); - SDL_GetWMInfo(&wmInfo); - hMainWindow = wmInfo.window; -#endif - registerWindowForFatal(); if (!killResizeBackdrop(winWidth, winHeight)) |