summaryrefslogtreecommitdiff
path: root/ZAPD/ZFile.h
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2022-03-26 17:38:55 -0300
committerGitHub <noreply@github.com>2022-03-26 16:38:55 -0400
commit89a0b26289a7bcb2e5cc450f2792e08b7bb276f9 (patch)
tree2635012016662ffc7c1f468773e6d2b5120ccba0 /ZAPD/ZFile.h
parent14d2a734b3fdddf2091629edc59db94ab5548f3e (diff)
Add cutscene extraction for MM (#242)
* Initial draft * crashes a lot less * Some scenes matches * GiveTatl * A class for every command * CS_MISC * A few macros * More commands * Macros for unknown commands * small cleanup * Remove useless destructors and fix warnings * More cleanup * format * Move stuff around * move commands to commands file * oot builds again * Mix OoT and MM SetTime commands * Name Terminator and Camera * MOTIONBLUR * Use CS_TEXT_LEARN_SONG in OoT * Macros for each type of textbox * Mix PlaySec and PlayBgm classes * Mix StopSeq and StopBgm * Mix the actor actions from oot and mm * Merge unknown command * Mix ZCutscene and ZCutsceneMM into one * Fix SCENE_CMD_CUTSCENE_LIST not using symbol and hardcoded MM cutscenes names * Mix OoT and MM LIGHTING class * Mix OoT and MM misc * Rumble * format * remove redundant else * CS_FADESCREEN * argument change * Remove some redundant parameters * Renames * format * Rename ChooseCredits class * Final cleanup * line * GenericCmd class for MM * Move some extra commands to csCommandsDescMM * Remove redundant GetCommandOoTFromID * CutsceneCommand_GenericCmd for OoT * Move CS_UNK_DATA to GenericCmd * Final cleanup * format * warning
Diffstat (limited to 'ZAPD/ZFile.h')
-rw-r--r--ZAPD/ZFile.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ZAPD/ZFile.h b/ZAPD/ZFile.h
index 365c7bb..275e27f 100644
--- a/ZAPD/ZFile.h
+++ b/ZAPD/ZFile.h
@@ -81,9 +81,9 @@ public:
const std::string& expectedType,
std::string& declName) const;
- Declaration* GetDeclaration(uint32_t address) const;
- Declaration* GetDeclarationRanged(uint32_t address) const;
- bool HasDeclaration(uint32_t address);
+ Declaration* GetDeclaration(offset_t address) const;
+ Declaration* GetDeclarationRanged(offset_t address) const;
+ bool HasDeclaration(offset_t address);
std::string GetHeaderInclude() const;
std::string GetZRoomHeaderInclude() const;