Add code generation on compiling to premake scripts using custom build commands

This commit is contained in:
Jan
2019-10-25 02:13:37 +02:00
parent d93b4f5fac
commit 034de70bbc
27 changed files with 345 additions and 325 deletions

View File

@ -0,0 +1,41 @@
#pragma once
// ===========================================
// This file includes multiple additional definitions
// for ZoneCodeGenerator.
// ===========================================
// Windows Types
typedef unsigned long DWORD;
typedef int BOOL;
typedef unsigned char BYTE;
typedef unsigned short WORD;
typedef float FLOAT;
namespace std
{
typedef char int8_t;
typedef short int16_t;
typedef int int32_t;
typedef long long int64_t;
}
// DirectX types do not need to be processed.
// DirectX 9 Types
typedef void IDirect3DVertexDeclaration9;
typedef void IDirect3DPixelShader9;
typedef void IDirect3DVertexShader9;
// DirectX 11 Types
typedef void ID3D11BlendState;
typedef void ID3D11DepthStencilState;
typedef void ID3D11RasterizerState;
typedef void ID3D11ShaderResourceView;
typedef void ID3D11PixelShader;
typedef void ID3D11VertexShader;
typedef void ID3D11InputLayout;
typedef void ID3D11Buffer;
// Unimportant cpp keywords
#define __unaligned
#define volatile
#define __cppobj