diff options
| author | Nicholas Estelami <NEstelami@users.noreply.github.com> | 2021-01-19 15:08:29 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-19 15:08:29 -0500 |
| commit | 2e1174063f3ed6bcf929bc7093cd2d1b05f8518b (patch) | |
| tree | d62ac506b1017296dba708030745743da90a5b2d /ZAPD/ZFile.h | |
| parent | fda77edbcfcee7675fd1549553114d690d4fcd39 (diff) | |
Added in support for ZArray (WIP) and ZVtx. Also cleaned up some of the virtual functions. (#73)
Diffstat (limited to 'ZAPD/ZFile.h')
| -rw-r--r-- | ZAPD/ZFile.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ZAPD/ZFile.h b/ZAPD/ZFile.h index aa642d8..89cb02c 100644 --- a/ZAPD/ZFile.h +++ b/ZAPD/ZFile.h @@ -27,10 +27,11 @@ public: uint32_t baseAddress, rangeStart, rangeEnd; ZFile(std::string nOutPath, std::string nName); - ZFile(ZFileMode mode, tinyxml2::XMLElement* reader, std::string nBasePath, std::string nOutPath, bool placeholderMode); + ZFile(ZFileMode mode, tinyxml2::XMLElement* reader, std::string nBasePath, std::string nOutPath, std::string filename, bool placeholderMode); ~ZFile(); std::string GetVarName(int address); + std::string GetName(); void ExtractResources(std::string outputDir); void BuildResources(); void BuildSourceFile(std::string outputDir); @@ -61,7 +62,7 @@ protected: std::string sourceOutput; ZFile(); - void ParseXML(ZFileMode mode, tinyxml2::XMLElement* reader, bool placeholderMode); + void ParseXML(ZFileMode mode, tinyxml2::XMLElement* reader, std::string filename, bool placeholderMode); void GenerateSourceFiles(std::string outputDir); void GenerateHLIntermediette(); void AddDeclarationDebugChecks(uint32_t address); |
