#ifndef __CUBE_H__ #define __CUBE_H__ #define _FILE_OFFSET_BITS 64 #ifdef WIN32 #define _USE_MATH_DEFINES #endif #include #include #include #include #include #include #include #include #include #include #ifdef WIN32 #define WIN32_LEAN_AND_MEAN #ifdef _WIN32_WINNT #undef _WIN32_WINNT #endif #define _WIN32_WINNT 0x0500 #include "windows.hh" #ifndef _WINDOWS #define _WINDOWS #endif #ifndef __GNUC__ #include #include #include #endif #define ZLIB_DLL #endif #ifndef STANDALONE #ifdef __APPLE__ #include "SDL2/SDL.h" #define GL_GLEXT_LEGACY #define __glext_h_ #include #define main SDL_main #else #include #include #endif #endif #include #include #include "tools.hh" #include "geom.hh" #include "ents.hh" #include "command.hh" #ifndef STANDALONE #include "glexts.hh" #include "glemu.hh" #endif #include "iengine.hh" #include "igame.hh" #endif