mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-03-15 17:33:03 +00:00
42 lines
840 B
Plaintext
42 lines
840 B
Plaintext
#options GAME(T6)
|
|
|
|
#filename "Game/" + GAME + "/Techset/VertexDeclCompiler" + GAME + ".h"
|
|
|
|
#set GAME_HEADER "\"Game/" + GAME + "/" + GAME + ".h\""
|
|
|
|
#if GAME == "IW3"
|
|
#define FEATURE_IW3
|
|
#elif GAME == "IW4"
|
|
#define FEATURE_IW4
|
|
#elif GAME == "IW5"
|
|
#define FEATURE_IW5
|
|
#elif GAME == "T5"
|
|
#define FEATURE_T5
|
|
#elif GAME == "T6"
|
|
#define FEATURE_T6
|
|
#endif
|
|
|
|
// This file was templated.
|
|
// See VertexDeclCompiler.h.template.
|
|
// Do not modify, changes will be lost.
|
|
|
|
#pragma once
|
|
|
|
#include "Asset/IAssetCreator.h"
|
|
#include "Utils/MemoryManager.h"
|
|
|
|
#include <memory>
|
|
|
|
#set CREATE_COMPILER_METHOD "CreateVertexDeclCompiler" + GAME
|
|
|
|
#if defined(FEATURE_T6)
|
|
#define INTERFACE_NAME ISubAssetCreator
|
|
#else
|
|
#define INTERFACE_NAME IAssetCreator
|
|
#endif
|
|
|
|
namespace techset
|
|
{
|
|
std::unique_ptr<INTERFACE_NAME> CREATE_COMPILER_METHOD(MemoryManager& memory);
|
|
}
|