mirror of
https://github.com/izzy2lost/Torch.git
synced 2026-07-06 00:18:35 -07:00
Vtx now uses decimals and inc files add a new line at the end
This commit is contained in:
+1
-1
@@ -413,7 +413,7 @@ void Companion::Process() {
|
||||
break;
|
||||
}
|
||||
case ExportType::Code: {
|
||||
fsout /= this->gCurrentDirectory / "bin.c";
|
||||
fsout /= this->gCurrentDirectory / (filename + ".c");
|
||||
break;
|
||||
}
|
||||
default: break;
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user