mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 09:47:43 +00:00
RetroDataSpec: Use override where applicable
Continues the override modernizations, applying the keyword where applicable to the RetroDataSpec target.
This commit is contained in:
@@ -22,11 +22,11 @@ struct NewIntroBoss : IScriptObject {
|
||||
UniqueID32 beamTextureId;
|
||||
UniqueID32 beamGlowTextureId;
|
||||
|
||||
void addCMDLRigPairs(PAKRouter<PAKBridge>& pakRouter, CharacterAssociations<UniqueID32>& charAssoc) const {
|
||||
void addCMDLRigPairs(PAKRouter<PAKBridge>& pakRouter, CharacterAssociations<UniqueID32>& charAssoc) const override {
|
||||
actorParameters.addCMDLRigPairs(pakRouter, charAssoc, patternedInfo.animationParameters);
|
||||
}
|
||||
|
||||
void nameIDs(PAKRouter<PAKBridge>& pakRouter) const {
|
||||
void nameIDs(PAKRouter<PAKBridge>& pakRouter) const override {
|
||||
if (beamContactFxId.isValid()) {
|
||||
PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(beamContactFxId);
|
||||
ent->name = name + "_beamContactFxId";
|
||||
@@ -47,7 +47,8 @@ struct NewIntroBoss : IScriptObject {
|
||||
actorParameters.nameIDs(pakRouter, name + "_actp");
|
||||
}
|
||||
|
||||
void gatherDependencies(std::vector<hecl::ProjectPath>& pathsOut, std::vector<hecl::ProjectPath>& lazyOut) const {
|
||||
void gatherDependencies(std::vector<hecl::ProjectPath>& pathsOut,
|
||||
std::vector<hecl::ProjectPath>& lazyOut) const override {
|
||||
g_curSpec->flattenDependencies(weaponDesc, pathsOut);
|
||||
g_curSpec->flattenDependencies(beamContactFxId, pathsOut);
|
||||
g_curSpec->flattenDependencies(beamPulseFxId, pathsOut);
|
||||
@@ -57,6 +58,6 @@ struct NewIntroBoss : IScriptObject {
|
||||
actorParameters.depIDs(pathsOut, lazyOut);
|
||||
}
|
||||
|
||||
void gatherScans(std::vector<Scan>& scansOut) const { actorParameters.scanIDs(scansOut); }
|
||||
void gatherScans(std::vector<Scan>& scansOut) const override { actorParameters.scanIDs(scansOut); }
|
||||
};
|
||||
} // namespace DataSpec::DNAMP1
|
||||
|
||||
Reference in New Issue
Block a user