From 0242bf104f9555fe56fda4320c318ee3362361b6 Mon Sep 17 00:00:00 2001 From: Kiyoshi Kyokai Date: Tue, 22 Feb 2005 01:36:28 +0000 Subject: fixed the newskill fiile so it compiles. I don't know how it got corrupted. --- src/gui/newskill.cpp | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'src/gui/newskill.cpp') diff --git a/src/gui/newskill.cpp b/src/gui/newskill.cpp index c3c16f2b..5a2321b4 100644 --- a/src/gui/newskill.cpp +++ b/src/gui/newskill.cpp @@ -18,7 +18,11 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * +<<<<<<< newskill.cpp * $Id$ +======= + * $Id$ +>>>>>>> 1.2 */ /* This file implements the new skill dialog for use under the latest @@ -34,9 +38,14 @@ char *skill_name[] = { // 0-99 // weapon skills 0-9 - "Short Blades", "Long Blades", "Hammers", "", "", "", "", "", "", "", - "", "", "", "", "", "", "", "", "", "", - "", "", "", "", "", "", "", "", "", "", + "Short Blades", "Long Blades", "Hammers", "Archery", "Whip", + "Exotic", "Throwing ", "Piercing", "Hand to Hand", "", + // magic skills 10-19 + "Djin (Fire)", "Niksa (Water)", "Earth (Kerub)", "Air (Ariel)", + "Paradin (Light)", "Tharsis (Dark)", "Crono (Time)", "Astra (Space)", + "Gen (Mana)", "", + // craft skills 20-29 + "Weaponsmithing", "Armorcrafting", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", @@ -67,6 +76,10 @@ NewSkillDialog::NewSkillDialog(): // setting up the container skillList = new gcn::Container(); + skillList->setDimension(gcn::Rectangle(0,0,230,600)); + for(int b=0;badd(&skillLabel[b],20,6 + 12*b);} + skillList->setDimension(gcn::Rectangle(0, 0, 230, 600)); for (int b = 0; b < N_SKILL; b++) { skillList->add(&skillLabel[b], 20, 20 * b); @@ -89,7 +102,7 @@ NewSkillDialog::NewSkillDialog(): NewSkillDialog::~NewSkillDialog() { delete skillScrollArea; - delete[] skillLabel; + delete []skillLabel; delete closeButton; } -- cgit v1.2.3-60-g2f50