mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-24 17:46:19 -05:00
fix the scripting api and many other changes
- remove obsolete Map::commit() - add ScriptEditMap command - reorganize metatile history - fix next selected event for multi event deletion
This commit is contained in:
@@ -60,7 +60,7 @@ public:
|
||||
virtual void pick(QGraphicsSceneMouseEvent*);
|
||||
virtual void select(QGraphicsSceneMouseEvent*);
|
||||
virtual void shift(QGraphicsSceneMouseEvent*);
|
||||
void shift(int xDelta, int yDelta);
|
||||
void shift(int xDelta, int yDelta, bool fromScriptCall = false);
|
||||
virtual void draw(bool ignoreCache = false);
|
||||
void updateMetatileSelection(QGraphicsSceneMouseEvent *event);
|
||||
void paintNormal(int x, int y, bool fromScriptCall = false);
|
||||
|
||||
@@ -6,8 +6,6 @@
|
||||
#include "regionmaplayoutpixmapitem.h"
|
||||
#include "regionmapentriespixmapitem.h"
|
||||
#include "regionmap.h"
|
||||
#include "history.h"
|
||||
#include "historyitem.h"
|
||||
|
||||
#include <QMainWindow>
|
||||
#include <QGraphicsSceneMouseEvent>
|
||||
|
||||
Reference in New Issue
Block a user