mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-28 03:25:30 -05:00
Add onMapShifted to API
This commit is contained in:
@@ -14,6 +14,7 @@ enum CallbackType {
|
||||
OnBlockChanged,
|
||||
OnMapOpened,
|
||||
OnMapResized,
|
||||
OnMapShifted,
|
||||
OnTilesetUpdated,
|
||||
OnTabChanged,
|
||||
};
|
||||
@@ -38,6 +39,7 @@ public:
|
||||
static void cb_MetatileChanged(int x, int y, Block prevBlock, Block newBlock);
|
||||
static void cb_MapOpened(QString mapName);
|
||||
static void cb_MapResized(int oldWidth, int oldHeight, int newWidth, int newHeight);
|
||||
static void cb_MapShifted(int xDelta, int yDelta);
|
||||
static void cb_TilesetUpdated(QString tilesetName);
|
||||
static void cb_TabChanged(int oldTab, int newTab);
|
||||
static bool tryErrorJS(QJSValue js);
|
||||
|
||||
Reference in New Issue
Block a user