summaryrefslogtreecommitdiff
path: root/ZAPD/ZPath.h
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2021-05-26 20:04:02 -0400
committerGitHub <noreply@github.com>2021-05-26 20:04:02 -0400
commit4410b554e835ab7844c8eb78fd54fa3842d50f16 (patch)
tree065b8f53d6e1052c9f7ad1917c1b3b66d5eef645 /ZAPD/ZPath.h
parent769f5702a422d14bfb0a60a39319da4b4bf9ec1f (diff)
Check XML resource attributes (#126)
* register attibutes * fix array problems * cutscene problems * Set inner * fix merge * ups * Run format * small cleaning * A small blob cleanup * Simplify the logic a bit * ups * Fix merge problem * Fix merge issues * Fix merge issues * fix merge-produced type * Fix merge issues * run format and update easteregg * register ZPath attributes * dumb problems * How dumb can I be? * future proof change * empty commit * Check if Width and Height attributes of ZTexture has only decimal digits
Diffstat (limited to 'ZAPD/ZPath.h')
-rw-r--r--ZAPD/ZPath.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ZAPD/ZPath.h b/ZAPD/ZPath.h
index d02f163..55fc17d 100644
--- a/ZAPD/ZPath.h
+++ b/ZAPD/ZPath.h
@@ -12,7 +12,9 @@ public:
void DeclareReferences(const std::string& prefix) override;
std::string GetBodySourceCode() const;
- void DeclareVar();
+
+ std::string GetSourceTypeName() const override;
+ ZResourceType GetResourceType() const override;
size_t GetRawDataSize() const;
segptr_t GetListAddress() const;
@@ -41,6 +43,7 @@ public:
std::string GetSourceOutputCode(const std::string& prefix) override;
std::string GetSourceTypeName() const override;
+ ZResourceType GetResourceType() const override;
size_t GetRawDataSize() const override;
void SetNumPaths(uint32_t nNumPaths);