mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 16:15:43 +00:00
ZoneCommon: Add Texture pointer from OAT to GfxTexture union of T6 to be able to save loaded texture data in GfxImage
This commit is contained in:
parent
b210661ac8
commit
589347ce08
@ -40,6 +40,9 @@ typedef void ID3D11VertexShader;
|
||||
typedef void ID3D11InputLayout;
|
||||
typedef void ID3D11Buffer;
|
||||
|
||||
// OAT Types
|
||||
typedef void Texture;
|
||||
|
||||
// Unimportant cpp keywords
|
||||
#define __unaligned
|
||||
#define volatile
|
||||
|
@ -376,6 +376,7 @@ use GfxTexture;
|
||||
set reusable loadDef;
|
||||
set block loadDef XFILE_BLOCK_TEMP;
|
||||
set condition basemap never;
|
||||
set condition texture never;
|
||||
|
||||
// GfxImageLoadDef
|
||||
use GfxImageLoadDef;
|
||||
|
@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <d3d11.h>
|
||||
#include "Image/Texture.h"
|
||||
|
||||
#include "T6_Assets.h"
|
||||
|
||||
@ -18,7 +19,6 @@ namespace T6
|
||||
XAssetHeader header;
|
||||
};
|
||||
|
||||
|
||||
struct XAssetList
|
||||
{
|
||||
ScriptStringList stringList;
|
||||
|
@ -696,6 +696,7 @@ namespace T6
|
||||
union GfxTexture
|
||||
{
|
||||
ID3D11ShaderResourceView* basemap;
|
||||
Texture* texture;
|
||||
GfxImageLoadDef* loadDef;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user