Increase compile performance even more for NavMesh Editor

Cleaned up redundant includes
Reordered required ones
This commit is contained in:
Amos
2022-03-13 03:00:07 +01:00
parent b3f064d009
commit 3cf36b5d61
40 changed files with 146 additions and 136 deletions

1
r5dev/thirdparty/recast/Pch.cpp vendored Normal file
View File

@@ -0,0 +1 @@
#include "NavEditor/Include/Pch.h"

43
r5dev/thirdparty/recast/Pch.h vendored Normal file
View File

@@ -0,0 +1,43 @@
#define _USE_MATH_DEFINES
#include <math.h>
#include <cmath>
#include <float.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include <stdarg.h>
#ifdef WIN32
# include <io.h>
#else
# include <dirent.h>
# include <cstring>
#endif
#include <stdio.h>
#include <cstdio>
#include <iostream>
#include <fstream>
#include <set>
#include <vector>
#include <algorithm>
#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
#endif
#include "NavEditor/Include/imgui.h"
#include "NavEditor/Include/imguiRenderGL.h"