summaryrefslogtreecommitdiff
path: root/ZAPD/Main.cpp
diff options
context:
space:
mode:
authorNicholas Estelami <NEstelami@users.noreply.github.com>2021-04-15 20:40:22 -0400
committerGitHub <noreply@github.com>2021-04-15 20:40:22 -0400
commit3628110528eaca4fc6ccce2db2941f6588a8d48f (patch)
tree1c828abe75807954bca15ea8b0c5d861d50272ae /ZAPD/Main.cpp
parent179af7d11fd27b046edfb1bbadade865033583d7 (diff)
Removed a bunch of old commented out code. (#114)
Diffstat (limited to 'ZAPD/Main.cpp')
-rw-r--r--ZAPD/Main.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/ZAPD/Main.cpp b/ZAPD/Main.cpp
index 3fc4f76..7bbf822 100644
--- a/ZAPD/Main.cpp
+++ b/ZAPD/Main.cpp
@@ -345,8 +345,6 @@ void BuildAssetTexture(const std::string& pngFilePath, TextureType texType,
if (File::Exists(cfgPath))
name = File::ReadAllText(cfgPath);
- // string src = StringHelper::Sprintf("u64 %s[] = \n{\n", name.c_str()) +
- // tex->GetSourceOutputCode(name) + "};\n";
string src = tex->GetSourceOutputCode(name);
File::WriteAllText(outPath, src);
@@ -368,8 +366,6 @@ void BuildAssetBlob(const std::string& blobFilePath, const std::string& outPath)
ZBlob* blob = ZBlob::FromFile(blobFilePath);
string name = StringHelper::Split(split[split.size() - 1], ".")[0];
- // string src = StringHelper::Sprintf("u8 %s[] = \n{\n", name.c_str()) +
- // blob->GetSourceOutputCode(name) + "};\n";
string src = blob->GetSourceOutputCode(name);
File::WriteAllText(outPath, src);
@@ -380,7 +376,6 @@ void BuildAssetBlob(const std::string& blobFilePath, const std::string& outPath)
void BuildAssetModelIntermediette(const std::string& mdlPath, const std::string& outPath)
{
XMLDocument doc;
- // XMLError eResult = doc.LoadFile(mdlPath.c_str());
vector<string> split = StringHelper::Split(outPath, "/");
HLModelIntermediette* mdl = HLModelIntermediette::FromXML(doc.RootElement());
@@ -399,8 +394,6 @@ void BuildAssetAnimationIntermediette(const std::string& animPath, const std::st
ZAnimation* zAnim = anim->ToZAnimation();
zAnim->SetName(Path::GetFileNameWithoutExtension(split[split.size() - 1]));
zAnim->parent = file;
- // zAnim->rotationIndicesSeg = 1;
- // zAnim->rotationValuesSeg = 2;
zAnim->GetSourceOutputCode(split[split.size() - 2]);
string output = "";