summaryrefslogtreecommitdiff
path: root/src/gui/newskill.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-19 11:43:41 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-19 11:43:41 +0000
commitd42e9ea834a07c6f60dd5248db6520d1ff423ac4 (patch)
tree7de19d851aecae83bc8467d70c9a718ebff98205 /src/gui/newskill.cpp
parent32ca8ca9551070ba1086cd5b6c973620052061ed (diff)
downloadmana-d42e9ea834a07c6f60dd5248db6520d1ff423ac4.tar.gz
mana-d42e9ea834a07c6f60dd5248db6520d1ff423ac4.tar.bz2
mana-d42e9ea834a07c6f60dd5248db6520d1ff423ac4.tar.xz
mana-d42e9ea834a07c6f60dd5248db6520d1ff423ac4.zip
Made item amount window a modal dialog and removed support for old map format.
Diffstat (limited to 'src/gui/newskill.cpp')
-rw-r--r--src/gui/newskill.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/newskill.cpp b/src/gui/newskill.cpp
index b826d753..5849e020 100644
--- a/src/gui/newskill.cpp
+++ b/src/gui/newskill.cpp
@@ -70,7 +70,7 @@ char *skill_name[] = {
NewSkillDialog::NewSkillDialog():
Window("Skills")
{
- startPoint = 0;
+ startPoint = 0;
for ( int i = 0; i < N_SKILL_CAT_SIZE; i++)
{
skillLabel[i] = new gcn::Label("Empty ");
@@ -88,7 +88,7 @@ NewSkillDialog::NewSkillDialog():
playerSkill[i].exp = 0;
}
resetNSD();
-
+
// create controls
catButton[0] = new Button("Weapons");
catButton[1] = new Button("Magic");
@@ -102,7 +102,7 @@ NewSkillDialog::NewSkillDialog():
closeButton = new Button("Close");
// captions
-
+
// events
catButton[0]->setEventId("g1");
catButton[1]->setEventId("g2");
@@ -169,7 +169,7 @@ NewSkillDialog::NewSkillDialog():
NewSkillDialog::~NewSkillDialog()
{
for (int i = 0; i < N_SKILL_CAT_SIZE; i++)
- {
+ {
delete skillbar[i];
delete skillLabel[i];
delete skillLevel[i];