diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-04-29 08:46:00 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-04-29 08:46:00 +0000 |
commit | 4dbb3e75160e465dbcdb6de282d2e4ad8f89bdc0 (patch) | |
tree | e01b77e4d91f24ac9aa659c0fe87591ae079c29f /src | |
parent | 38d84edf098551793b78b845156e7de240d0d8b0 (diff) | |
download | mana-4dbb3e75160e465dbcdb6de282d2e4ad8f89bdc0.tar.gz mana-4dbb3e75160e465dbcdb6de282d2e4ad8f89bdc0.tar.bz2 mana-4dbb3e75160e465dbcdb6de282d2e4ad8f89bdc0.tar.xz mana-4dbb3e75160e465dbcdb6de282d2e4ad8f89bdc0.zip |
Name structs with capital, just like classes.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/changeemaildialog.h | 4 | ||||
-rw-r--r-- | src/localplayer.cpp | 4 | ||||
-rw-r--r-- | src/localplayer.h | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/changeemaildialog.h b/src/gui/changeemaildialog.h index 5aa9bca6..862c9d10 100644 --- a/src/gui/changeemaildialog.h +++ b/src/gui/changeemaildialog.h @@ -42,14 +42,14 @@ class WrongDataNoticeListener; class ChangeEmailDialog : public Window, public gcn::ActionListener { public: /** - * Constructor + * Constructor. * * @see Window::Window */ ChangeEmailDialog(Window *parent, LoginData *loginData); /** - * Destructor + * Destructor. */ ~ChangeEmailDialog(); diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 5bf6ec0e..7d734a2c 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -421,9 +421,9 @@ void LocalPlayer::lowerAttribute(size_t attr) Net::GameServer::Player::lowerAttribute(attr + CHAR_ATTR_BEGIN); } -const struct LocalPlayer::skillInfo& LocalPlayer::getSkillInfo(int skill) +const struct LocalPlayer::SkillInfo& LocalPlayer::getSkillInfo(int skill) { - static const skillInfo skills[CHAR_SKILL_NB + 1] = + static const SkillInfo skills[CHAR_SKILL_NB + 1] = { { _("Unarmed"), "graphics/gui/unarmed.png" }, // CHAR_SKILL_WEAPON_NONE { _("Knife"), "graphics/gui/knife.png" }, // CHAR_SKILL_WEAPON_KNIFE diff --git a/src/localplayer.h b/src/localplayer.h index be8c020c..64dec1b2 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -337,12 +337,12 @@ class LocalPlayer : public Player void setExperience(int skill, int current, int next); - struct skillInfo { + struct SkillInfo { std::string name; std::string icon; }; - static const struct skillInfo& getSkillInfo(int skill); + static const SkillInfo& getSkillInfo(int skill); std::pair<int, int> getExperience(int skill); |