summaryrefslogtreecommitdiff
path: root/src/net/tmwa/guildhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-07 22:52:35 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-07 22:52:35 +0300
commit5e14ab971129eb95ca02e373fc21adb46c0eaca1 (patch)
tree5316f688c7f617776b7e70c9f64932fe7596cadb /src/net/tmwa/guildhandler.cpp
parented950471f7ae02c4618fa995c305832f12dc9cd7 (diff)
downloadplus-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.gz
plus-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.bz2
plus-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.xz
plus-5e14ab971129eb95ca02e373fc21adb46c0eaca1.zip
Remove undescore from variables and defines.
Diffstat (limited to 'src/net/tmwa/guildhandler.cpp')
-rw-r--r--src/net/tmwa/guildhandler.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/net/tmwa/guildhandler.cpp b/src/net/tmwa/guildhandler.cpp
index b70059baa..b6c230643 100644
--- a/src/net/tmwa/guildhandler.cpp
+++ b/src/net/tmwa/guildhandler.cpp
@@ -638,8 +638,8 @@ void GuildHandler::create(const std::string &name)
msg.writeString(name, 24);
}
-void GuildHandler::invite(int guildId _UNUSED_,
- const std::string &name _UNUSED_)
+void GuildHandler::invite(int guildId A_UNUSED,
+ const std::string &name A_UNUSED)
{
if (!actorSpriteManager)
return;
@@ -654,7 +654,7 @@ void GuildHandler::invite(int guildId _UNUSED_,
}
}
-void GuildHandler::invite(int guildId _UNUSED_, Being *being)
+void GuildHandler::invite(int guildId A_UNUSED, Being *being)
{
if (!being)
return;
@@ -698,7 +698,7 @@ void GuildHandler::kick(GuildMember *member, std::string reason)
msg.writeString(reason, 40); // Message
}
-void GuildHandler::chat(int guildId _UNUSED_, const std::string &text)
+void GuildHandler::chat(int guildId A_UNUSED, const std::string &text)
{
if (!player_node)
return;
@@ -709,7 +709,7 @@ void GuildHandler::chat(int guildId _UNUSED_, const std::string &text)
msg.writeString(str, static_cast<int>(str.length()));
}
-void GuildHandler::memberList(int guildId _UNUSED_)
+void GuildHandler::memberList(int guildId A_UNUSED)
{
// TODO four types of info requests:
// 0 = basic info + alliance info
@@ -722,7 +722,7 @@ void GuildHandler::memberList(int guildId _UNUSED_)
msg.writeInt32(1); // Request member list
}
-void GuildHandler::info(int guildId _UNUSED_)
+void GuildHandler::info(int guildId A_UNUSED)
{
// TODO four types of info requests:
// 0 = basic info + alliance info
@@ -748,20 +748,20 @@ void GuildHandler::changeMemberPostion(GuildMember *member, int level)
msg.writeInt32(level); // pos
}
-void GuildHandler::requestAlliance(int guildId _UNUSED_,
- int otherGuildId _UNUSED_)
+void GuildHandler::requestAlliance(int guildId A_UNUSED,
+ int otherGuildId A_UNUSED)
{
// TODO
}
-void GuildHandler::requestAllianceResponse(int guildId _UNUSED_,
- int otherGuildId _UNUSED_,
- bool response _UNUSED_)
+void GuildHandler::requestAllianceResponse(int guildId A_UNUSED,
+ int otherGuildId A_UNUSED,
+ bool response A_UNUSED)
{
// TODO
}
-void GuildHandler::endAlliance(int guildId _UNUSED_, int otherGuildId _UNUSED_)
+void GuildHandler::endAlliance(int guildId A_UNUSED, int otherGuildId A_UNUSED)
{
// TODO
}