changes in arhitecture, some improvments, much optimising and simplify,

many bagfixes and new graphics engine
This commit is contained in:
blizer
2011-08-20 07:34:19 +04:00
committed by unknown
parent 0a9679fd99
commit f3d0ca7101
33 changed files with 1444 additions and 897 deletions

41
form.h Normal file
View File

@@ -0,0 +1,41 @@
#ifndef FORM_H
#define FORM_H
#include <QWidget>
#include "adcore.h"
#include "ad_graphics.h"
namespace Ui {
class Form;
}
class Form : public QWidget
{
Q_OBJECT
public:
explicit Form(QWidget *parent = 0);
~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);
private:
void timerEvent(QTimerEvent *);
Ui::Form *ui;
int buildTowerId;
AD_Core core;
AD_Graphics * graphics;
QPoint cur_tow;
int cur_al;
//QList <QPushButton *> towerButtons;
};
#endif // FORM_H