2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-03-16 18:03:03 +00:00

feat: dump t6 shader args

This commit is contained in:
Jan Laupetin
2025-11-16 00:12:52 +00:00
parent f1485fa230
commit dadcdc84e0
21 changed files with 2341 additions and 71 deletions

View File

@@ -6,7 +6,7 @@
#include "ObjWriting.h"
#include "Zone/ZoneRegistry.h"
namespace T5
namespace
{
const char* KNOWN_CONSTANT_NAMES[]{
"AngularVelocityScale",
@@ -471,7 +471,10 @@ namespace T5
"ui3d",
"ui3dSampler",
};
} // namespace
namespace T5
{
void MaterialConstantZoneState::ExtractNamesFromZoneInternal()
{
for (const auto* zone : ZoneRegistry::GetRegistryForGame(GameId::T5)->Zones())
@@ -493,7 +496,7 @@ namespace T5
}
}
unsigned MaterialConstantZoneState::HashString(const std::string& str)
unsigned MaterialConstantZoneState::HashString(const std::string& str) const
{
return Common::R_HashString(str.c_str());
}