begin work on wild pokemon editor

This commit is contained in:
garak
2019-06-12 22:20:28 -04:00
parent e3f92fff12
commit 0ad71286b1
9 changed files with 355 additions and 14 deletions

View File

@@ -0,0 +1,31 @@
#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;
QVector<WildPokemon> wildPokemon;
};
struct WildPokemonHeader {
WildMonInfo landMons;
WildMonInfo waterMons;
WildMonInfo rockSmashMons;
WildMonInfo fishingMons;
};
class Project;
QWidget *newSpeciesTableEntry(Project *project, WildPokemon mon, int index);
void createSpeciesTableRow(Project *, QTableWidget *, WildPokemon, int);
void clearTabWidget(QLayout *tab);
#endif // GUARD_WILDMONINFO_H