diff options
author | yinsimei | 2017-06-05 19:58:32 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-13 18:27:45 +0200 |
commit | bee42dc52fb7fa2d73f95cf088fc26ced732a17c (patch) | |
tree | f414e55652ba611caf72a137380beacd9ce51788 /engines/sludge/main_loop.cpp | |
parent | 7430ebe8830f58ae8fd1c123bfd7b08031a0f8b1 (diff) | |
download | scummvm-rg350-bee42dc52fb7fa2d73f95cf088fc26ced732a17c.tar.gz scummvm-rg350-bee42dc52fb7fa2d73f95cf088fc26ced732a17c.tar.bz2 scummvm-rg350-bee42dc52fb7fa2d73f95cf088fc26ced732a17c.zip |
SLUDGE: remove platform dependent defines
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)) |