added morphs, fix some bugs, new images

added onAlienInRadius trigger
but it not work right((
This commit is contained in:
2011-08-21 22:22:02 +04:00
parent fa68b5a120
commit 894e55bb41
186 changed files with 4040 additions and 3022 deletions

33
form.h
View File

@@ -4,6 +4,8 @@
#include <QWidget>
#include "adcore.h"
#include "ad_graphics.h"
#include "touchbuttframe.h"
namespace Ui {
class Form;
@@ -18,24 +20,25 @@ public:
~Form();
private slots:
void on_pbNextWave_clicked();
void towerBuild(int index);
void add_tow(QPoint pnt);
//void del_tow(QPoint pnt);
void cancel();
void towerSelected(QPoint id);
void alienSelected(int id);
void on_pbNextWave_clicked();
void towerBuild(int index);
void towerMorph(int index);
void add_tow(QPoint pnt);
void selectedTowerChanged(QPoint id);
void cancel();
void on_sbSpeed_valueChanged(double arg1);
private:
void timerEvent(QTimerEvent *);
void timerEvent(QTimerEvent *);
Ui::Form *ui;
int buildTowerId;
AD_Core core;
AD_Graphics * graphics;
TouchButtFrame * morphtbf;
Ui::Form *ui;
int buildTowerId;
AD_Core core;
AD_Graphics * graphics;
QPoint cur_tow;
int cur_al;
//QList <QPushButton *> towerButtons;
signals:
void tower_killed();
};
#endif // FORM_H