mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
This header allows us to properly switch between experimental/finished STD implementations without having to adjust the source code (required for compiling on older versions of the Visual Studio 2017 compiler).
51 lines
889 B
C++
51 lines
889 B
C++
#ifndef DTPCH_H
|
|
#define DTPCH_H
|
|
|
|
#define _USE_MATH_DEFINES
|
|
#include <math.h>
|
|
#include <cmath>
|
|
#include <float.h>
|
|
#include <string.h>
|
|
#include <ctype.h>
|
|
|
|
#include <stdlib.h>
|
|
#include <stdarg.h>
|
|
|
|
#include <stdio.h>
|
|
#include <cstdio>
|
|
#include <iostream>
|
|
#include <fstream>
|
|
|
|
#include <set>
|
|
#include <vector>
|
|
#include <algorithm>
|
|
|
|
#include "common/experimental.h"
|
|
|
|
#include "thirdparty/fastlz/fastlz.h"
|
|
|
|
#include "thirdparty/sdl/include/SDL.h"
|
|
#include "thirdparty/sdl/include/SDL_syswm.h"
|
|
#include "thirdparty/sdl/include/SDL_opengl.h"
|
|
|
|
#ifdef __APPLE__
|
|
# include <OpenGL/glu.h>
|
|
#else
|
|
# include <GL/glu.h>
|
|
#endif
|
|
|
|
#ifdef WIN32
|
|
# define snprintf _snprintf
|
|
# define putenv _putenv
|
|
# include "commdlg.h"
|
|
# include <io.h>
|
|
#else // Linux, BSD, OSX
|
|
# include <dirent.h>
|
|
# include <cstring>
|
|
#endif
|
|
|
|
#include "NavEditor/Include/imgui.h"
|
|
#include "NavEditor/Include/imguiRenderGL.h"
|
|
|
|
#endif // DTPCH_H
|