diff options
| author | xolatile | 2025-07-16 23:07:43 +0200 |
|---|---|---|
| committer | xolatile | 2025-07-16 23:07:43 +0200 |
| commit | 7256502afa0babe60fcafbd2888cd3e33c3f9b6b (patch) | |
| tree | 8a8495662a69bdadc4b5d9152656b9f02a44d668 /src/shared/cube.h | |
| parent | bc596ac9d4cdd00abf537b88d3c544be161330cc (diff) | |
| download | xolatile-badassbug-7256502afa0babe60fcafbd2888cd3e33c3f9b6b.tar.xz xolatile-badassbug-7256502afa0babe60fcafbd2888cd3e33c3f9b6b.tar.zst | |
Source code, broken...
Diffstat (limited to 'src/shared/cube.h')
| -rw-r--r-- | src/shared/cube.h | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/src/shared/cube.h b/src/shared/cube.h new file mode 100644 index 0000000..ed1c207 --- /dev/null +++ b/src/shared/cube.h @@ -0,0 +1,68 @@ +#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 <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 + +#ifndef STANDALONE + #ifdef __APPLE__ + #include "SDL.h" + #define GL_GLEXT_LEGACY + #define __glext_h_ + #include <OpenGL/gl.h> + #else + #include <SDL.h> + #include <SDL_opengl.h> + #endif +#endif + +#include <enet/enet.h> + +#include <zlib.h> + +#include "tools.h" +#include "geom.h" +#include "ents.h" +#include "command.h" + +#ifndef STANDALONE +#include "glexts.h" +#include "glemu.h" +#endif + +#include "iengine.h" +#include "igame.h" + +#endif + |
