mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-15 17:27:57 -05:00
Add code generation on compiling to premake scripts using custom build commands
This commit is contained in:
41
src/ZoneCode/Game/Common.h
Normal file
41
src/ZoneCode/Game/Common.h
Normal 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
|
Reference in New Issue
Block a user