--- a/QTfrontend/hedgewars.qrc Tue Feb 24 19:39:49 2009 +0000
+++ b/QTfrontend/hedgewars.qrc Tue Feb 24 21:47:17 2009 +0000
@@ -44,5 +44,6 @@
<file>res/spin_down.png</file>
<file>res/PlaySound.png</file>
<file>res/hh_small.png</file>
+ <file>res/dice.png</file>
</qresource>
</RCC>
--- a/QTfrontend/hwform.cpp Tue Feb 24 19:39:49 2009 +0000
+++ b/QTfrontend/hwform.cpp Tue Feb 24 21:47:17 2009 +0000
@@ -77,6 +77,9 @@
connect(ui.pageEditTeam->BtnTeamSave, SIGNAL(clicked()), this, SLOT(TeamSave()));
connect(ui.pageEditTeam->BtnTeamDiscard, SIGNAL(clicked()), this, SLOT(TeamDiscard()));
+ connect(ui.pageEditTeam->signalMapper, SIGNAL(mapped(const int &)), this, SLOT(RandomName(const int &)));
+ connect(ui.pageEditTeam->randTeamButton, SIGNAL(clicked()), this, SLOT(RandomNames()));
+
connect(ui.pageMultiplayer->BtnBack, SIGNAL(clicked()), this, SLOT(GoBack()));
connect(ui.pageMultiplayer->BtnStartMPGame, SIGNAL(clicked()), this, SLOT(StartMPGame()));
connect(ui.pageMultiplayer->teamsSelect, SIGNAL(setEnabledGameStart(bool)),
@@ -389,6 +392,20 @@
GoToPage(ID_PAGE_SETUP_TEAM);
}
+void HWForm::RandomNames()
+{
+ editedTeam->GetFromPage(this);
+ editedTeam->TeamRandomNames(FALSE);
+ editedTeam->SetToPage(this);
+}
+
+void HWForm::RandomName(const int &i)
+{
+ editedTeam->GetFromPage(this);
+ editedTeam->TeamRandomName(i);
+ editedTeam->SetToPage(this);
+}
+
void HWForm::TeamSave()
{
editedTeam->GetFromPage(this);
--- a/QTfrontend/hwform.h Tue Feb 24 19:39:49 2009 +0000
+++ b/QTfrontend/hwform.h Tue Feb 24 21:47:17 2009 +0000
@@ -63,6 +63,8 @@
void IntermediateSetup();
void NewTeam();
void EditTeam();
+ void RandomNames();
+ void RandomName(const int &i);
void TeamSave();
void TeamDiscard();
void SimpleGame();
--- a/QTfrontend/pages.cpp Tue Feb 24 19:39:49 2009 +0000
+++ b/QTfrontend/pages.cpp Tue Feb 24 21:47:17 2009 +0000
@@ -122,23 +122,34 @@
GBoxHedgehogs->setTitle(QGroupBox::tr("Team Members"));
GBoxHedgehogs->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
QGridLayout * GBHLayout = new QGridLayout(GBoxHedgehogs);
+
+ signalMapper = new QSignalMapper(this);
HatsModel * hatsModel = new HatsModel(GBoxHedgehogs);
for(int i = 0; i < 8; i++)
{
- HHNameEdit[i] = new QLineEdit(GBoxHedgehogs);
- HHNameEdit[i]->setMaxLength(64);
- HHNameEdit[i]->setMinimumWidth(120);
- GBHLayout->addWidget(HHNameEdit[i], i, 0);
-
HHHats[i] = new QComboBox(GBoxHedgehogs);
HHHats[i]->setModel(hatsModel);
HHHats[i]->setIconSize(QSize(32, 37));
//HHHats[i]->setSizeAdjustPolicy(QComboBox::AdjustToContents);
//HHHats[i]->setModelColumn(1);
//HHHats[i]->setMinimumWidth(132);
- GBHLayout->addWidget(HHHats[i], i, 1);
+ GBHLayout->addWidget(HHHats[i], i, 0);
+
+ HHNameEdit[i] = new QLineEdit(GBoxHedgehogs);
+ HHNameEdit[i]->setMaxLength(64);
+ HHNameEdit[i]->setMinimumWidth(120);
+ GBHLayout->addWidget(HHNameEdit[i], i, 1);
+
+ randButton[i] = addButton(":/res/dice.png", GBHLayout, i, 3, true);
+
+ connect(randButton[i], SIGNAL(clicked()), signalMapper, SLOT(map()));
+ signalMapper->setMapping(randButton[i], i);
+
}
+
+ randTeamButton = addButton("Random Team", GBHLayout, 9, false);
+
vbox1->addWidget(GBoxHedgehogs);
--- a/QTfrontend/pages.h Tue Feb 24 19:39:49 2009 +0000
+++ b/QTfrontend/pages.h Tue Feb 24 21:47:17 2009 +0000
@@ -23,6 +23,7 @@
#include <QPushButton>
#include <QFont>
#include <QGridLayout>
+#include <QSignalMapper>
#include "binds.h"
#include "mapContainer.h"
@@ -141,6 +142,7 @@
public:
PageEditTeam(QWidget* parent = 0);
+ QSignalMapper* signalMapper;
QGroupBox *GBoxHedgehogs;
QGroupBox *GBoxTeam;
QGroupBox *GBoxFort;
@@ -161,7 +163,9 @@
QLineEdit * TeamNameEdit;
QLineEdit * HHNameEdit[8];
QComboBox * HHHats[8];
+ QPushButton * randButton[8];
QComboBox * CBBind[BINDS_NUMBER];
+ QPushButton * randTeamButton;
public slots:
void CBFort_activated(const QString & gravename);
Binary file QTfrontend/res/dice.png has changed
--- a/QTfrontend/team.cpp Tue Feb 24 19:39:49 2009 +0000
+++ b/QTfrontend/team.cpp Tue Feb 24 21:47:17 2009 +0000
@@ -33,6 +33,8 @@
numHedgehogs(4),
m_isNetTeam(false)
{
+ TypesLoad();
+
TeamName = teamname;
OldTeamName = TeamName;
for (int i = 0; i < 8; i++)
@@ -54,6 +56,8 @@
numHedgehogs(4),
m_isNetTeam(true)
{
+ TypesLoad();
+
// net teams are configured from QStringList
if(strLst.size() != 22) throw HWTeamConstructException();
TeamName = strLst[0];
@@ -74,7 +78,11 @@
numHedgehogs(4),
m_isNetTeam(false)
{
+ TypesLoad();
+
num %= PREDEFTEAMS_COUNT;
+/*
+ //This is now generated by TeamRandomNames(TRUE);
TeamName = QApplication::translate("teams", pteams[num].TeamName);
HHName[0] = QApplication::translate("teams", pteams[num].hh0name);
HHName[1] = QApplication::translate("teams", pteams[num].hh1name);
@@ -92,7 +100,15 @@
HHHat[5] = pteams[num].hh5hat;
HHHat[6] = pteams[num].hh6hat;
HHHat[7] = pteams[num].hh7hat;
-
+*/
+
+ TeamName = QString("Team");
+ for (int i = 0; i < 8; i++)
+ {
+ HHName[i].sprintf("hedgehog %d", i);
+ HHHat[i] = "NoHat";
+ }
+
Grave = pteams[num].Grave;
Fort = pteams[num].Fort;
for(int i = 0; i < BINDS_NUMBER; i++)
@@ -100,6 +116,8 @@
binds[i].action = cbinds[i].action;
binds[i].strbind = cbinds[i].strbind;
}
+
+ TeamRandomNames(TRUE);
}
@@ -276,6 +294,62 @@
return sl;
}
+void HWTeam::RandomNameByHat(const int &i)
+{
+
+
+
+ QStringList Dictionaries;
+ HatCfgLoad(HHHat[i],Dictionaries);
+
+
+/*
+
+"Dismissed",
+"Dragon",
+"Mindblower",
+*/
+
+ QStringList Dictionary;
+ DictLoad(Dictionaries[rand()%(Dictionaries.size())],Dictionary);
+
+
+ HHName[i] = Dictionary[rand()%(Dictionary.size())];
+
+}
+
+void HWTeam::TeamRandomName(const int &i)
+{
+
+ RandomNameByHat(i);
+
+
+}
+
+void HWTeam::TeamRandomNames(bool changeteamname)
+{
+
+ if ((TypesHatnames.size() > 0) && TypesAvliable){
+
+ int kind = (rand()%(TypesHatnames.size()));
+
+ if (changeteamname){
+ if (TypesTeamnames[kind].size() > 0){
+ TeamName = TypesTeamnames[kind][rand()%(TypesTeamnames[kind].size())];
+ }
+ }
+
+ for(int i = 0; i < 8; i++)
+ {
+ if ((TypesHatnames[kind].size()) > 0){
+ HHHat[i] = TypesHatnames[kind][rand()%(TypesHatnames[kind].size())];
+ }
+ RandomNameByHat(i);
+ }
+
+ }
+}
+
bool HWTeam::isNetTeam() const
{
return m_isNetTeam;
@@ -289,3 +363,84 @@
bool HWTeam::operator<(const HWTeam& t1) const {
return TeamName<t1.TeamName; // if names are equal - test if it is net team
}
+
+void HWTeam::TypesLoad()
+{
+
+ QFile file(QString("%1/Names/types.ini").arg(datadir->absolutePath()));
+ if (!file.open(QIODevice::ReadOnly | QIODevice::Text))
+ TypesAvliable = FALSE;
+
+ int counter = 0; //counter starts with 0 (teamnames mode)
+ TypesTeamnames.append(QStringList());
+ TypesHatnames.append(QStringList());
+
+ QTextStream in(&file);
+ while (!in.atEnd()) {
+ QString line = in.readLine();
+ if (line == QString("#####")){
+ counter++; //toggle mode (teamnames || hats)
+ if ((counter%2) == 0){
+ TypesTeamnames.append(QStringList());
+ TypesHatnames.append(QStringList());
+ }
+ } else if ((line == QString("*****")) || (line == QString("*END*"))){
+ TypesAvliable = TRUE; return; // bye bye
+ } else {
+ if ((counter%2) == 0){ // even => teamnames mode
+ TypesTeamnames[(counter/2)].append(line);
+ } else { // odd => hats mode
+ TypesHatnames[((counter-1)/2)].append(line);
+ }
+ }
+// Types.append(line);
+ }
+ TypesAvliable = TRUE;
+ return;
+}
+
+
+void HWTeam::DictLoad(const QString filename, QStringList &list)
+{
+ list.clear();
+
+ QFile file(QString("%1/Names/%2.txt").arg(datadir->absolutePath()).arg(filename));
+ if (file.open(QIODevice::ReadOnly | QIODevice::Text))
+ {
+
+ QTextStream in(&file);
+ while (!in.atEnd()) {
+ QString line = in.readLine();
+ if(line != QString(""))
+ {list.append(line);}
+ }
+ }
+
+ if (list.size()==0)
+ list.append(filename);
+
+}
+
+
+void HWTeam::HatCfgLoad(const QString hatname, QStringList &list)
+{
+ list.clear();
+
+ QFile file(QString("%1/Names/%2.cfg").arg(datadir->absolutePath()).arg(hatname));
+ if (file.open(QIODevice::ReadOnly | QIODevice::Text))
+ {
+
+ QTextStream in(&file);
+ while (!in.atEnd()) {
+ QString line = in.readLine();
+ if(line != QString(""))
+ {list.append(line);}
+ }
+ }
+
+ if (list.size()==0)
+ list.append(QString("generic"));
+
+}
+
+
--- a/QTfrontend/team.h Tue Feb 24 19:39:49 2009 +0000
+++ b/QTfrontend/team.h Tue Feb 24 21:47:17 2009 +0000
@@ -59,11 +59,22 @@
void GetFromPage(HWForm * hwform);
QStringList TeamGameConfig(quint32 InitHealth) const;
+ void TeamRandomName(const int &i);
+ void TeamRandomNames(bool changeteamname);
+
bool operator==(const HWTeam& t1) const;
bool operator<(const HWTeam& t1) const;
private:
bool m_isNetTeam;
QString OldTeamName;
+ void RandomNameByHat(const int &i);
+
+ QList<QStringList> TypesTeamnames;
+ QList<QStringList> TypesHatnames;
+ bool TypesAvliable;
+ void TypesLoad();
+ void DictLoad(const QString filename, QStringList &list);
+ void HatCfgLoad(const QString hatname, QStringList &list);
};
#endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/Bandit.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+bandit
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/BlueCap.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/BlueHair.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/BrainSlug.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+brainslug
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/BrainSlugMouth.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+brainslug
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/Bunny.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/CMakeLists.txt Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,84 @@
+install(FILES
+ types.ini
+ apple.cfg
+ banana.cfg
+ Bandit.cfg
+ beefeater.cfg
+ BlueCap.cfg
+ BlueHair.cfg
+ BrainSlug.cfg
+ BrainSlugMouth.cfg
+ Bunny.cfg
+ clown.cfg
+ clown-copper.cfg
+ clown-crossed.cfg
+ Cowboy.cfg
+ crown.cfg
+ cyborg.cfg
+ darthvader.cfg
+ Glasses.cfg
+ GreenCap.cfg
+ GreenHair.cfg
+ GreyHair.cfg
+ Hat.cfg
+ HogInTheHat.cfg
+ IndianChief.cfg
+ KirbyMask.cfg
+ kiss_criss.cfg
+ kiss_frehley.cfg
+ kiss_simmons.cfg
+ kiss_stanley.cfg
+ knight.cfg
+ lemon.cfg
+ MegaHogX.cfg
+ mp3.cfg
+ NinjaFull.cfg
+ NinjaStraight.cfg
+ NinjaTriangle.cfg
+ NoHat.cfg
+ orange.cfg
+ OrangeHair.cfg
+ PinkHair.cfg
+ pirate_jack_bandana.cfg
+ pirate_jack.cfg
+ PurpleHair.cfg
+ RedCap.cfg
+ RedHair.cfg
+ RobinHood.cfg
+ royalguard.cfg
+ Ryu.cfg
+ Samurai.cfg
+ Santa.cfg
+ slowpoke.cfg
+ Sonic.cfg
+ SparkleSuperFun.cfg
+ spartan.cfg
+ stormtrooper.cfg
+ StrawHat.cfg
+ StrawHatEyes.cfg
+ StrawHatFacial.cfg
+ Sunglasses.cfg
+ ushanka.cfg
+ venom.cfg
+ Viking.cfg
+ WhySoSerious.cfg
+ WizardHat.cfg
+ YellowCap.cfg
+ YellowHair.cfg
+ apple.txt
+ banana.txt
+ bandit.txt
+ brainslug.txt
+ clown.txt
+ cowboy.txt
+ crown.txt
+ fruit.txt
+ generic.txt
+ indian.txt
+ kiss.txt
+ ninja.txt
+ orange.txt
+ pirate.txt
+ whysoserious.txt
+ wizard.txt
+ DESTINATION ${SHAREPATH}Data/Names)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/Cowboy.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+cowboy
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/Glasses.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/GreenCap.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/GreenHair.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/GreyHair.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/Hat.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/HogInTheHat.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/IndianChief.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+indian
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/KirbyMask.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/MegaHogX.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/NinjaFull.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+ninja
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/NinjaStraight.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+ninja
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/NinjaTriangle.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+ninja
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/NoHat.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/OrangeHair.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/PinkHair.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/PurpleHair.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/RedCap.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/RedHair.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/RobinHood.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/Ryu.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/Samurai.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/Santa.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/Sonic.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/SparkleSuperFun.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/StrawHat.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/StrawHatEyes.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/StrawHatFacial.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/Sunglasses.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/Viking.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/WhySoSerious.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+whysoserious
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/WizardHat.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+wizard
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/YellowCap.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/YellowHair.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/apple.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,2 @@
+apple
+fruit
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/apple.txt Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+Apple
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/banana.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,2 @@
+banana
+fruit
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/banana.txt Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+Banana
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/bandit.txt Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,3 @@
+Gangster
+Bandit
+Burglar
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/beefeater.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/brainslug.txt Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,12 @@
+Hermes
+Fry
+Zoidberg
+Wong
+Nibbler
+Conrad
+Amy
+Billy
+West
+Katey
+Sagal
+Dimaggio
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/clown-copper.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+clown
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/clown-crossed.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+clown
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/clown.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+clown
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/clown.txt Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,44 @@
+Binky
+Bobo
+Bozo
+Buttons
+Chocko
+Chuckles
+Dinky
+Doodles
+Dusty
+Eckles
+Flutter
+Freckles
+Giggles
+Harpo
+Heckles
+Humpty
+Jester
+Jojo
+Jumbo
+Kinko
+KnicKnac
+Koko
+Krusty
+Loopy
+Mickey
+Noodles
+Ocho
+Patches
+Pickles
+Poppy
+Puddles
+Quigley
+Raffles
+Stitches
+Tatters
+Tipsy
+Tootsy
+Trickster
+Waldo
+Wally
+Wiggles
+Yobo
+Zester
+Zowie
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/cowboy.txt Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,22 @@
+Jim
+Ramirez
+Roy
+Joe
+Rob
+Dan
+Tom
+Ernesto
+Douglas
+Mario
+Jose
+Francisco
+Brian
+Cooper
+Salvador
+Javier
+Ara
+Cinzia
+Rafael
+Claudio
+Franzo
+Juan
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/crown.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+crown
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/crown.txt Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,3 @@
+Majesty
+King
+Emperor
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/cyborg.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/darthvader.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/fruit.txt Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,18 @@
+Mellow
+Mellow
+Tasty
+Healthy
+Fresh
+Fresh
+Sweety
+Covered
+Delicious
+Delicious
+Fruit
+Snack
+Food
+Vitamine
+Vital
+Aggresive
+Taste
+Yummy
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/generic.txt Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,9 @@
+Diego
+Boggy
+Arnold
+Cal
+Adrian
+Johnny
+Jackson
+Crosby
+Frankie
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/indian.txt Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,424 @@
+Alsoomse
+Chayton
+Sahkyo
+Aiyanna
+Shideezhi
+Naira
+Bilagaana
+Witashnah
+Nadie
+Hesutu
+Tahkeome
+Abukcheech
+Honon
+Hehewuti
+Rowtag
+Tisseewoonatis
+Koko
+Liwanu
+Kimi
+Mahkah
+Kotori
+Ominotago
+Hurit
+Mapiya
+Askuwheteau
+Moki
+Wakanda
+Wohehiv
+Liluye
+Ohitekah
+Howahkan
+Hania
+Pahana
+Honaw
+Demonthin
+Tayanita
+Kiwidinok
+Alaqua
+Talutah
+Isi
+Hassun
+Angwusnasomtaqa
+Adahy
+Nahcomence
+Aiyana
+Una
+Wicapi wakan
+Melkedoodum
+Pachua
+Molimo
+Heskovizenako
+Tahmelapachme
+Ptaysanwee
+Ogaleesha
+Ahanu
+Pavati
+Kuruk
+Shizhe'e
+Etchemin
+Magaskawee
+Ohanzee
+Kosumi
+Mahpee
+Masichuvio
+Ehawee
+Wicasa
+Hotah
+Ayawamat
+Zitkala
+Sani
+Shuman
+Winona
+Chua
+Sewati
+Sihu
+Totsi
+Salali
+Taigi
+Megedagik
+Hokolesqua
+Powaqa
+Qaletaqa
+Wanageeska
+Moema
+Meturato
+Maka
+Sunukkuhkau
+Uzumati
+Matwau
+Chansomps
+Howi
+Sowi'ngwa
+Yamka
+Gad
+Suletu
+Mansi
+Doli
+Odakota
+Wuyi
+Nahimana
+Hakidonmuya
+Shiriki
+Pauwau
+Tokala
+Kesegowaase
+Tihkoosue
+Cha'risa
+Kaneonuskatew
+Lomahongva
+Ayasha
+Nukpana
+Chuchip
+Otoahnacto
+Wokaihwokomas
+Taini
+Kasa
+Enapay
+Anpaytoo
+Amadahy
+Etlelooaat
+Kimimela
+Zihna
+Keegsquaw
+Kisecawchuck
+Sokanon
+Odahingum
+Shadi
+Tuwa
+Hinto
+Urika
+Huyana
+Nina
+Awinita
+Matchitisiw
+Misu
+Ashkii
+Tenskwatawa
+Kimama
+Onatah
+Kachina
+Talulla
+Lokni
+Lansa
+Nittawosew
+Niyol
+Napayshni
+Nayeli
+Makkapitew
+Pamuya
+Catahecassa
+Mona
+Eluwilussit
+Orenda
+Abedabun
+Lapu
+Yanisin
+Kuwanlelenta
+Tiponi
+Amitola
+Aponi
+Tiva
+Tatanka-ptecila
+Pannoowau
+Wikvaya
+Chaschunka
+Adsila
+Yas
+Quanah
+Takoda
+Makawee
+Tse
+Wematin
+Pajackok
+Kohana
+Chochuschuvio
+Namid
+Wauna
+Kolichiyaw
+Awentia
+Kuckunniwi
+Peta
+Taipa
+Sikyahonaw
+Huritt
+Otaktay
+Kwatoko
+Pivane
+Donoma
+Pakwa
+Nosh
+Enkoodabooaoo
+Wenona
+Makkitotosimew
+Ayelen
+Kohkahycumest
+Ayashe
+Sicheii
+Mantotohpa
+Tupi
+Tsiishchili
+Polikwaptiwa
+Tangakwunu
+Wahchintonka
+Mundoo
+Achak
+Heammawihio
+Tolinka
+Tasunke
+Chankoowashtay
+Telutci
+Goyathlay
+Posala
+Macawi
+Ahote
+Nukpana
+Rayen
+Hastiin
+Nahiossi
+Togquos
+Calfuray
+Chumani
+Shilah
+Mochni
+Kawacatoose
+Weayaya
+Len
+Cheveyo
+Gahege
+Wachiwi
+Waquini
+Honani
+Noshi
+Shiye
+Pakuna
+Hototo
+Naalnish
+Shikoba
+Muscowequan
+Oota dabun
+Chunta
+Nuttah
+Papina
+Kai
+Matoskah
+Aucaman
+Nawkaw
+Kachada
+Vokivocummast
+Powwaw
+Mimiteh
+Vohkinne
+Ciqala
+Wuti
+Gudahi
+Skah
+Chu'si
+Choovio
+Shimasani
+Cha'tima
+Kateri
+Sinopa
+Avonaco
+Chumana
+Kwahu
+Ocumwhowurst
+Tallulah
+Wambli-waste
+Nootau
+Aponivi
+Kestejoo
+Methoataske
+Honiahaka
+Sooleawa
+Nastas
+Hahkethomemah
+Istaqa
+Chogan
+Hevataneo
+Waki
+Wenonah
+Chowilawu
+Ocunnowhurst
+Wahchinksapa
+Kaliska
+Ahiga
+Hiamovi
+T'iis
+Wihakayda
+Keme
+Honovi
+Tadewi
+Kanti
+Bidziil
+Ohcumgache
+Alameda
+Sitala
+Sayen
+Sike
+Wapasha
+Makya
+Voisttitoevetz
+Tooantuh
+Ailen
+Meoquanee
+Chochmingwu
+Mukki
+Migina
+Enkoodabaoo
+Isi
+Niichaad
+Sheshebens
+Antinanco
+Wanahton
+Wahkan
+Malila
+Sikyatavo
+Pocahontas
+Omusa
+Editon
+Tohopka
+Omawnakw
+Numees
+Poloma
+Lenmana
+Chochmo
+Nizhoni
+Yoki
+Shima
+Kuwanyamtiwa
+Nidawi
+Keezheekoni
+Wanikiya
+Muna
+Aylen
+Chepi
+Muata
+Misae
+Takala
+Chochokpi
+Kele
+Quidel
+Paytah
+Yiska
+Maiara
+Gaagii
+Kokyangwuti
+Wickaninnish
+Jaci
+Nahuel
+Migisi
+Taregan
+Sanuye
+Tamaya
+Nascha
+Chusi
+Awanata
+Otoahhastis
+Voistitoevitz
+Matchitehew
+Njlon
+Abequa
+Ata'halne
+Yahto
+Ooljee
+Chosovi
+Machakw
+Soyala
+Nova
+Kangee
+Minninnewah
+Abooksigun
+Lootah
+Vaiveahtoish
+Nixkamich
+Wayra
+Helushka
+Yazhi
+Hantaywee
+Qochata
+Choviohoya
+Tocho
+Leyati
+Cha'akmongwi
+Mongwau
+Lise
+Sik'is
+Tallula
+Matunaaga
+Takhi
+Litonya
+Askook
+Lalawethika
+Viho
+Wahanassatta
+Takchawee
+Ahtahkakoop
+Teetonka
+Segenam
+Kaya
+Tecumseh
+Saqui
+Wikimak
+Maza blaska
+Sucki
+Machk
+Galilahi
+Nita
+Sitsi
+Wambleeska
+Kuwanyauma
+Weeko
+Abeque
+Chosposi
+Cowessess
+Niabi
+Talullah
+Hawiovi
+Pules
+Vipponah
+Antiman
+Shikoba
+Kitchi
+Hok'ee
+Tablita
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/kiss.txt Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,13 @@
+Starchild
+Demon
+Spaceman
+Catman
+Fox
+Ankh
+Warrior
+Drummer
+Destroyer
+Revenge
+Psycho
+Unplugged
+Metal
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/kiss_criss.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+kiss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/kiss_frehley.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+kiss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/kiss_simmons.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+kiss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/kiss_stanley.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+kiss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/knight.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/lemon.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,2 @@
+lemon
+fruit
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/mp3.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/ninja.txt Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,9 @@
+Ukemi
+Godai
+Ninpo
+Shinobi
+Tatsujin
+Arashi
+Bushi
+Itami
+Kenshi
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/orange.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,2 @@
+orange
+fruit
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/orange.txt Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,2 @@
+Orange
+Mandarine
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/pirate.txt Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,42 @@
+Fuzzy Beard
+Both Ways
+Left Rite Out
+I. P. Freley
+Al. Kaholic
+Eye-patch Jim
+Haunter Bowen
+Long-nose Kidd
+Stubborn Diego
+Toothless Wayne
+Roger Karrgh
+Rusted Peter
+Yumee Silver
+Hawkin Haunter
+Cruise Seymour
+Rusted Diego
+First
+Rusted Haunter
+Peter Buckett
+Yumee Gunpowder
+Crowe Jim
+Iron Diego
+One-eyed Ayee
+Diego R. Flint
+Morris
+Ayee Morgan
+Jim Morgan
+Crook R. Edvard
+Diego Dover
+Mike the pirate
+Silver
+Iron Luke
+Dirty Ben
+Yumee Calles
+Wayne Bowen
+Timmy the pirate
+Rackham Blood
+Al. Kaholic
+Eye-patch Shok
+Rusted T. Ben
+Dirty O'John
+Cutlass Cain
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/pirate_jack.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+pirate
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/pirate_jack_bandana.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+pirate
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/royalguard.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/slowpoke.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/spartan.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/stormtrooper.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/types.ini Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,88 @@
+Clowns
+#####
+clown
+clown-copper
+clown-crossed
+clown-copper
+clown
+clown-copper
+clown-crossed
+clown-copper
+WhySoSerious
+#####
+Fruit
+#####
+apple
+banana
+lemon
+orange
+#####
+Indians
+Apache
+#####
+IndianChief
+#####
+Pirates
+#####
+pirate_jack
+pirate_jack_bandana
+#####
+Bandits
+Gangsters
+Theives
+#####
+Bandit
+#####
+Futuristic
+Possesed
+Parasites
+#####
+BrainSlug
+BrainSlugMouth
+BrainSlugMouth
+#####
+Bunnies
+#####
+Bunny
+#####
+Detectives
+#####
+Cowboy
+#####
+Monarchy
+Kingdom
+Royal
+#####
+crown
+royalguard
+royalguard
+royalguard
+royalguard
+#####
+Ninja
+The Ninja
+#####
+NinjaFull
+NinjaStraight
+NinjaTriangle
+#####
+Metal
+#####
+kiss_criss
+kiss_frehley
+kiss_simmons
+kiss_stanley
+#####
+Wizzards
+#####
+WizardHat
+#####
+StarHogs
+#####
+darthvader
+#####
+Hogtrix
+#####
+Sunglasses
+*END*
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/ushanka.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/venom.cfg Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,1 @@
+generic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/whysoserious.txt Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,7 @@
+Stranger
+Entertrainment
+Bad Joke
+Smiling
+A Freak
+Stranger
+Magic
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Names/wizard.txt Tue Feb 24 21:47:17 2009 +0000
@@ -0,0 +1,8 @@
+Merlin
+Eridanus
+Gandalf
+Harry
+Saruman
+Jafar
+Rincewind
+Voldemort