mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-18 06:00:10 -04:00
Remove LOTS of compile warnings
--HG-- branch : trunk
This commit is contained in:
@@ -58,7 +58,7 @@ enum eCatFigurine
|
||||
SPELL_SUMMON_GHOST_SABER = 5968,
|
||||
};
|
||||
|
||||
bool GOHello_go_cat_figurine(Player *pPlayer, GameObject *pGO)
|
||||
bool GOHello_go_cat_figurine(Player *pPlayer, GameObject * /*pGO*/)
|
||||
{
|
||||
pPlayer->CastSpell(pPlayer,SPELL_SUMMON_GHOST_SABER,true);
|
||||
return false;
|
||||
@@ -114,7 +114,7 @@ bool GOHello_go_western_crystal_pylon(Player *pPlayer, GameObject *pGO)
|
||||
## go_barov_journal
|
||||
######*/
|
||||
|
||||
bool GOHello_go_barov_journal(Player *pPlayer, GameObject *pGO)
|
||||
bool GOHello_go_barov_journal(Player *pPlayer, GameObject * /*pGO*/)
|
||||
{
|
||||
if (pPlayer->HasSkill(SKILL_TAILORING) && pPlayer->GetBaseSkillValue(SKILL_TAILORING) >= 280 && !pPlayer->HasSpell(26086))
|
||||
{
|
||||
@@ -127,7 +127,7 @@ bool GOHello_go_barov_journal(Player *pPlayer, GameObject *pGO)
|
||||
## go_field_repair_bot_74A
|
||||
######*/
|
||||
|
||||
bool GOHello_go_field_repair_bot_74A(Player *pPlayer, GameObject *pGO)
|
||||
bool GOHello_go_field_repair_bot_74A(Player *pPlayer, GameObject * /*pGO*/)
|
||||
{
|
||||
if (pPlayer->HasSkill(SKILL_ENGINERING) && pPlayer->GetBaseSkillValue(SKILL_ENGINERING) >= 300 && !pPlayer->HasSpell(22704))
|
||||
{
|
||||
@@ -158,7 +158,7 @@ bool GOHello_go_gilded_brazier(Player *pPlayer, GameObject *pGO)
|
||||
## go_orb_of_command
|
||||
######*/
|
||||
|
||||
bool GOHello_go_orb_of_command(Player *pPlayer, GameObject *pGO)
|
||||
bool GOHello_go_orb_of_command(Player *pPlayer, GameObject * /*pGO*/)
|
||||
{
|
||||
if (pPlayer->GetQuestRewardStatus(7761))
|
||||
pPlayer->CastSpell(pPlayer,23460,true);
|
||||
@@ -170,7 +170,7 @@ bool GOHello_go_orb_of_command(Player *pPlayer, GameObject *pGO)
|
||||
## go_tablet_of_madness
|
||||
######*/
|
||||
|
||||
bool GOHello_go_tablet_of_madness(Player *pPlayer, GameObject *pGO)
|
||||
bool GOHello_go_tablet_of_madness(Player *pPlayer, GameObject * /*pGO*/)
|
||||
{
|
||||
if (pPlayer->HasSkill(SKILL_ALCHEMY) && pPlayer->GetSkillValue(SKILL_ALCHEMY) >= 300 && !pPlayer->HasSpell(24266))
|
||||
{
|
||||
@@ -199,7 +199,7 @@ bool GOHello_go_tablet_of_the_seven(Player *pPlayer, GameObject *pGO)
|
||||
## go_jump_a_tron
|
||||
######*/
|
||||
|
||||
bool GOHello_go_jump_a_tron(Player *pPlayer, GameObject *pGO)
|
||||
bool GOHello_go_jump_a_tron(Player *pPlayer, GameObject * /*pGO*/)
|
||||
{
|
||||
if (pPlayer->GetQuestStatus(10111) == QUEST_STATUS_INCOMPLETE)
|
||||
pPlayer->CastSpell(pPlayer,33382,true);
|
||||
@@ -291,7 +291,7 @@ enum eResoniteCask
|
||||
NPC_GOGGEROC = 11920
|
||||
};
|
||||
|
||||
bool GOHello_go_resonite_cask(Player *pPlayer, GameObject *pGO)
|
||||
bool GOHello_go_resonite_cask(Player * /*pPlayer*/, GameObject *pGO)
|
||||
{
|
||||
if (pGO->GetGoType() == GAMEOBJECT_TYPE_GOOBER)
|
||||
pGO->SummonCreature(NPC_GOGGEROC, 0.0f, 0.0f, 0.0f, 0.0f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 300000);
|
||||
@@ -365,7 +365,7 @@ enum eSouthfury
|
||||
|
||||
};
|
||||
|
||||
bool GOHello_go_southfury_moonstone(Player *pPlayer, GameObject *pGO)
|
||||
bool GOHello_go_southfury_moonstone(Player *pPlayer, GameObject * /*pGO*/)
|
||||
{
|
||||
//implicitTarget=48 not implemented as of writing this code, and manual summon may be just ok for our purpose
|
||||
//pPlayer->CastSpell(pPlayer,SPELL_SUMMON_RIZZLE,false);
|
||||
@@ -388,7 +388,7 @@ enum eDalaranCrystal
|
||||
|
||||
#define GO_TELE_TO_DALARAN_CRYSTAL_FAILED "This teleport crystal cannot be used until the teleport crystal in Dalaran has been used at least once."
|
||||
|
||||
bool GOHello_go_tele_to_dalaran_crystal(Player *pPlayer, GameObject *pGO)
|
||||
bool GOHello_go_tele_to_dalaran_crystal(Player *pPlayer, GameObject * /*pGO*/)
|
||||
{
|
||||
if (pPlayer->GetQuestRewardStatus(QUEST_TELE_CRYSTAL_FLAG))
|
||||
{
|
||||
@@ -404,7 +404,7 @@ bool GOHello_go_tele_to_dalaran_crystal(Player *pPlayer, GameObject *pGO)
|
||||
## go_tele_to_violet_stand
|
||||
######*/
|
||||
|
||||
bool GOHello_go_tele_to_violet_stand(Player *pPlayer, GameObject *pGO)
|
||||
bool GOHello_go_tele_to_violet_stand(Player *pPlayer, GameObject * /*pGO*/)
|
||||
{
|
||||
if (pPlayer->GetQuestRewardStatus(QUEST_LEARN_LEAVE_RETURN) || pPlayer->GetQuestStatus(QUEST_LEARN_LEAVE_RETURN) == QUEST_STATUS_INCOMPLETE)
|
||||
return false;
|
||||
@@ -441,7 +441,7 @@ bool GOHello_go_fel_crystalforge(Player *pPlayer, GameObject *pGO)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool GOSelect_go_fel_crystalforge(Player *pPlayer, GameObject *pGO, uint32 uiSender, uint32 uiAction)
|
||||
bool GOSelect_go_fel_crystalforge(Player *pPlayer, GameObject *pGO, uint32 /*uiSender*/, uint32 uiAction)
|
||||
{
|
||||
switch(uiAction)
|
||||
{
|
||||
@@ -474,7 +474,7 @@ enum eBashirCrystalforge
|
||||
SPELL_CREATE_5_FLASK_OF_SORCERER = 40970,
|
||||
};
|
||||
|
||||
bool GOHello_go_bashir_crystalforge(Player *pPlayer, GameObject *pGO)
|
||||
bool GOHello_go_bashir_crystalforge(Player *pPlayer, GameObject * /*pGO*/)
|
||||
{
|
||||
pPlayer->CastSpell(pPlayer,SPELL_CREATE_1_FLASK_OF_SORCERER,false);
|
||||
return false;
|
||||
@@ -693,7 +693,7 @@ enum eInconspicuousLandmark
|
||||
ITEM_CUERGOS_KEY = 9275,
|
||||
};
|
||||
|
||||
bool GOHello_go_inconspicuous_landmark(Player *pPlayer, GameObject* pGO)
|
||||
bool GOHello_go_inconspicuous_landmark(Player *pPlayer, GameObject* /*pGO*/)
|
||||
{
|
||||
if (pPlayer->HasItemCount(ITEM_CUERGOS_KEY,1))
|
||||
return false;
|
||||
@@ -859,7 +859,7 @@ bool GOHello_go_amberpine_outhouse(Player *pPlayer, GameObject *pGO)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool GOSelect_go_amberpine_outhouse(Player *pPlayer, GameObject *pGO, uint32 uiSender, uint32 uiAction)
|
||||
bool GOSelect_go_amberpine_outhouse(Player *pPlayer, GameObject *pGO, uint32 /*uiSender*/, uint32 uiAction)
|
||||
{
|
||||
if (uiAction == GOSSIP_ACTION_INFO_DEF +1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user