mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-03-16 18:03:03 +00:00
feat: add techset compiling for IW3
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#options GAME(IW4, T6)
|
||||
#options GAME(IW3, IW4, T6)
|
||||
|
||||
#filename "Game/" + GAME + "/Techset/PixelShaderLoader" + GAME + ".cpp"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#if GAME == "IW3"
|
||||
#define FEATURE_IW3
|
||||
#define IS_DX9
|
||||
#define IS_SUB_ASSET
|
||||
#elif GAME == "IW4"
|
||||
#define FEATURE_IW4
|
||||
#define IS_DX9
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
#options GAME(IW4, T6)
|
||||
#options GAME(IW3, IW4, T6)
|
||||
|
||||
#filename "Game/" + GAME + "/Techset/PixelShaderLoader" + GAME + ".h"
|
||||
|
||||
#if GAME == "IW3"
|
||||
#define FEATURE_IW3
|
||||
#define IS_SUB_ASSET
|
||||
#elif GAME == "IW4"
|
||||
#define FEATURE_IW4
|
||||
#elif GAME == "IW5"
|
||||
@@ -12,6 +13,7 @@
|
||||
#define FEATURE_T5
|
||||
#elif GAME == "T6"
|
||||
#define FEATURE_T6
|
||||
#define IS_SUB_ASSET
|
||||
#endif
|
||||
|
||||
// This file was templated.
|
||||
@@ -28,7 +30,7 @@
|
||||
|
||||
#set CREATE_LOADER_METHOD "CreatePixelShaderLoader" + GAME
|
||||
|
||||
#if defined(FEATURE_T6)
|
||||
#if defined(IS_SUB_ASSET)
|
||||
#define INTERFACE_NAME ISubAssetCreator
|
||||
#else
|
||||
#define INTERFACE_NAME IAssetCreator
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#options GAME(IW4, T6)
|
||||
#options GAME(IW3, IW4, T6)
|
||||
|
||||
#filename "Game/" + GAME + "/Techset/VertexShaderLoader" + GAME + ".cpp"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#if GAME == "IW3"
|
||||
#define FEATURE_IW3
|
||||
#define IS_DX9
|
||||
#define IS_SUB_ASSET
|
||||
#elif GAME == "IW4"
|
||||
#define FEATURE_IW4
|
||||
#define IS_DX9
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
#options GAME(IW4, T6)
|
||||
#options GAME(IW3, IW4, T6)
|
||||
|
||||
#filename "Game/" + GAME + "/Techset/VertexShaderLoader" + GAME + ".h"
|
||||
|
||||
#if GAME == "IW3"
|
||||
#define FEATURE_IW3
|
||||
#define IS_SUB_ASSET
|
||||
#elif GAME == "IW4"
|
||||
#define FEATURE_IW4
|
||||
#elif GAME == "IW5"
|
||||
@@ -12,6 +13,7 @@
|
||||
#define FEATURE_T5
|
||||
#elif GAME == "T6"
|
||||
#define FEATURE_T6
|
||||
#define IS_SUB_ASSET
|
||||
#endif
|
||||
|
||||
// This file was templated.
|
||||
@@ -28,7 +30,7 @@
|
||||
|
||||
#set CREATE_LOADER_METHOD "CreateVertexShaderLoader" + GAME
|
||||
|
||||
#if defined(FEATURE_T6)
|
||||
#if defined(IS_SUB_ASSET)
|
||||
#define INTERFACE_NAME ISubAssetCreator
|
||||
#else
|
||||
#define INTERFACE_NAME IAssetCreator
|
||||
|
||||
Reference in New Issue
Block a user