2020-04-15 18:39:17 +02:00
|
|
|
#ifndef __CUBE_H__
|
|
|
|
#define __CUBE_H__
|
|
|
|
|
|
|
|
#define _FILE_OFFSET_BITS 64
|
|
|
|
|
|
|
|
#ifdef WIN32
|
|
|
|
#define _USE_MATH_DEFINES
|
|
|
|
#endif
|
|
|
|
#include <math.h>
|
|
|
|
|
|
|
|
#include <string.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <limits.h>
|
|
|
|
#include <float.h>
|
|
|
|
#include <assert.h>
|
|
|
|
#include <time.h>
|
|
|
|
|
|
|
|
#ifdef WIN32
|
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
|
|
#ifdef _WIN32_WINNT
|
|
|
|
#undef _WIN32_WINNT
|
|
|
|
#endif
|
|
|
|
#define _WIN32_WINNT 0x0500
|
|
|
|
#include "windows.h"
|
|
|
|
#ifndef _WINDOWS
|
|
|
|
#define _WINDOWS
|
|
|
|
#endif
|
|
|
|
#ifndef __GNUC__
|
|
|
|
#include <eh.h>
|
|
|
|
#include <dbghelp.h>
|
|
|
|
#include <intrin.h>
|
|
|
|
#endif
|
|
|
|
#define ZLIB_DLL
|
|
|
|
#endif
|
|
|
|
|
2020-04-18 02:20:17 +02:00
|
|
|
#include "gl.hh"
|
2020-04-15 18:39:17 +02:00
|
|
|
|
|
|
|
#include <zlib.h>
|
|
|
|
|
2020-04-16 20:28:40 +02:00
|
|
|
#include "tools.hh"
|
|
|
|
#include "geom.hh"
|
|
|
|
#include "ents.hh"
|
|
|
|
#include "command.hh"
|
2020-04-15 18:39:17 +02:00
|
|
|
|
|
|
|
#ifndef STANDALONE
|
2020-04-16 20:28:40 +02:00
|
|
|
#include "glexts.hh"
|
|
|
|
#include "glemu.hh"
|
2020-04-15 18:39:17 +02:00
|
|
|
#endif
|
|
|
|
|
2020-04-16 20:28:40 +02:00
|
|
|
#include "iengine.hh"
|
|
|
|
#include "igame.hh"
|
2020-04-15 18:39:17 +02:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|