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:
@@ -16,7 +16,7 @@ struct ScriptBeam : IScriptObject {
|
||||
BeamInfo beamInfo;
|
||||
DamageInfo damageInfo;
|
||||
|
||||
void nameIDs(PAKRouter<PAKBridge>& pakRouter) const {
|
||||
void nameIDs(PAKRouter<PAKBridge>& pakRouter) const override {
|
||||
if (wpsc.isValid()) {
|
||||
PAK::Entry* ent = (PAK::Entry*)pakRouter.lookupEntry(wpsc);
|
||||
ent->name = name + "_wpsc";
|
||||
@@ -24,7 +24,8 @@ struct ScriptBeam : IScriptObject {
|
||||
beamInfo.nameIDs(pakRouter, name + "_beamInfo");
|
||||
}
|
||||
|
||||
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(wpsc, pathsOut);
|
||||
beamInfo.depIDs(pathsOut);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user