diff options
| author | Spp <none@none> | 2010-04-19 09:26:37 +0200 |
|---|---|---|
| committer | Spp <none@none> | 2010-04-19 09:26:37 +0200 |
| commit | 74dd02d024007c3a09219177fabfe9010b1bce63 (patch) | |
| tree | 041286f1a0a20c9714199b03c60808d3b7291e48 /src/scripts/custom | |
| parent | fdd8d2f3cc7108043f6bad036b994770f904866f (diff) | |
Remove LOTS of compile warnings
--HG--
branch : trunk
Diffstat (limited to 'src/scripts/custom')
| -rw-r--r-- | src/scripts/custom/npc_acherus_taxi.cpp | 2 | ||||
| -rw-r--r-- | src/scripts/custom/npc_wyrmresttempel_taxi.cpp | 6 | ||||
| -rw-r--r-- | src/scripts/custom/on_events.cpp | 24 |
3 files changed, 16 insertions, 16 deletions
diff --git a/src/scripts/custom/npc_acherus_taxi.cpp b/src/scripts/custom/npc_acherus_taxi.cpp index 6af6295be88..6e00e365e8e 100644 --- a/src/scripts/custom/npc_acherus_taxi.cpp +++ b/src/scripts/custom/npc_acherus_taxi.cpp @@ -11,7 +11,7 @@ bool GossipHello_npc_acherus_taxi(Player *pPlayer, Creature *pCreature) return true; } -bool GossipSelect_npc_acherus_taxi(Player *pPlayer, Creature *pCreature, uint32 uiSender, uint32 uiAction) +bool GossipSelect_npc_acherus_taxi(Player *pPlayer, Creature * /*pCreature*/, uint32 /*uiSender*/, uint32 uiAction) { if (uiAction == GOSSIP_ACTION_INFO_DEF + 1) { diff --git a/src/scripts/custom/npc_wyrmresttempel_taxi.cpp b/src/scripts/custom/npc_wyrmresttempel_taxi.cpp index 62530b3be64..d4c2cb5ab74 100644 --- a/src/scripts/custom/npc_wyrmresttempel_taxi.cpp +++ b/src/scripts/custom/npc_wyrmresttempel_taxi.cpp @@ -19,7 +19,7 @@ pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_DOWN, GOSSIP_SENDER_MAIN, GOSS return true; } -bool GossipSelect_npc_wyrmresttempel_middle_taxi(Player* pPlayer, Creature* pCreature, uint32 uiSender, uint32 uiAction) +bool GossipSelect_npc_wyrmresttempel_middle_taxi(Player* pPlayer, Creature* /*pCreature*/, uint32 /*uiSender*/, uint32 uiAction) { if (uiAction == GOSSIP_ACTION_INFO_DEF + 1) { @@ -45,7 +45,7 @@ pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_MIDDLE, GOSSIP_SENDER_MAIN, GO return true; } -bool GossipSelect_npc_wyrmresttempel_bottom_taxi(Player* pPlayer, Creature* pCreature, uint32 uiSender, uint32 uiAction) +bool GossipSelect_npc_wyrmresttempel_bottom_taxi(Player* pPlayer, Creature* /*pCreature*/, uint32 /*uiSender*/, uint32 uiAction) { if (uiAction == GOSSIP_ACTION_INFO_DEF + 4) { @@ -71,7 +71,7 @@ pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_ONEDOWN, GOSSIP_SENDER_MAIN, G return true; } -bool GossipSelect_npc_wyrmresttempel_top_taxi(Player* pPlayer, Creature* pCreature, uint32 uiSender, uint32 uiAction) +bool GossipSelect_npc_wyrmresttempel_top_taxi(Player* pPlayer, Creature* /*pCreature*/, uint32 /*uiSender*/, uint32 uiAction) { if (uiAction == GOSSIP_ACTION_INFO_DEF + 5) { diff --git a/src/scripts/custom/on_events.cpp b/src/scripts/custom/on_events.cpp index eca1c266bf6..94e54a07fba 100644 --- a/src/scripts/custom/on_events.cpp +++ b/src/scripts/custom/on_events.cpp @@ -2,67 +2,67 @@ #include <cstring> //This function is called when the player logs in (every login) -void OnLogin(Player *pPlayer) +void OnLogin(Player * /*pPlayer*/) { } //This function is called when the player logs out -void OnLogout(Player *pPlayer) +void OnLogout(Player * /*pPlayer*/) { } //This function is called when the player kills another player -void OnPVPKill(Player *killer, Player *killed) +void OnPVPKill(Player * /*killer*/, Player * /*killed*/) { } //This function is called when a players AreaID changes -void OnAreaChange(Player *pPlayer, AreaTableEntry const *pArea) +void OnAreaChange(Player * /*pPlayer*/, AreaTableEntry const * /*pArea*/) { } //This is called when a player kills a creature (non pvp) -void OnCreatureKill(Player *pPlayer, Creature *pCreature) +void OnCreatureKill(Player * /*pPlayer*/, Creature * /*pCreature*/) { } //This function is called when a player has a money exchange -int32 OnGetMoney(Player *pPlayer, int32 amount) +int32 OnGetMoney(Player * /*pPlayer*/, int32 amount) { return amount; } //This function is called whenever a player gets XP -uint32 OnGetXP(Player *pPlayer, uint32 amount) +uint32 OnGetXP(Player * /*pPlayer*/, uint32 amount) { return amount; } //This function is called when a player clicks a GO Object -bool OnGoClick(Player *pPlayer, GameObject *pGameObject) +bool OnGoClick(Player * /*pPlayer*/, GameObject * /*pGameObject*/) { return true; } //This function is called when a player clicks and item -bool OnItemClick(Player *pPlayer, Item *pItem) +bool OnItemClick(Player * /*pPlayer*/, Item * /*pItem*/) { return true; } //This function is called when a player opens an item (like a clam) -bool OnItemOpen(Player *pPlayer, Item *pItem) +bool OnItemOpen(Player * /*pPlayer*/, Item * /*pItem*/) { return true; } //This function is called when a player sends a chat message -bool OnPlayerChat(Player *pPlayer, const char *text) +bool OnPlayerChat(Player * /*pPlayer*/, const char * /*text*/) { return true; } @@ -79,7 +79,7 @@ void OnServerShutdown() } //this function is called when a player casts a spell -bool OnSpellCast(Unit *pUnitTarget, Item *pItemTarget, GameObject *pGoTarget, uint32 i, SpellEntry const *spell) +bool OnSpellCast(Unit * /*pUnitTarget*/, Item * /*pItemTarget*/, GameObject * /*pGoTarget*/, uint32 /*i*/, SpellEntry const * /*spell*/) { return true; } |
