mirror of
https://github.com/huderlem/porymap.git
synced 2026-09-14 03:45:35 -05:00
add new area (map section) functionality
This commit is contained in:
@@ -80,6 +80,9 @@ public:
|
||||
QString importExportPath;
|
||||
QSet<QString> disabledSettingsNames;
|
||||
|
||||
// For files that are read and could contain extra text
|
||||
QMap<QString, QString> extraFileText;
|
||||
|
||||
void set_root(QString);
|
||||
|
||||
void initSignals();
|
||||
@@ -135,6 +138,8 @@ public:
|
||||
bool readSpeciesIconPaths();
|
||||
QMap<QString, QString> speciesToIconPath;
|
||||
|
||||
int appendMapsec(QString name);
|
||||
|
||||
QSet<QString> getTopLevelMapFields();
|
||||
bool loadMapData(Map*);
|
||||
bool readMapLayouts();
|
||||
@@ -159,6 +164,7 @@ public:
|
||||
void saveAllDataStructures();
|
||||
void saveMapLayouts();
|
||||
void saveMapGroups();
|
||||
void saveMapSections();
|
||||
void saveWildMonData();
|
||||
void saveMapConstantsHeader();
|
||||
void saveHealLocations(Map*);
|
||||
|
||||
@@ -117,6 +117,7 @@ public:
|
||||
QStandardItem *createAreaItem(QString areaName, int areaIndex);
|
||||
QStandardItem *createMapItem(QString mapName, int areaIndex, int mapIndex);
|
||||
|
||||
QStandardItem *insertAreaItem(QString areaName);
|
||||
QStandardItem *insertMapItem(QString mapName, QString areaName, int groupIndex);
|
||||
|
||||
QStandardItem *getItem(const QModelIndex &index) const;
|
||||
|
||||
Reference in New Issue
Block a user