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

@@ -25,7 +25,7 @@ class BearTankDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionN
}
private:
static ActionNode* melee(PlayerbotAI* botAI)
static ActionNode* melee([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("melee",
/*P*/ NextAction::array(0, new NextAction("feral charge - bear"), nullptr),
@@ -33,7 +33,7 @@ class BearTankDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionN
/*C*/ nullptr);
}
static ActionNode* feral_charge_bear(PlayerbotAI* botAI)
static ActionNode* feral_charge_bear([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("feral charge - bear",
/*P*/ nullptr,
@@ -41,7 +41,7 @@ class BearTankDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionN
/*C*/ nullptr);
}
static ActionNode* swipe_bear(PlayerbotAI* botAI)
static ActionNode* swipe_bear([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("swipe (bear)",
/*P*/ nullptr,
@@ -49,7 +49,7 @@ class BearTankDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionN
/*C*/ nullptr);
}
static ActionNode* faerie_fire_feral(PlayerbotAI* botAI)
static ActionNode* faerie_fire_feral([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("faerie fire (feral)",
/*P*/ NextAction::array(0, new NextAction("feral charge - bear"), nullptr),
@@ -57,7 +57,7 @@ class BearTankDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionN
/*C*/ nullptr);
}
static ActionNode* bear_form(PlayerbotAI* botAI)
static ActionNode* bear_form([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("bear form",
/*P*/ nullptr,
@@ -65,7 +65,7 @@ class BearTankDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionN
/*C*/ nullptr);
}
static ActionNode* dire_bear_form(PlayerbotAI* botAI)
static ActionNode* dire_bear_form([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("dire bear form",
/*P*/ nullptr,
@@ -73,7 +73,7 @@ class BearTankDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionN
/*C*/ nullptr);
}
static ActionNode* mangle_bear(PlayerbotAI* botAI)
static ActionNode* mangle_bear([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("mangle (bear)",
/*P*/ nullptr,
@@ -81,7 +81,7 @@ class BearTankDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionN
/*C*/ nullptr);
}
static ActionNode* maul(PlayerbotAI* botAI)
static ActionNode* maul([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("maul",
/*P*/ nullptr,
@@ -89,7 +89,7 @@ class BearTankDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionN
/*C*/ nullptr);
}
static ActionNode* bash(PlayerbotAI* botAI)
static ActionNode* bash([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("bash",
/*P*/ nullptr,
@@ -97,7 +97,7 @@ class BearTankDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionN
/*C*/ nullptr);
}
static ActionNode* swipe(PlayerbotAI* botAI)
static ActionNode* swipe([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("swipe",
/*P*/ nullptr,
@@ -105,7 +105,7 @@ class BearTankDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionN
/*C*/ nullptr);
}
static ActionNode* lacerate(PlayerbotAI* botAI)
static ActionNode* lacerate([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("lacerate",
/*P*/ nullptr,
@@ -113,7 +113,7 @@ class BearTankDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionN
/*C*/ nullptr);
}
static ActionNode* growl(PlayerbotAI* botAI)
static ActionNode* growl([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("growl",
/*P*/ nullptr,
@@ -121,7 +121,7 @@ class BearTankDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionN
/*C*/ nullptr);
}
static ActionNode* demoralizing_roar(PlayerbotAI* botAI)
static ActionNode* demoralizing_roar([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("demoralizing roar",
/*P*/ nullptr,

View File

@@ -23,7 +23,7 @@ class CasterDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNod
}
private:
static ActionNode* faerie_fire(PlayerbotAI* botAI)
static ActionNode* faerie_fire([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("faerie fire",
/*P*/ NextAction::array(0, new NextAction("moonkin form"), nullptr),
@@ -31,7 +31,7 @@ class CasterDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNod
/*C*/ nullptr);
}
static ActionNode* hibernate(PlayerbotAI* botAI)
static ActionNode* hibernate([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("hibernate",
/*P*/ NextAction::array(0, new NextAction("moonkin form"), nullptr),
@@ -39,7 +39,7 @@ class CasterDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNod
/*C*/ nullptr);
}
static ActionNode* entangling_roots(PlayerbotAI* botAI)
static ActionNode* entangling_roots([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("entangling roots",
/*P*/ NextAction::array(0, new NextAction("moonkin form"), nullptr),
@@ -47,7 +47,7 @@ class CasterDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNod
/*C*/ nullptr);
}
static ActionNode* entangling_roots_on_cc(PlayerbotAI* botAI)
static ActionNode* entangling_roots_on_cc([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("entangling roots on cc",
/*P*/ NextAction::array(0, new NextAction("moonkin form"), nullptr),
@@ -55,7 +55,7 @@ class CasterDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNod
/*C*/ nullptr);
}
static ActionNode* wrath(PlayerbotAI* botAI)
static ActionNode* wrath([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("wrath",
/*P*/ NextAction::array(0, new NextAction("moonkin form"), nullptr),
@@ -63,7 +63,7 @@ class CasterDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNod
/*C*/ nullptr);
}
static ActionNode* starfall(PlayerbotAI* botAI)
static ActionNode* starfall([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("starfall",
/*P*/ NextAction::array(0, new NextAction("moonkin form"), nullptr),
@@ -71,7 +71,7 @@ class CasterDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNod
/*C*/ nullptr);
}
static ActionNode* insect_swarm(PlayerbotAI* botAI)
static ActionNode* insect_swarm([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("insect swarm",
/*P*/ NextAction::array(0, new NextAction("moonkin form"), nullptr),
@@ -79,7 +79,7 @@ class CasterDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNod
/*C*/ nullptr);
}
static ActionNode* moonfire(PlayerbotAI* botAI)
static ActionNode* moonfire([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("moonfire",
/*P*/ NextAction::array(0, new NextAction("moonkin form"), nullptr),
@@ -87,7 +87,7 @@ class CasterDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNod
/*C*/ nullptr);
}
static ActionNode* starfire(PlayerbotAI* botAI)
static ActionNode* starfire([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("starfire",
/*P*/ NextAction::array(0, new NextAction("moonkin form"), nullptr),

View File

@@ -24,7 +24,7 @@ class CatDpsDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNod
}
private:
static ActionNode* faerie_fire_feral(PlayerbotAI* botAI)
static ActionNode* faerie_fire_feral([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("faerie fire (feral)",
/*P*/ nullptr,
@@ -32,7 +32,7 @@ class CatDpsDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNod
/*C*/ nullptr);
}
static ActionNode* melee(PlayerbotAI* botAI)
static ActionNode* melee([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("melee",
/*P*/ NextAction::array(0, new NextAction("feral charge - cat"), nullptr),
@@ -40,7 +40,7 @@ class CatDpsDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNod
/*C*/ nullptr);
}
static ActionNode* feral_charge_cat(PlayerbotAI* botAI)
static ActionNode* feral_charge_cat([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("feral charge - cat",
/*P*/ nullptr,
@@ -48,7 +48,7 @@ class CatDpsDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNod
/*C*/ nullptr);
}
static ActionNode* cat_form(PlayerbotAI* botAI)
static ActionNode* cat_form([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("cat form",
/*P*/ nullptr,
@@ -56,7 +56,7 @@ class CatDpsDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNod
/*C*/ nullptr);
}
static ActionNode* claw(PlayerbotAI* botAI)
static ActionNode* claw([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("claw",
/*P*/ nullptr,
@@ -64,7 +64,7 @@ class CatDpsDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNod
/*C*/ nullptr);
}
static ActionNode* mangle_cat(PlayerbotAI* botAI)
static ActionNode* mangle_cat([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("mangle (cat)",
/*P*/ nullptr,
@@ -72,7 +72,7 @@ class CatDpsDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNod
/*C*/ nullptr);
}
static ActionNode* rake(PlayerbotAI* botAI)
static ActionNode* rake([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("rake",
/*P*/ nullptr,
@@ -80,7 +80,7 @@ class CatDpsDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNod
/*C*/ nullptr);
}
static ActionNode* ferocious_bite(PlayerbotAI* botAI)
static ActionNode* ferocious_bite([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("ferocious bite",
/*P*/ nullptr,
@@ -88,7 +88,7 @@ class CatDpsDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNod
/*C*/ nullptr);
}
static ActionNode* rip(PlayerbotAI* botAI)
static ActionNode* rip([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("rip",
/*P*/ nullptr,
@@ -96,7 +96,7 @@ class CatDpsDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNod
/*C*/ nullptr);
}
static ActionNode* pounce(PlayerbotAI* botAI)
static ActionNode* pounce([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode("pounce",
/*P*/ nullptr,
@@ -104,7 +104,7 @@ class CatDpsDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNod
/*C*/ nullptr);
}
static ActionNode* ravage(PlayerbotAI* botAI)
static ActionNode* ravage([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode("ravage",
/*P*/ nullptr,

View File

@@ -21,7 +21,7 @@ class FeralDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNode
}
private:
static ActionNode* survival_instincts(PlayerbotAI* botAI)
static ActionNode* survival_instincts([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("survival instincts",
/*P*/ nullptr,
@@ -29,7 +29,7 @@ class FeralDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNode
/*C*/ nullptr);
}
static ActionNode* thorns(PlayerbotAI* botAI)
static ActionNode* thorns([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("thorns",
/*P*/ NextAction::array(0, new NextAction("caster form"), nullptr),
@@ -37,7 +37,7 @@ class FeralDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNode
/*C*/ nullptr);
}
static ActionNode* omen_of_clarity(PlayerbotAI* botAI)
static ActionNode* omen_of_clarity([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("omen of clarity",
/*P*/ NextAction::array(0, new NextAction("caster form"), nullptr),
@@ -45,7 +45,7 @@ class FeralDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNode
/*C*/ nullptr);
}
static ActionNode* cure_poison(PlayerbotAI* botAI)
static ActionNode* cure_poison([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("cure poison",
/*P*/ NextAction::array(0, new NextAction("caster form"), nullptr),
@@ -53,7 +53,7 @@ class FeralDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNode
/*C*/ nullptr);
}
static ActionNode* cure_poison_on_party(PlayerbotAI* botAI)
static ActionNode* cure_poison_on_party([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("cure poison on party",
/*P*/ NextAction::array(0, new NextAction("caster form"), nullptr),
@@ -61,7 +61,7 @@ class FeralDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNode
/*C*/ nullptr);
}
static ActionNode* abolish_poison(PlayerbotAI* botAI)
static ActionNode* abolish_poison([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("abolish poison",
/*P*/ NextAction::array(0, new NextAction("caster form"), nullptr),
@@ -69,7 +69,7 @@ class FeralDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNode
/*C*/ nullptr);
}
static ActionNode* abolish_poison_on_party(PlayerbotAI* botAI)
static ActionNode* abolish_poison_on_party([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("abolish poison on party",
/*P*/ NextAction::array(0, new NextAction("caster form"), nullptr),
@@ -77,7 +77,7 @@ class FeralDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNode
/*C*/ nullptr);
}
static ActionNode* prowl(PlayerbotAI* botAI)
static ActionNode* prowl([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode("prowl",
/*P*/ NextAction::array(0, new NextAction("cat form"), nullptr),

View File

@@ -18,7 +18,7 @@ class GenericDruidNonCombatStrategyActionNodeFactory : public NamedObjectFactory
}
private:
static ActionNode* thorns(PlayerbotAI* botAI)
static ActionNode* thorns([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode("thorns",
/*P*/ NextAction::array(0, new NextAction("caster form"), nullptr),
@@ -26,7 +26,7 @@ class GenericDruidNonCombatStrategyActionNodeFactory : public NamedObjectFactory
/*C*/ nullptr);
}
static ActionNode* thorns_on_party(PlayerbotAI* botAI)
static ActionNode* thorns_on_party([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode("thorns on party",
/*P*/ NextAction::array(0, new NextAction("caster form"), nullptr),
@@ -34,7 +34,7 @@ class GenericDruidNonCombatStrategyActionNodeFactory : public NamedObjectFactory
/*C*/ nullptr);
}
static ActionNode* mark_of_the_wild(PlayerbotAI* botAI)
static ActionNode* mark_of_the_wild([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("mark of the wild",
/*P*/ NextAction::array(0, new NextAction("caster form"), nullptr),
@@ -42,7 +42,7 @@ class GenericDruidNonCombatStrategyActionNodeFactory : public NamedObjectFactory
/*C*/ nullptr);
}
static ActionNode* mark_of_the_wild_on_party(PlayerbotAI* botAI)
static ActionNode* mark_of_the_wild_on_party([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("mark of the wild on party",
/*P*/ NextAction::array(0, new NextAction("caster form"), nullptr),
@@ -50,7 +50,7 @@ class GenericDruidNonCombatStrategyActionNodeFactory : public NamedObjectFactory
/*C*/ nullptr);
}
static ActionNode* innervate(PlayerbotAI* botAI)
static ActionNode* innervate([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("innervate",
/*P*/ nullptr,

View File

@@ -22,7 +22,7 @@ class GenericDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNo
}
private:
static ActionNode* melee(PlayerbotAI* botAI)
static ActionNode* melee([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("melee",
/*P*/ nullptr,
@@ -30,7 +30,7 @@ class GenericDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNo
/*C*/ nullptr);
}
static ActionNode* caster_form(PlayerbotAI* botAI)
static ActionNode* caster_form([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("caster form",
/*P*/ nullptr,
@@ -38,7 +38,7 @@ class GenericDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNo
/*C*/ nullptr);
}
static ActionNode* cure_poison(PlayerbotAI* botAI)
static ActionNode* cure_poison([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("cure poison",
/*P*/ nullptr,
@@ -46,7 +46,7 @@ class GenericDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNo
/*C*/ nullptr);
}
static ActionNode* cure_poison_on_party(PlayerbotAI* botAI)
static ActionNode* cure_poison_on_party([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("cure poison on party",
/*P*/ nullptr,
@@ -54,7 +54,7 @@ class GenericDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNo
/*C*/ nullptr);
}
static ActionNode* abolish_poison(PlayerbotAI* botAI)
static ActionNode* abolish_poison([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("abolish poison",
/*P*/ nullptr,
@@ -62,7 +62,7 @@ class GenericDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNo
/*C*/ nullptr);
}
static ActionNode* abolish_poison_on_party(PlayerbotAI* botAI)
static ActionNode* abolish_poison_on_party([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("abolish poison on party",
/*P*/ nullptr,
@@ -70,7 +70,7 @@ class GenericDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNo
/*C*/ nullptr);
}
static ActionNode* rebirth(PlayerbotAI* botAI)
static ActionNode* rebirth([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("rebirth",
/*P*/ nullptr,
@@ -78,7 +78,7 @@ class GenericDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNo
/*C*/ nullptr);
}
static ActionNode* entangling_roots_on_cc(PlayerbotAI* botAI)
static ActionNode* entangling_roots_on_cc([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("entangling roots on cc",
/*P*/ NextAction::array(0, new NextAction("caster form"), nullptr),
@@ -86,7 +86,7 @@ class GenericDruidStrategyActionNodeFactory : public NamedObjectFactory<ActionNo
/*C*/ nullptr);
}
static ActionNode* innervate(PlayerbotAI* botAI)
static ActionNode* innervate([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("innervate",
/*P*/ nullptr,