Compile bug fixes.

This commit is contained in:
whipowill
2022-05-18 17:03:01 -05:00
parent 7b55e7aec4
commit 9a6709f5c1
29 changed files with 148 additions and 148 deletions

View File

@@ -18,7 +18,7 @@ class DpsHunterStrategyActionNodeFactory : public NamedObjectFactory<ActionNode>
}
private:
static ActionNode* viper_sting(PlayerbotAI* botAI)
static ActionNode* viper_sting([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("viper sting",
/*P*/ nullptr,
@@ -26,7 +26,7 @@ class DpsHunterStrategyActionNodeFactory : public NamedObjectFactory<ActionNode>
/*C*/ nullptr);
}
static ActionNode* aimed_shot(PlayerbotAI* botAI)
static ActionNode* aimed_shot([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("aimed shot",
/*P*/ nullptr,
@@ -34,7 +34,7 @@ class DpsHunterStrategyActionNodeFactory : public NamedObjectFactory<ActionNode>
/*C*/ nullptr);
}
static ActionNode* chimera_shot(PlayerbotAI* botAI)
static ActionNode* chimera_shot([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("chimera shot",
/*P*/ nullptr,
@@ -42,7 +42,7 @@ class DpsHunterStrategyActionNodeFactory : public NamedObjectFactory<ActionNode>
/*C*/ nullptr);
}
static ActionNode* explosive_shot(PlayerbotAI* botAI)
static ActionNode* explosive_shot([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("explosive shot",
/*P*/ nullptr,
@@ -50,7 +50,7 @@ class DpsHunterStrategyActionNodeFactory : public NamedObjectFactory<ActionNode>
/*C*/ nullptr);
}
static ActionNode* concussive_shot(PlayerbotAI* botAI)
static ActionNode* concussive_shot([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("concussive shot",
/*P*/ nullptr,

View File

@@ -16,7 +16,7 @@ class GenericHunterNonCombatStrategyActionNodeFactory : public NamedObjectFactor
}
private:
static ActionNode* rapid_fire(PlayerbotAI* botAI)
static ActionNode* rapid_fire([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("rapid fire",
/*P*/ nullptr,
@@ -24,7 +24,7 @@ class GenericHunterNonCombatStrategyActionNodeFactory : public NamedObjectFactor
/*C*/ nullptr);
}
static ActionNode* aspect_of_the_pack(PlayerbotAI* botAI)
static ActionNode* aspect_of_the_pack([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("aspect of the pack",
/*P*/ nullptr,

View File

@@ -19,7 +19,7 @@ class GenericHunterStrategyActionNodeFactory : public NamedObjectFactory<ActionN
}
private:
static ActionNode* rapid_fire(PlayerbotAI* botAI)
static ActionNode* rapid_fire([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("rapid fire",
/*P*/ nullptr,
@@ -27,7 +27,7 @@ class GenericHunterStrategyActionNodeFactory : public NamedObjectFactory<ActionN
/*C*/ nullptr);
}
static ActionNode* aspect_of_the_pack(PlayerbotAI* botAI)
static ActionNode* aspect_of_the_pack([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("aspect of the pack",
/*P*/ nullptr,
@@ -35,7 +35,7 @@ class GenericHunterStrategyActionNodeFactory : public NamedObjectFactory<ActionN
/*C*/ nullptr);
}
static ActionNode* feign_death(PlayerbotAI* botAI)
static ActionNode* feign_death([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("feign death",
/*P*/ nullptr,
@@ -43,7 +43,7 @@ class GenericHunterStrategyActionNodeFactory : public NamedObjectFactory<ActionN
/*C*/ nullptr);
}
static ActionNode* wing_clip(PlayerbotAI* botAI)
static ActionNode* wing_clip([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode("wing clip",
/*P*/ nullptr,
@@ -51,7 +51,7 @@ class GenericHunterStrategyActionNodeFactory : public NamedObjectFactory<ActionN
/*C*/ NextAction::array(0, new NextAction("flee"), nullptr));
}
static ActionNode* raptor_strike(PlayerbotAI* botAI)
static ActionNode* raptor_strike([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode("raptor strike",
/*P*/ NextAction::array(0, new NextAction("melee"), nullptr),