mirror of
https://github.com/huderlem/porymap.git
synced 2026-09-12 19:05:37 -05:00
Add smart path painting
This commit is contained in:
5
editor.h
5
editor.h
@@ -204,6 +204,9 @@ public:
|
||||
|
||||
private:
|
||||
void updateCurHoveredTile(QPointF pos);
|
||||
void paintNormal(int x, int y);
|
||||
void paintSmartPath(int x, int y);
|
||||
static QList<int> smartPathTable;
|
||||
|
||||
signals:
|
||||
void mouseEvent(QGraphicsSceneMouseEvent *, MapPixmapItem *);
|
||||
@@ -250,7 +253,7 @@ public:
|
||||
Map* map = NULL;
|
||||
virtual void draw();
|
||||
private:
|
||||
void updateSelection(QPointF pos);
|
||||
void updateSelection(QPointF pos, Qt::MouseButton button);
|
||||
protected:
|
||||
virtual void updateCurHoveredMetatile(QPointF pos);
|
||||
private slots:
|
||||
|
||||
Reference in New Issue
Block a user