mirror of
https://github.com/zeldaret/oot
synced 2026-09-10 20:10:01 -04:00
git subrepo pull --force tools/ZAPD (#1049)
subrepo: subdir: "tools/ZAPD" merged: "a3363333d" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "a3363333d" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596"
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "Utils/BitConverter.h"
|
||||
#include "Utils/File.h"
|
||||
#include "Utils/StringHelper.h"
|
||||
#include "WarningHandler.h"
|
||||
#include "ZFile.h"
|
||||
|
||||
REGISTER_ZFILENODE(Vector, ZVector);
|
||||
@@ -86,20 +87,18 @@ std::string ZVector::GetSourceTypeName() const
|
||||
return "Vec3i";
|
||||
else
|
||||
{
|
||||
std::string output = StringHelper::Sprintf(
|
||||
"Encountered unsupported vector type: %d dimensions, %s type", dimensions,
|
||||
std::string msgHeader = StringHelper::Sprintf(
|
||||
"encountered unsupported vector type: %d dimensions, %s type", dimensions,
|
||||
ZScalar::MapScalarTypeToOutputType(scalarType).c_str());
|
||||
|
||||
if (Globals::Instance->verbosity >= VerbosityLevel::VERBOSITY_DEBUG)
|
||||
printf("%s\n", output.c_str());
|
||||
|
||||
throw std::runtime_error(output);
|
||||
HANDLE_ERROR_RESOURCE(WarningType::NotImplemented, parent, this, rawDataIndex, msgHeader,
|
||||
"");
|
||||
}
|
||||
}
|
||||
|
||||
std::string ZVector::GetBodySourceCode() const
|
||||
{
|
||||
std::string body;
|
||||
std::string body = "";
|
||||
|
||||
for (size_t i = 0; i < scalars.size(); i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user