Skip to content

Commit

Permalink
Autostory base (#485)
Browse files Browse the repository at this point in the history
* autostory base file

* add autostory to panels

* refactor autostory

* fix build
  • Loading branch information
jw098 authored Sep 30, 2024
1 parent a71586a commit cf887a6
Show file tree
Hide file tree
Showing 9 changed files with 938 additions and 26 deletions.
4 changes: 4 additions & 0 deletions SerialPrograms/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1426,6 +1426,10 @@ file(GLOB MAIN_SOURCES
Source/PokemonSV/PokemonSV_Panels.h
Source/PokemonSV/PokemonSV_Settings.cpp
Source/PokemonSV/PokemonSV_Settings.h
Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory_Segment_00.cpp
Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory_Segment_00.h
Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory.cpp
Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory.h
Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStoryTools.cpp
Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStoryTools.h
Source/PokemonSV/Programs/AutoStory/PokemonSV_MenuOption.cpp
Expand Down
4 changes: 4 additions & 0 deletions SerialPrograms/SerialPrograms.pro
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,8 @@ SOURCES += \
Source/PokemonSV/Options/PokemonSV_TournamentPrizeTable.cpp \
Source/PokemonSV/PokemonSV_Panels.cpp \
Source/PokemonSV/PokemonSV_Settings.cpp \
Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory_Segment_00.cpp \
Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory.cpp \
Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStoryTools.cpp \
Source/PokemonSV/Programs/AutoStory/PokemonSV_MenuOption.cpp \
Source/PokemonSV/Programs/AutoStory/PokemonSV_MenuOptionDatabase.cpp \
Expand Down Expand Up @@ -1797,6 +1799,8 @@ HEADERS += \
Source/PokemonSV/Options/PokemonSV_TournamentPrizeTable.h \
Source/PokemonSV/PokemonSV_Panels.h \
Source/PokemonSV/PokemonSV_Settings.h \
Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory_Segment_00.h \
Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory.h \
Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStoryTools.h \
Source/PokemonSV/Programs/AutoStory/PokemonSV_MenuOption.h \
Source/PokemonSV/Programs/AutoStory/PokemonSV_MenuOptionDatabase.h \
Expand Down
4 changes: 4 additions & 0 deletions SerialPrograms/Source/PokemonSV/PokemonSV_Panels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@
#include "Programs/ShinyHunting/PokemonSV_ShinyHunt-AreaZeroPlatform.h"
#include "Programs/ShinyHunting/PokemonSV_ShinyHunt-Scatterbug.h"

#include "Programs/AutoStory/PokemonSV_AutoStory.h"

#include "Programs/Glitches/PokemonSV_RideCloner-1.0.1.h"
#include "Programs/Glitches/PokemonSV_CloneItems-1.0.1.h"

Expand Down Expand Up @@ -144,6 +146,8 @@ std::vector<PanelEntry> PanelListFactory::make_panels() const{
// || IS_BETA_VERSION
){
ret.emplace_back("---- Untested/Beta/WIP ----");
ret.emplace_back("---- Story Automation ----");
ret.emplace_back(make_single_switch_program<AutoStory_Descriptor, AutoStory>());
}
if (IS_BETA_VERSION){
}
Expand Down
Loading

0 comments on commit cf887a6

Please sign in to comment.