-
Notifications
You must be signed in to change notification settings - Fork 106
Expand file tree
/
Copy pathPokemonFRLG_Panels.cpp
More file actions
73 lines (54 loc) · 2.66 KB
/
PokemonFRLG_Panels.cpp
File metadata and controls
73 lines (54 loc) · 2.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/* Pokemon FRLG Panels
*
* From: https://github.com/PokemonAutomation/
*
*/
#include "CommonFramework/GlobalSettingsPanel.h"
#include "Pokemon/Pokemon_Strings.h"
#include "PokemonFRLG_Panels.h"
#include "PokemonFRLG_Settings.h"
#include "Programs/Farming/PokemonFRLG_NuggetBridgeFarmer.h"
#include "Programs/Farming/PokemonFRLG_PickupFarmer.h"
#include "Programs/ShinyHunting/PokemonFRLG_GiftReset.h"
#include "Programs/ShinyHunting/PokemonFRLG_LegendaryReset.h"
#include "Programs/ShinyHunting/PokemonFRLG_LegendaryRunAway.h"
#include "Programs/ShinyHunting/PokemonFRLG_PrizeCornerReset.h"
#include "Programs/ShinyHunting/PokemonFRLG_ShinyHunt-Fishing.h"
#include "Programs/ShinyHunting/PokemonFRLG_ShinyHunt-Overworld.h"
#include "Programs/TestPrograms/PokemonFRLG_SoundListener.h"
#include "Programs/TestPrograms/PokemonFRLG_ReadStats.h"
namespace PokemonAutomation{
namespace NintendoSwitch{
namespace PokemonFRLG{
PanelListFactory::PanelListFactory()
: PanelListDescriptor(Pokemon::STRING_POKEMON + " FireRed and LeafGreen")
{}
std::vector<PanelEntry> PanelListFactory::make_panels() const{
std::vector<PanelEntry> ret;
ret.emplace_back("---- Settings ----");
ret.emplace_back(make_settings<GameSettings_Descriptor, GameSettingsPanel>());
ret.emplace_back("---- Farming ----");
ret.emplace_back(make_single_switch_program<NuggetBridgeFarmer_Descriptor, NuggetBridgeFarmer>());
if (PreloadSettings::instance().DEVELOPER_MODE){
ret.emplace_back(make_single_switch_program<PickupFarmer_Descriptor, PickupFarmer>());
}
//ret.emplace_back("---- General ----");
ret.emplace_back("---- Shiny Hunting ----");
ret.emplace_back(make_single_switch_program<GiftReset_Descriptor, GiftReset>());
ret.emplace_back(make_single_switch_program<LegendaryReset_Descriptor, LegendaryReset>());
ret.emplace_back(make_single_switch_program<ShinyHuntFishing_Descriptor, ShinyHuntFishing>());
ret.emplace_back(make_single_switch_program<ShinyHuntOverworld_Descriptor, ShinyHuntOverworld>());
ret.emplace_back(make_single_switch_program<PrizeCornerReset_Descriptor, PrizeCornerReset>());
if (PreloadSettings::instance().DEVELOPER_MODE){
ret.emplace_back(make_single_switch_program<LegendaryRunAway_Descriptor, LegendaryRunAway>());
}
if (PreloadSettings::instance().DEVELOPER_MODE){
ret.emplace_back("---- Developer Tools ----");
ret.emplace_back(make_single_switch_program<SoundListener_Descriptor, SoundListener>());
ret.emplace_back(make_single_switch_program<ReadStats_Descriptor, ReadStats>());
}
return ret;
}
}
}
}