Vtx now uses decimals and inc files add a new line at the end

This commit is contained in:
KiritoDv
2024-02-18 19:03:58 -06:00
parent 298b3ff0d0
commit 56ade56c12
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -413,7 +413,7 @@ void Companion::Process() {
break;
}
case ExportType::Code: {
fsout /= this->gCurrentDirectory / "bin.c";
fsout /= this->gCurrentDirectory / (filename + ".c");
break;
}
default: break;
+1
View File
@@ -110,6 +110,7 @@ void TextureCodeExporter::Export(std::ostream &write, std::shared_ptr<IParsedDat
file << "0x" << std::hex << std::setw(2) << std::setfill('0') << static_cast<int>(data[i]) << ", ";
}
file << std::endl;
file.close();
+1 -1
View File
@@ -4,7 +4,7 @@
#include "utils/Decompressor.h"
#define NUM(x) std::dec << std::setfill(' ') << std::setw(6) << x
#define COL(c) "0x" << std::hex << std::setw(2) << std::setfill('0') << c
#define COL(c) std::dec << std::setfill(' ') << std::setw(3) << c
void VtxHeaderExporter::Export(std::ostream &write, std::shared_ptr<IParsedData> raw, std::string& entryName, YAML::Node &node, std::string* replacement) {
const auto symbol = GetSafeNode(node, "symbol", entryName);