porymap/include/core/wildmoninfo.h

29 lines
575 B
C
Raw Normal View History

2019-06-13 03:20:28 +01:00
#ifndef GUARD_WILDMONINFO_H
#define GUARD_WILDMONINFO_H
#include <QtWidgets>
struct WildPokemon {
int minLevel;
int maxLevel;
QString species;
};
struct WildMonInfo {
bool active = false;
int encounterRate = 0;
2019-06-13 03:20:28 +01:00
QVector<WildPokemon> wildPokemon;
};
struct WildPokemonHeader {
QMap<QString, WildMonInfo> wildMons;
2019-06-13 03:20:28 +01:00
};
typedef QVector<QPair<QString, QVector<int>>> Fields;
typedef QPair<QString, QVector<int>> Field;
WildMonInfo getDefaultMonInfo(Field field);
WildMonInfo copyMonInfoFromTab(QTableWidget *table);
2019-06-13 03:20:28 +01:00
#endif // GUARD_WILDMONINFO_H