X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGlobals.cpp;h=2eae6fbc7979c31da454398c1257935c144ce1c7;hb=980959d6da4f0cd440372c0efd25b89f8a034cb6;hp=be2a006d633eddc0f4f4d18a061bbe90d8125596;hpb=5b4ceabfe80faa2fe0d231ad24b76a704582b3bd;p=lugaru.git diff --git a/Source/Globals.cpp b/Source/Globals.cpp index be2a006..2eae6fb 100644 --- a/Source/Globals.cpp +++ b/Source/Globals.cpp @@ -19,9 +19,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#if USE_SDL #include "SDL.h" -#endif #include "gamegl.h" #include "Quaternions.h" @@ -79,15 +77,9 @@ int numsounds = 0; Terrain terrain; Sprites sprites; float sps = 0; -#ifdef WIN32 -HDC hDC; -#elif USE_SDL + SDL_Surface *sdlscreen; -#elif PLATFORM_MACOSX -AGLContext gaglContext; -#else -#error Define your platform. -#endif + int kTextureSize = 0; int detail = 0; FRUSTUM frustum; @@ -123,8 +115,6 @@ int flashdelay = 0; bool vblsync = 0; float motionbluramount = 0; bool keyboardfrozen = 0; -int newnetmessages = 0; -char netmessages[256] = {0}; char mapname[256] = {0}; bool loadingstuff = 0; bool stillloading = 0;