summaryrefslogtreecommitdiff
path: root/ZAPD/ZFile.h
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2022-01-20 23:47:57 -0300
committerGitHub <noreply@github.com>2022-01-20 21:47:57 -0500
commit119a6883e6f795815744b9afd6a79084c619ddb6 (patch)
treea8c34608bd215d56564ad46f03e235ddb9ed12e8 /ZAPD/ZFile.h
parentbe71e26d9afc470a9293e74a6f56ca87f7412be0 (diff)
Automatic limbs enum generation (#221)
* proof of concept * SetLimbIndex * LIMB_DONE * use proper enum name in limbs * fix naming * add ifdefs * fix me being dumb * format * Add EnumPrefix * EnumName * Remove autogenerator stuff * Add warnings * format * Use HANDLE_WARNING_RESOURCE for warning * object_box special case * whoops * Remove overloaded bitconverter methods and use boundary-checker .at method when possible * Fix warning * Fix warning * format * Hopefully fix every warning now * docs * Review * typo * Update jenkinsfile for MM * format * Force functionpreamble printing in development mode * Use ARRAY_COUNT on SkeletonHeaders * Simplify endif in header guards * fix limbs using the wrong enum value * use hex in enum comments
Diffstat (limited to 'ZAPD/ZFile.h')
-rw-r--r--ZAPD/ZFile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ZAPD/ZFile.h b/ZAPD/ZFile.h
index ac4062d..365c7bb 100644
--- a/ZAPD/ZFile.h
+++ b/ZAPD/ZFile.h
@@ -52,7 +52,7 @@ public:
void ExtractResources();
void BuildSourceFile();
void AddResource(ZResource* res);
- ZResource* FindResource(uint32_t rawDataIndex);
+ ZResource* FindResource(offset_t rawDataIndex);
std::vector<ZResource*> GetResourcesOfType(ZResourceType resType);
Declaration* AddDeclaration(offset_t address, DeclarationAlignment alignment, size_t size,