mirror of
https://github.com/huderlem/porymap.git
synced 2026-09-13 19:35:40 -05:00
add options to count metatiles to tileset editor
- count the total number of usages across all maps of specific metatiles - display the count and/or display unused metatiles - this does not account for metatiles used in code (most of these are labeled)
This commit is contained in:
@@ -95,7 +95,8 @@ public:
|
||||
QMap<QString, QStringList> tilesetLabels;
|
||||
|
||||
Blockdata readBlockdata(QString);
|
||||
bool loadBlockdata(Map*);
|
||||
bool loadBlockdata(MapLayout*);
|
||||
bool loadLayoutBorder(MapLayout*);
|
||||
|
||||
void saveTextFile(QString path, QString text);
|
||||
void appendTextFile(QString path, QString text);
|
||||
@@ -122,8 +123,9 @@ public:
|
||||
QMap<QString, bool> getTopLevelMapFields();
|
||||
bool loadMapData(Map*);
|
||||
bool readMapLayouts();
|
||||
bool loadLayout(MapLayout *);
|
||||
bool loadMapLayout(Map*);
|
||||
bool loadMapTilesets(Map*);
|
||||
bool loadLayoutTilesets(MapLayout*);
|
||||
void loadTilesetAssets(Tileset*);
|
||||
void loadTilesetTiles(Tileset*, QImage);
|
||||
void loadTilesetMetatiles(Tileset*);
|
||||
@@ -182,8 +184,6 @@ public:
|
||||
QStringList getEventScriptsFilePaths() const;
|
||||
QCompleter *getEventScriptLabelCompleter(QStringList additionalScriptLabels);
|
||||
|
||||
bool loadMapBorder(Map *map);
|
||||
|
||||
void saveMapHealEvents(Map *map);
|
||||
|
||||
static int getNumTilesPrimary();
|
||||
|
||||
Reference in New Issue
Block a user