mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-19 23:25:09 -05:00
begin work on wild pokemon editor
This commit is contained in:
31
include/core/wildmoninfo.h
Normal file
31
include/core/wildmoninfo.h
Normal 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
|
||||
Reference in New Issue
Block a user