lua access to data dir by GetDataPath and made a new scripting translation system with Locale.lua as library and .lua files under Locale. Updated maps Basketball and Knockball to this new system.
#include <QLabel>
#include <QRect>
#include <QList>
#include <QMouseEvent>
class PixLabel : public QLabel
{
Q_OBJECT
public:
PixLabel();
QList<QRect> rects;
public slots:
void AddRect();
private:
void paintEvent(QPaintEvent * event);
void mousePressEvent(QMouseEvent * e);
};