~narrow-m/mcplanner/trunk

« back to all changes in this revision

Viewing changes to generateplaindialog.h

  • Committer: Moritz Schmale
  • Date: 2011-01-09 23:40:11 UTC
  • Revision ID: narrow.m@gmail.com-20110109234011-b2cv8dbhildd41z2
First commit.
Features:
-Drawing Blocks on multiple Layers
-Saving, Loading
-Choosing Block to draw from an iconed list
-Generating a plain Block of specifieable height width and depth as well as top and fill BlockType.
-PainterlyPack is used for the artwork. In later Versions, you can specify an own terrain.png to use your favorite artwork.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef GENERATEPLAINDIALOG_H
 
2
#define GENERATEPLAINDIALOG_H
 
3
 
 
4
#include <QDialog>
 
5
#include "world.h"
 
6
 
 
7
namespace Ui {
 
8
    class GeneratePlainDialog;
 
9
}
 
10
 
 
11
class GeneratePlainDialog : public QDialog
 
12
{
 
13
    Q_OBJECT
 
14
 
 
15
public:
 
16
    explicit GeneratePlainDialog(QWidget *parent = 0);
 
17
    ~GeneratePlainDialog();
 
18
        void setWorld(World *world);
 
19
 
 
20
private slots:
 
21
        void on_buttonBox_accepted();
 
22
        
 
23
private:
 
24
    Ui::GeneratePlainDialog *ui;
 
25
        World *myWorld;
 
26
};
 
27
 
 
28
#endif // GENERATEPLAINDIALOG_H