mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
2cbe211e7c
The EDuke32 and RedNukem frontends are working, Blood isn't yet. Notes: many of the CMake variables and its output still refer to zdoom. Before changing that I wanted to make sure to be able to commit something that works. support code for Windows XP has been entirely removed. On Windows this will only target Vista and up. the crc32.h header had to be renamed to deconflict from zlib. several Windows API calls were changed to call the A-versions directly. Weirdly enough there were places that defined their parameters as T types but in a non-working way. removed some remaining editor files and support for the native software rendering only Windows backend. in a few simple cases, replaced 'char' with 'uint8_t'. The code as-is depends on chars being unsigned which is non-portable. This needs to be carefully reviewed.
34 lines
No EOL
909 B
C++
34 lines
No EOL
909 B
C++
#include <windows.h> // Ugh... This needs to go away but since some of the headers pull it in the compilation is creepingly slow without this.
|
|
#include <stddef.h>
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <float.h>
|
|
#include <math.h>
|
|
#include <limits.h>
|
|
#include <stdarg.h>
|
|
#include <errno.h>
|
|
#include <ctype.h>
|
|
#include <stdint.h>
|
|
#include <zlib.h>
|
|
#include <new>
|
|
#include <algorithm>
|
|
#include <forward_list>
|
|
#include <sys/stat.h>
|
|
#include <sys/types.h>
|
|
#include <cassert>
|
|
#ifdef _MSC_VER
|
|
#include <direct.h>
|
|
#include <io.h>
|
|
#endif // _MSC_VER
|
|
#include <limits>
|
|
#include <memory>
|
|
#include <tuple>
|
|
#include <vector>
|
|
#include <utility>
|
|
#include <functional>
|
|
|
|
// These two headers get included nearly everywhere so it doesn't matter if changing them forces a few more recompiles.
|
|
// The overall savings from PCHing them are more significant.
|
|
//#include "tarray.h"
|
|
//#include "zstring.h"
|