mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-07-09 12:41:49 +00:00
chore: remove unused t6 material property probeMipBits
This commit is contained in:
@ -510,7 +510,6 @@ namespace GAME
|
||||
#if defined(FEATURE_T6)
|
||||
unsigned surfaceFlags;
|
||||
unsigned contents;
|
||||
uint8_t probeMipBits;
|
||||
std::optional<std::string> thermalMaterial;
|
||||
#endif
|
||||
#endif
|
||||
@ -534,7 +533,6 @@ namespace GAME
|
||||
#if defined(FEATURE_T6)
|
||||
surfaceFlags,
|
||||
contents,
|
||||
probeMipBits,
|
||||
thermalMaterial,
|
||||
#endif
|
||||
#endif
|
||||
|
@ -436,9 +436,6 @@ namespace
|
||||
|
||||
material.stateFlags = static_cast<unsigned char>(jMaterial.stateFlags);
|
||||
material.cameraRegion = jMaterial.cameraRegion;
|
||||
#if defined(FEATURE_T6)
|
||||
material.probeMipBits = jMaterial.probeMipBits;
|
||||
#endif
|
||||
|
||||
auto* techniqueSet = m_context.LoadDependency<AssetTechniqueSet>(jMaterial.techniqueSet);
|
||||
if (!techniqueSet)
|
||||
|
@ -31,5 +31,6 @@ void AssetDumperMaterial::DumpAsset(AssetDumpingContext& context, XAssetInfo<Mat
|
||||
const auto* material = asset->Asset();
|
||||
assert(material->info.gameFlags < 0x8000);
|
||||
assert(material->info.hashIndex == 0);
|
||||
assert(material->probeMipBits == 0);
|
||||
DumpMaterialAsJson(*assetFile, *material, context);
|
||||
}
|
||||
|
@ -328,9 +328,6 @@ namespace
|
||||
|
||||
jMaterial.stateFlags = material.stateFlags;
|
||||
jMaterial.cameraRegion = static_cast<GfxCameraRegionType>(material.cameraRegion);
|
||||
#if defined(FEATURE_T6)
|
||||
jMaterial.probeMipBits = material.probeMipBits;
|
||||
#endif
|
||||
|
||||
if (material.techniqueSet && material.techniqueSet->name)
|
||||
jMaterial.techniqueSet = AssetName(material.techniqueSet->name);
|
||||
|
@ -63,7 +63,6 @@ namespace
|
||||
"CASTS_SHADOW"
|
||||
],
|
||||
"layeredSurfaceTypes": 536870925,
|
||||
"probeMipBits": 0,
|
||||
"sortKey": 4,
|
||||
"stateBits": [
|
||||
{
|
||||
|
@ -284,7 +284,6 @@ namespace
|
||||
"CASTS_SHADOW"
|
||||
],
|
||||
"layeredSurfaceTypes": 536870925,
|
||||
"probeMipBits": 0,
|
||||
"sortKey": 4,
|
||||
"stateBits": [
|
||||
{
|
||||
|
Reference in New Issue
Block a user