- New First Aid powerup
- New power progressbar
- Less powerful Desert Eagle
- Bots can use Desert Eagle
- Set TurnTimeLeft to 0 when hh damaged
- Bots can handle situation when ammo is over
- Bots can go in different directions to reach good position, not just only go left or right
- Small fixes for FillLand (use all the array)
- Fixes for world geometry, get rid of one variable
- Added missed in previous commit files
- New test map
#include "teamselhelper.h"
#include <QPixmap>
#include <QPushButton>
#include <iostream>
void TeamLabel::teamButtonClicked()
{
emit teamActivated(text());
}
TeamShowWidget::TeamShowWidget(tmprop team, QWidget * parent) :
QWidget(parent), mainLayout(this), m_team(team)
{
QLabel* pixlbl=new QLabel();
pixlbl->setPixmap(QPixmap("./Data/Graphics/thinking.png"));
mainLayout.addWidget(pixlbl);
TeamLabel* lbl=new TeamLabel(team.teamName);
mainLayout.addWidget(lbl);
QPushButton* butt=new QPushButton("o");
mainLayout.addWidget(butt);
QObject::connect(butt, SIGNAL(clicked()), this, SLOT(activateTeam()));
}
void TeamShowWidget::activateTeam()
{
emit teamStatusChanged(m_team);
}