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

@@ -14,7 +14,7 @@ class DpsWarlockStrategyActionNodeFactory : public NamedObjectFactory<ActionNode
}
private:
static ActionNode* shadow_bolt(PlayerbotAI* botAI)
static ActionNode* shadow_bolt([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("shadow bolt",
/*P*/ nullptr,

View File

@@ -18,7 +18,7 @@ class GenericWarlockNonCombatStrategyActionNodeFactory : public NamedObjectFacto
}
private:
static ActionNode* fel_armor(PlayerbotAI* botAI)
static ActionNode* fel_armor([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("fel armor",
/*P*/ nullptr,
@@ -26,7 +26,7 @@ class GenericWarlockNonCombatStrategyActionNodeFactory : public NamedObjectFacto
/*C*/ nullptr);
}
static ActionNode* demon_armor(PlayerbotAI* botAI)
static ActionNode* demon_armor([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("demon armor",
/*P*/ nullptr,
@@ -34,7 +34,7 @@ class GenericWarlockNonCombatStrategyActionNodeFactory : public NamedObjectFacto
/*C*/ nullptr);
}
static ActionNode* summon_voidwalker(PlayerbotAI* botAI)
static ActionNode* summon_voidwalker([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode("summon voidwalker",
/*P*/ nullptr,
@@ -42,7 +42,7 @@ class GenericWarlockNonCombatStrategyActionNodeFactory : public NamedObjectFacto
/*C*/ nullptr);
}
static ActionNode* summon_felguard(PlayerbotAI* botAI)
static ActionNode* summon_felguard([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode("summon felguard",
/*P*/ nullptr,
@@ -50,7 +50,7 @@ class GenericWarlockNonCombatStrategyActionNodeFactory : public NamedObjectFacto
/*C*/ nullptr);
}
static ActionNode* summon_succubus(PlayerbotAI* botAI)
static ActionNode* summon_succubus(PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode("summon succubus",
/*P*/ nullptr,

View File

@@ -15,14 +15,14 @@ class GenericWarlockStrategyActionNodeFactory : public NamedObjectFactory<Action
}
private:
//static ActionNode* summon_voidwalker(PlayerbotAI* botAI)
//static ActionNode* summon_voidwalker([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
//{
//return new ActionNode ("summon voidwalker",
/*P*/ //nullptr,
/*A*/ //NextAction::array(0, new NextAction("drain soul"), nullptr),
/*C*/ //nullptr);
//}
static ActionNode* banish(PlayerbotAI* botAI)
static ActionNode* banish([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("banish",
/*P*/ nullptr,

View File

@@ -16,7 +16,7 @@ class GenericWarlockStrategyActionNodeFactory : public NamedObjectFactory<Action
}
private:
static ActionNode* summon_voidwalker(PlayerbotAI* botAI)
static ActionNode* summon_voidwalker([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("summon voidwalker",
/*P*/ nullptr,
@@ -24,7 +24,7 @@ class GenericWarlockStrategyActionNodeFactory : public NamedObjectFactory<Action
/*C*/ nullptr);
}
static ActionNode* summon_felguard(PlayerbotAI* botAI)
static ActionNode* summon_felguard([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode ("summon felguard",
/*P*/ nullptr,
@@ -32,7 +32,7 @@ class GenericWarlockStrategyActionNodeFactory : public NamedObjectFactory<Action
/*C*/ nullptr);
}
static ActionNode* summon_succubus(PlayerbotAI* botAI)
static ActionNode* summon_succubus([[maybe_unused]] PlayerbotAI* botAI) // unused param - whipowill
{
return new ActionNode("summon succubus",
/*P*/ nullptr,