ZoneCodeGenerator: Add precompiler support for ifdef so a namespace can be defined in the t6_assets header for compiling in ZoneCommon without display errors

This commit is contained in:
Jan
2019-12-21 16:37:57 +01:00
parent c8a2bec12b
commit 57ef79692a
4 changed files with 6287 additions and 5803 deletions

View File

@ -20,6 +20,11 @@ namespace std
typedef long long int64_t;
}
#define __int8 char
#define __int16 short
#define __int32 int
#define __int64 long long
// DirectX types do not need to be processed.
// DirectX 9 Types
typedef void IDirect3DVertexDeclaration9;
@ -38,4 +43,6 @@ typedef void ID3D11Buffer;
// Unimportant cpp keywords
#define __unaligned
#define volatile
#define __cppobj
#define __cppobj
// EOF