diff --git a/3rdParty/miniz-3.1.1/miniz.c b/3rdParty-Core/miniz-3.1.1/miniz.c similarity index 100% rename from 3rdParty/miniz-3.1.1/miniz.c rename to 3rdParty-Core/miniz-3.1.1/miniz.c diff --git a/3rdParty/miniz-3.1.1/miniz.h b/3rdParty-Core/miniz-3.1.1/miniz.h similarity index 100% rename from 3rdParty/miniz-3.1.1/miniz.h rename to 3rdParty-Core/miniz-3.1.1/miniz.h diff --git a/3rdParty/nlohmann/json.hpp b/3rdParty-Core/nlohmann/json.hpp similarity index 100% rename from 3rdParty/nlohmann/json.hpp rename to 3rdParty-Core/nlohmann/json.hpp diff --git a/3rdParty/nlohmann/json_fwd.hpp b/3rdParty-Core/nlohmann/json_fwd.hpp similarity index 100% rename from 3rdParty/nlohmann/json_fwd.hpp rename to 3rdParty-Core/nlohmann/json_fwd.hpp diff --git a/Common/ControllerStates/StandardHid_Keyboard_State.c b/Common/ControllerStates/StandardHid_Keyboard_State.c index 813e7d7c2b..a61b724242 100644 --- a/Common/ControllerStates/StandardHid_Keyboard_State.c +++ b/Common/ControllerStates/StandardHid_Keyboard_State.c @@ -8,7 +8,7 @@ #include "StandardHid_Keyboard_State.h" -const pabb_HID_Keyboard_State pabb_HID_Keyboard_State_NEUTRAL_STATE = {}; +const pabb_HID_Keyboard_State pabb_HID_Keyboard_State_NEUTRAL_STATE = {0}; bool pabb_HID_Keyboard_State_equals( const pabb_HID_Keyboard_State* state0, diff --git a/Common/Cpp/Json/JsonTools.h b/Common/Cpp/Json/JsonTools.h index eaeea6a7a8..93b77b526c 100644 --- a/Common/Cpp/Json/JsonTools.h +++ b/Common/Cpp/Json/JsonTools.h @@ -7,7 +7,7 @@ #ifndef PokemonAutomation_Common_Json_JsonTools_H #define PokemonAutomation_Common_Json_JsonTools_H -#include "3rdParty/nlohmann/json.hpp" +#include "3rdParty-Core/nlohmann/json.hpp" #include "JsonValue.h" namespace PokemonAutomation{ diff --git a/Common/Cpp/Json/JsonValue.cpp b/Common/Cpp/Json/JsonValue.cpp index 802d8c91ac..bf244f4894 100644 --- a/Common/Cpp/Json/JsonValue.cpp +++ b/Common/Cpp/Json/JsonValue.cpp @@ -4,7 +4,7 @@ * */ -#include "3rdParty/nlohmann/json.hpp" +#include "3rdParty-Core/nlohmann/json.hpp" #include "Common/Cpp/Filesystem/FileIO.h" #include "JsonValue.h" #include "JsonArray.h" diff --git a/Common/PABotBase2/ReliableConnectionLayer/PABotBase2CC_ReliableStreamConnection.cpp b/Common/PABotBase2/ReliableConnectionLayer/PABotBase2CC_ReliableStreamConnection.cpp index 3b431f4395..c7695851b1 100644 --- a/Common/PABotBase2/ReliableConnectionLayer/PABotBase2CC_ReliableStreamConnection.cpp +++ b/Common/PABotBase2/ReliableConnectionLayer/PABotBase2CC_ReliableStreamConnection.cpp @@ -524,7 +524,7 @@ void ReliableStreamConnection::process_RET_BUFFER_SLOTS(const PacketHeader* pack { std::lock_guard lg(m_lock); m_reliable_sender.remove(packet->seqnum); - m_max_unacked_packets = std::min(message->data, PABB2_PacketSender_REORDER_WINDOW); + m_max_unacked_packets = std::min((uint8_t)message->data, PABB2_PacketSender_REORDER_WINDOW); } m_logger.log( "[RSC]: Setting Reorder Window: " + std::to_string(m_max_unacked_packets) + " slots", @@ -544,7 +544,7 @@ void ReliableStreamConnection::process_RET_BUFFER_BYTES(const PacketHeader* pack { std::lock_guard lg(m_lock); m_reliable_sender.remove(packet->seqnum); - m_max_unacked_bytes = std::min(message->data, PABB2_PacketSender_BUFFER_SIZE); + m_max_unacked_bytes = std::min((uint16_t)message->data, PABB2_PacketSender_BUFFER_SIZE); } m_logger.log( "[RSC]: Setting Reorder Window: " + std::to_string(m_max_unacked_bytes) + " bytes", diff --git a/SerialPrograms/CMakeLists.txt b/SerialPrograms/CMakeLists.txt index 46fd3e6685..26031d441f 100644 --- a/SerialPrograms/CMakeLists.txt +++ b/SerialPrograms/CMakeLists.txt @@ -145,15 +145,24 @@ add_compile_definitions(QT_DISABLE_DEPRECATED_BEFORE=0x050F00) # add current directory to find tesseractPA.lib link_directories(${CMAKE_CURRENT_LIST_DIR}) -# add the list of all code file paths as ${LIBRARY_SOURCES} and ${EXECUTABLE_SOURCES} +# add the list of all code file paths as ${CORE_LIBRARY_SOURCES}, ${LIBRARY_SOURCES} and ${EXECUTABLE_SOURCES} include(cmake/SourceFiles.cmake) # Organize source files in IDE project view +source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR}/../../ FILES ${CORE_LIBRARY_SOURCES}) source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR}/../../ FILES ${LIBRARY_SOURCES}) source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR}/../../ FILES ${EXECUTABLE_SOURCES}) -# Create library target first -add_library(SerialProgramsLib STATIC ${LIBRARY_SOURCES}) +# Create GUI-free Controller library +add_library(CoreLib STATIC ${CORE_LIBRARY_SOURCES}) + +# see apply_common_target_properties() for target_include_directories, set_target_properties, target_compile_definitions + + + +# Create the GUI library +add_library(SerialProgramsLib STATIC ${CORE_LIBRARY_SOURCES} ${LIBRARY_SOURCES}) + # Create binary target if (APPLE) @@ -215,6 +224,21 @@ endif() # Function to apply common properties to both library and executable targets function(apply_common_target_properties target_name) set_target_properties(${target_name} PROPERTIES LINKER_LANGUAGE CXX) + target_link_libraries(${target_name} PRIVATE Threads::Threads) + + #add defines + target_compile_definitions(${target_name} PRIVATE NOMINMAX DPP_NO_DEPRECATED) + + #add include directory + target_include_directories(${target_name} SYSTEM PRIVATE ../3rdParty-Core) + target_include_directories(${target_name} PRIVATE ../ ../../Internal/ Source/) + + if("NO_GUI" IN_LIST ARGN) + target_compile_definitions(${target_name} PRIVATE PA_IMAGE_BACKEND_None) + return() + endif() + + # include Qt headers target_link_libraries(${target_name} PRIVATE Qt${QT_MAJOR}::Widgets Qt${QT_MAJOR}::SerialPort @@ -224,27 +248,24 @@ function(apply_common_target_properties target_name) Qt${QT_MAJOR}::Qml Qt${QT_MAJOR}::Quick Qt${QT_MAJOR}::QuickWidgets - ) - target_link_libraries(${target_name} PRIVATE Threads::Threads) - - #add defines - target_compile_definitions(${target_name} PRIVATE NOMINMAX DPP_NO_DEPRECATED) + ) - #add include directory + # more include directories target_include_directories(${target_name} SYSTEM PRIVATE ../3rdParty/) - target_include_directories(${target_name} PRIVATE ../ ../../Internal/ Source/) target_link_directories(${target_name} PRIVATE ../3rdPartyBinaries/) + endfunction() # Apply common properties to both targets +apply_common_target_properties(CoreLib NO_GUI) apply_common_target_properties(SerialProgramsLib) apply_common_target_properties(SerialPrograms) if(MSVC) - set_source_files_properties("../3rdParty/miniz-3.1.1/miniz.c" PROPERTIES COMPILE_FLAGS "/W0") + set_source_files_properties("../3rdParty-Core/miniz-3.1.1/miniz.c" PROPERTIES COMPILE_FLAGS "/W0") else() # For GCC/Clang - set_source_files_properties("../3rdParty/miniz-3.1.1/miniz.c" PROPERTIES COMPILE_FLAGS "-w") + set_source_files_properties("../3rdParty-Core/miniz-3.1.1/miniz.c" PROPERTIES COMPILE_FLAGS "-w") endif() # REPO_ROOT_DIR: the root folder of the git repository, "Arduino-Source/" @@ -355,6 +376,10 @@ if (WIN32) target_compile_options(SerialProgramsLib PRIVATE /wd5054) # Deprecated enum arithemtic target_compile_options(SerialProgramsLib PRIVATE /wd4505) # unreferenced local function has been removed + target_compile_options(CoreLib PRIVATE /FAs /FaAssembly/ /MP /W4 /WX /external:anglebrackets /external:W0 /utf-8) + target_compile_options(CoreLib PRIVATE /wd5054) # Deprecated enum arithemtic + target_compile_options(CoreLib PRIVATE /wd4505) # unreferenced local function has been removed + set(ARCH_FLAGS_09_Nehalem /W4) # Dummy parameter set(ARCH_FLAGS_13_Haswell /arch:AVX2) set(ARCH_FLAGS_17_Skylake /arch:AVX512) @@ -363,6 +388,8 @@ if (WIN32) if(CMAKE_GENERATOR_TOOLSET MATCHES "ClangCL") target_compile_options(SerialProgramsLib PRIVATE -Wno-unused-function) target_compile_options(SerialProgramsLib PRIVATE -march=nehalem) + target_compile_options(CoreLib PRIVATE -Wno-unused-function) + target_compile_options(CoreLib PRIVATE -march=nehalem) set(ARCH_FLAGS_09_Nehalem -march=nehalem) set(ARCH_FLAGS_13_Haswell -march=haswell) set(ARCH_FLAGS_17_Skylake -march=skylake-avx512) @@ -501,6 +528,14 @@ else() # macOS and Linux ${REPO_ROOT_DIR}/3rdParty/sdbus-cpp/lib/libsdbus-c++.a systemd #sdbus-c++ relies on libsystemd, almost all distros should have this ) + + target_include_directories(CoreLib PRIVATE + ${REPO_ROOT_DIR}/3rdParty/sdbus-cpp/include + ) + target_link_libraries(CoreLib PRIVATE + ${REPO_ROOT_DIR}/3rdParty/sdbus-cpp/lib/libsdbus-c++.a + systemd #sdbus-c++ relies on libsystemd, almost all distros should have this + ) endif() # end Linux # Find OpenCV @@ -562,9 +597,13 @@ else() # macOS and Linux target_compile_options(SerialProgramsLib PRIVATE -Wall -Wextra -Wpedantic -Werror -Wshorten-64-to-32) # on macOS, need this framework to query OS API to control display sleep and system sleep behavior target_link_libraries(SerialProgramsLib PRIVATE "-framework IOKit -framework CoreFoundation") + + target_compile_options(CoreLib PRIVATE -Wall -Wextra -Wpedantic -Werror -Wshorten-64-to-32) + target_link_libraries(CoreLib PRIVATE "-framework IOKit -framework CoreFoundation") else() # Linux # Assume GCC target_compile_options(SerialProgramsLib PRIVATE -Wall -Wextra -Wpedantic -Werror -fno-strict-aliasing) + target_compile_options(CoreLib PRIVATE -Wall -Wextra -Wpedantic -Werror -fno-strict-aliasing) endif() if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm") diff --git a/SerialPrograms/Source/CommandLine/CommandLineExecutable.cmake b/SerialPrograms/Source/CommandLine/CommandLineExecutable.cmake index cb87e5d7ae..255601d68f 100644 --- a/SerialPrograms/Source/CommandLine/CommandLineExecutable.cmake +++ b/SerialPrograms/Source/CommandLine/CommandLineExecutable.cmake @@ -10,11 +10,11 @@ set(COMMANDLINE_SOURCES add_executable(SerialProgramsCommandLine ${COMMANDLINE_SOURCES}) # Link to SerialProgramsLib (contains all the core functionality) -target_link_libraries(SerialProgramsCommandLine PRIVATE SerialProgramsLib) +target_link_libraries(SerialProgramsCommandLine PRIVATE CoreLib) # Ensure SerialProgramsCommandLine rebuilds when SerialProgramsLib is updated -add_dependencies(SerialProgramsCommandLine SerialProgramsLib) +add_dependencies(SerialProgramsCommandLine CoreLib) # Apply common target properties (includes, compile flags, etc.) # This function is defined in the parent CMakeLists.txt -apply_common_target_properties(SerialProgramsCommandLine) +apply_common_target_properties(SerialProgramsCommandLine NO_GUI) diff --git a/SerialPrograms/Source/CommonFramework/ImageTypes/ImageRGB32.cpp b/SerialPrograms/Source/CommonFramework/ImageTypes/ImageRGB32.cpp index a79a998f36..656811cdc0 100644 --- a/SerialPrograms/Source/CommonFramework/ImageTypes/ImageRGB32.cpp +++ b/SerialPrograms/Source/CommonFramework/ImageTypes/ImageRGB32.cpp @@ -65,6 +65,9 @@ ImageRGB32::ImageRGB32(const std::string& filename){ *this = OpenCV_load_image(filename); } #endif +#ifdef PA_IMAGE_BACKEND_None +ImageRGB32::ImageRGB32(const std::string& filename){} +#endif ImageRGB32::ImageRGB32(std::unique_ptr image) : m_custom_owner(std::move(image)) diff --git a/SerialPrograms/Source/CommonFramework/ImageTypes/ImageViewRGB32.cpp b/SerialPrograms/Source/CommonFramework/ImageTypes/ImageViewRGB32.cpp index 6b2c9a6669..6a4793aa86 100644 --- a/SerialPrograms/Source/CommonFramework/ImageTypes/ImageViewRGB32.cpp +++ b/SerialPrograms/Source/CommonFramework/ImageTypes/ImageViewRGB32.cpp @@ -75,6 +75,9 @@ ImageRGB32 ImageViewRGB32::scale_to(size_t width, size_t height) const{ #ifdef PA_IMAGE_BACKEND_OpenCV return OpenCV_scale_image(*this, width, height); #endif +#ifdef PA_IMAGE_BACKEND_None + return ImageRGB32(); +#endif } diff --git a/SerialPrograms/Source/CommonFramework/ProgramSession.cpp b/SerialPrograms/Source/CommonFramework/ProgramSession.cpp index db1759d215..256273edcb 100644 --- a/SerialPrograms/Source/CommonFramework/ProgramSession.cpp +++ b/SerialPrograms/Source/CommonFramework/ProgramSession.cpp @@ -17,7 +17,6 @@ #include "CommonFramework/ResourceDownload/ProgramMissingResourceTracker.h" #include "CommonFramework/ResourceDownload/GlobalResourceDownloadManager.h" #include "CommonFramework/ResourceDownload/ResourceDownloadHelpers.h" -#include "CommonFramework/ResourceDownload/ResourceDownloadHelpersQt.h" #include "Integrations/ProgramTracker.h" namespace PokemonAutomation{ diff --git a/SerialPrograms/Source/CommonFramework/ResourceDownload/GlobalResourceDownloadManager.cpp b/SerialPrograms/Source/CommonFramework/ResourceDownload/GlobalResourceDownloadManager.cpp index 41cc4980d5..c5a269d5e1 100644 --- a/SerialPrograms/Source/CommonFramework/ResourceDownload/GlobalResourceDownloadManager.cpp +++ b/SerialPrograms/Source/CommonFramework/ResourceDownload/GlobalResourceDownloadManager.cpp @@ -8,7 +8,6 @@ #include "Common/Cpp/Exceptions.h" #include "CommonFramework/GlobalSettingsPanel.h" #include "CommonFramework/ResourceDownload/ResourceDownloadHelpers.h" -#include "CommonFramework/ResourceDownload/ResourceDownloadHelpersQt.h" #include "CommonFramework/ResourceDownload/ResourceDownload.h" #include "GlobalResourceDownloadManager.h" diff --git a/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceDownloadHelpers.cpp b/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceDownloadHelpers.cpp index 6624904f7c..a0374bf6d5 100644 --- a/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceDownloadHelpers.cpp +++ b/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceDownloadHelpers.cpp @@ -4,9 +4,11 @@ * */ +#include "CommonFramework/Tools/FileDownloader.h" #include "Common/Cpp/Filesystem/Filesystem.h" #include "Common/Cpp/Json/JsonArray.h" #include "Common/Cpp/Json/JsonObject.h" +#include "Common/Cpp/Json/JsonValue.h" #include "CommonFramework/GlobalAutoPaths.h" #include "CommonFramework/Logging/Logger.h" #include "CommonFramework/Exceptions/OperationFailedException.h" @@ -162,4 +164,62 @@ const std::unordered_set& all_resource_names(){ } + + + +JsonValue fetch_resource_download_list_json_from_remote(){ +#ifdef QT_CORE_LIB + Logger& logger = global_logger_tagged(); + JsonValue json = + FileDownloader::download_json_file( + logger, + "https://raw.githubusercontent.com/PokemonAutomation/Packages/refs/heads/master/Resources/ResourceDownloadList.json" + ); +#else + JsonValue json; // placeholder when no Qt +#endif + + return json; +} + + +const JsonValue& remote_resource_download_list_json(){ + static const JsonValue json = fetch_resource_download_list_json_from_remote(); + + return json; +} + +const std::vector& remote_resource_download_list(){ + // cout << "remote_resource_download_list" << endl; + static std::vector remote_resources = deserialize_resource_list_json(remote_resource_download_list_json()); + + return remote_resources; +} + +DownloadedResourceMetadata get_remote_resource_metadata_from_resource_slug(const std::string& target_resource_slug){ + Logger& logger = global_logger_tagged(); + std::vector remote_resources; + + // Step 1: Attempt to fetch the list of available downloads + try{ + remote_resources = remote_resource_download_list(); + }catch(OperationFailedException&){ + std::cerr << "get_remote_resource_metadata_from_resource_slug: Error" << endl; + throw_and_log(logger, ErrorReport::NO_ERROR_REPORT, + "Error: Download failed. Failed to fetch the list of available downloads. Check your internet connection."); + } + + // Step 2: Attempt to extract metadata for the specific slug + try{ + return get_resource_metadata_from_resource_type(target_resource_slug, remote_resources); + }catch(OperationFailedException&){ + std::cerr << "get_remote_resource_metadata_from_resource_slug: Error" << endl; + throw_and_log(logger, ErrorReport::NO_ERROR_REPORT, + "get_remote_resource_metadata_from_resource_slug: Unable to find " + target_resource_slug + " within resource_list. " + "Likely caused by resource being no longer available for download. We recommend updating the Computer Control program."); + } +} + + + } diff --git a/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceDownloadHelpers.h b/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceDownloadHelpers.h index 52776882d2..52861bb414 100644 --- a/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceDownloadHelpers.h +++ b/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceDownloadHelpers.h @@ -72,5 +72,16 @@ DownloadedResourceMetadata get_expected_resource_metadata_from_resource_slug(con const std::unordered_set& all_resource_names(); + + +const std::vector& remote_resource_download_list(); + + +// - throws OperationFailedException if target_resource_slug isn't found within remote_resource_download_list +// this would indicate that CC is out of date. +// - also throws OperationFailedException if Internet is not turned on. +DownloadedResourceMetadata get_remote_resource_metadata_from_resource_slug(const std::string& target_resource_slug); + + } #endif diff --git a/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceDownloadHelpersQt.cpp b/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceDownloadHelpersQt.cpp deleted file mode 100644 index 8e6a058931..0000000000 --- a/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceDownloadHelpersQt.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/* Resource Download Helpers using Qt headers - * - * From: https://github.com/PokemonAutomation/ - * - */ - -#include "CommonFramework/Logging/Logger.h" -#include "CommonFramework/Exceptions/OperationFailedException.h" -#include "Common/Cpp/Json/JsonValue.h" -#include "CommonFramework/Tools/FileDownloader.h" -#include "ResourceDownloadHelpersQt.h" - - -#include -using std::cout; -using std::endl; - -namespace PokemonAutomation{ - - -JsonValue fetch_resource_download_list_json_from_remote(){ - Logger& logger = global_logger_tagged(); - JsonValue json = - FileDownloader::download_json_file( - logger, - "https://raw.githubusercontent.com/PokemonAutomation/Packages/refs/heads/master/Resources/ResourceDownloadList.json" - ); - - return json; -} - - -const JsonValue& remote_resource_download_list_json(){ - static const JsonValue json = fetch_resource_download_list_json_from_remote(); - - return json; -} - -const std::vector& remote_resource_download_list(){ - // cout << "remote_resource_download_list" << endl; - static std::vector remote_resources = deserialize_resource_list_json(remote_resource_download_list_json()); - - return remote_resources; -} - -DownloadedResourceMetadata get_remote_resource_metadata_from_resource_slug(const std::string& target_resource_slug){ - Logger& logger = global_logger_tagged(); - std::vector remote_resources; - - // Step 1: Attempt to fetch the list of available downloads - try{ - remote_resources = remote_resource_download_list(); - }catch(OperationFailedException&){ - std::cerr << "get_remote_resource_metadata_from_resource_slug: Error" << endl; - throw_and_log(logger, ErrorReport::NO_ERROR_REPORT, - "Error: Download failed. Failed to fetch the list of available downloads. Check your internet connection."); - } - - // Step 2: Attempt to extract metadata for the specific slug - try{ - return get_resource_metadata_from_resource_type(target_resource_slug, remote_resources); - }catch(OperationFailedException&){ - std::cerr << "get_remote_resource_metadata_from_resource_slug: Error" << endl; - throw_and_log(logger, ErrorReport::NO_ERROR_REPORT, - "get_remote_resource_metadata_from_resource_slug: Unable to find " + target_resource_slug + " within resource_list. " - "Likely caused by resource being no longer available for download. We recommend updating the Computer Control program."); - } -} - - - -} diff --git a/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceDownloadHelpersQt.h b/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceDownloadHelpersQt.h deleted file mode 100644 index 43753d2564..0000000000 --- a/SerialPrograms/Source/CommonFramework/ResourceDownload/ResourceDownloadHelpersQt.h +++ /dev/null @@ -1,30 +0,0 @@ -/* Resource Download Helpers using Qt headers - * - * From: https://github.com/PokemonAutomation/ - * - */ - -#ifndef PokemonAutomation_ResourceDownloadHelpersQt_H -#define PokemonAutomation_ResourceDownloadHelpersQt_H - -#include -#include -#include -#include -#include "ResourceDownloadHelpers.h" - - -namespace PokemonAutomation{ - - -const std::vector& remote_resource_download_list(); - - -// - throws OperationFailedException if target_resource_slug isn't found within remote_resource_download_list -// this would indicate that CC is out of date. -// - also throws OperationFailedException if Internet is not turned on. -DownloadedResourceMetadata get_remote_resource_metadata_from_resource_slug(const std::string& target_resource_slug); - - -} -#endif diff --git a/SerialPrograms/Source/CommonFramework/ResourceDownload/SettingsResourceDownloadRow.cpp b/SerialPrograms/Source/CommonFramework/ResourceDownload/SettingsResourceDownloadRow.cpp index 1026e1eeb4..af72a95597 100644 --- a/SerialPrograms/Source/CommonFramework/ResourceDownload/SettingsResourceDownloadRow.cpp +++ b/SerialPrograms/Source/CommonFramework/ResourceDownload/SettingsResourceDownloadRow.cpp @@ -17,7 +17,6 @@ #include "CommonFramework/Logging/Logger.h" #include "CommonFramework/ResourceDownload/GlobalResourceDownloadManager.h" #include "ResourceDownloadHelpers.h" -#include "ResourceDownloadHelpersQt.h" // #include "SettingsResourceDownloadTable.h" #include "SettingsResourceDownloadRow.h" diff --git a/SerialPrograms/Source/Controllers/ControllerState.cpp b/SerialPrograms/Source/Controllers/ControllerState.cpp index 61f3706776..105aec2198 100644 --- a/SerialPrograms/Source/Controllers/ControllerState.cpp +++ b/SerialPrograms/Source/Controllers/ControllerState.cpp @@ -5,7 +5,8 @@ */ #include "Common/Cpp/Json/JsonObject.h" -#include "CommonFramework/Exceptions/OperationFailedException.h" +// #include "CommonFramework/Exceptions/OperationFailedException.h" +#include "Common/Cpp/Exceptions.h" #include "ControllerState.h" namespace PokemonAutomation{ @@ -14,14 +15,12 @@ namespace PokemonAutomation{ void ControllerState::load_json(const JsonObject& json){ - throw OperationFailedException( - ErrorReport::NO_ERROR_REPORT, + throw InternalProgramError(nullptr, PA_CURRENT_FUNCTION, "This controller does not support serialization." ); } JsonObject ControllerState::to_json() const{ - throw OperationFailedException( - ErrorReport::NO_ERROR_REPORT, + throw InternalProgramError(nullptr, PA_CURRENT_FUNCTION, "This controller does not support serialization." ); } @@ -31,14 +30,12 @@ void ControllerState::execute( AbstractController& controller, Milliseconds duration ) const{ - throw OperationFailedException( - ErrorReport::NO_ERROR_REPORT, + throw InternalProgramError(nullptr, PA_CURRENT_FUNCTION, "This controller does not support execution." ); } std::string ControllerState::to_cpp(Milliseconds hold, Milliseconds release) const{ - throw OperationFailedException( - ErrorReport::NO_ERROR_REPORT, + throw InternalProgramError(nullptr, PA_CURRENT_FUNCTION, "This controller does not support cpp conversion." ); } diff --git a/SerialPrograms/Source/Controllers/PABotBase2/PABotBase2_DeviceHandle.cpp b/SerialPrograms/Source/Controllers/PABotBase2/PABotBase2_DeviceHandle.cpp index c8d96761c3..daa5ac1bc2 100644 --- a/SerialPrograms/Source/Controllers/PABotBase2/PABotBase2_DeviceHandle.cpp +++ b/SerialPrograms/Source/Controllers/PABotBase2/PABotBase2_DeviceHandle.cpp @@ -145,7 +145,7 @@ void DeviceHandle::query_protocol(){ { m_device_id = query_u32(PABB2_MESSAGE_OPCODE_DEVICE_IDENTIFIER); m_logger.log("[MLC]: Device ID: 0x" + tostr_hex(m_device_id), COLOR_BLUE); - auto iter = PROGRAMS->find(m_device_id); + auto iter = PROGRAMS->find((uint8_t)m_device_id); if (iter == PROGRAMS->end()){ m_logger.Logger::log( "Unrecognized Program ID: (0x" + tostr_hex(m_device_id) + ") for this protocol version. " @@ -207,7 +207,7 @@ void DeviceHandle::query_command_queue(){ // Don't let it get too large since we don't need it. command_queue_size = std::min( - command_queue_size, + (uint8_t)command_queue_size, ControllerSettings::instance().COMMAND_QUEUE_LIMIT ); diff --git a/SerialPrograms/Source/Controllers/StandardHid/StandardHid_Keyboard_PABotBase2.cpp b/SerialPrograms/Source/Controllers/StandardHid/StandardHid_Keyboard_PABotBase2.cpp index c57517b609..10f04ee0b4 100644 --- a/SerialPrograms/Source/Controllers/StandardHid/StandardHid_Keyboard_PABotBase2.cpp +++ b/SerialPrograms/Source/Controllers/StandardHid/StandardHid_Keyboard_PABotBase2.cpp @@ -251,7 +251,7 @@ void PABotBase2_Keyboard::execute_state( while (time_left > Milliseconds::zero()){ Milliseconds current = std::min(time_left, 65535ms); - request.milliseconds = current.count(); + request.milliseconds = (uint16_t)current.count(); m_connection.device().command_queue().send_command(cancellable, request); time_left -= current; } diff --git a/SerialPrograms/Source/NintendoSwitch/Controllers/PABotBase2/NintendoSwitch_PABotBase2_OemController.cpp b/SerialPrograms/Source/NintendoSwitch/Controllers/PABotBase2/NintendoSwitch_PABotBase2_OemController.cpp index 4a5eee0e91..246226a6ff 100644 --- a/SerialPrograms/Source/NintendoSwitch/Controllers/PABotBase2/NintendoSwitch_PABotBase2_OemController.cpp +++ b/SerialPrograms/Source/NintendoSwitch/Controllers/PABotBase2/NintendoSwitch_PABotBase2_OemController.cpp @@ -308,12 +308,14 @@ bool PABotBase2_OemController::run_preconnect_configure( } } +#ifdef QT_CORE_LIB NintendoSwitch::ControllerProfile profile = PokemonAutomation::NintendoSwitch::ConsoleSettings::instance().CONTROLLER_SETTINGS.get_or_make_profile( controller_mac_address, "", controller_type ); +#endif #if _WIN32 #pragma pack(push, 1) @@ -330,8 +332,9 @@ bool PABotBase2_OemController::run_preconnect_configure( #if _WIN32 #pragma pack(pop) #endif - Message message; + Message message{}; + #ifdef QT_CORE_LIB { Color color(profile.body_color); message.colors.body[0] = color.red(); @@ -356,6 +359,7 @@ bool PABotBase2_OemController::run_preconnect_configure( message.colors.right_grip[1] = color.green(); message.colors.right_grip[2] = color.blue(); } + #endif message.request.message_bytes = sizeof(message); @@ -472,7 +476,7 @@ void PABotBase2_OemController::issue_report( while (time_left > Milliseconds::zero()){ Milliseconds current = std::min(time_left, 65535ms); - request.milliseconds = current.count(); + request.milliseconds = (uint16_t)current.count(); m_connection.device().command_queue().send_command(cancellable, request); time_left -= current; } @@ -536,7 +540,7 @@ void PABotBase2_OemController::issue_report( while (time_left > Milliseconds::zero()){ Milliseconds current = std::min(time_left, 65535ms); - request.milliseconds = current.count(); + request.milliseconds = (uint16_t)current.count(); m_connection.device().command_queue().send_command(cancellable, request); time_left -= current; } @@ -743,7 +747,7 @@ PABotBase2_OemController::RumbleData PABotBase2_OemController::parse_rumble(cons return RumbleData{ rumble_index_to_freq(lo_freq_i), - rumble_index_to_amp(lo_amp_i), + rumble_index_to_amp((uint8_t)lo_amp_i), rumble_index_to_freq(hi_freq_i * 0.25 + 32), rumble_index_to_amp(hi_amp_i) }; diff --git a/SerialPrograms/Source/NintendoSwitch/Controllers/PABotBase2/NintendoSwitch_PABotBase2_WiredController.cpp b/SerialPrograms/Source/NintendoSwitch/Controllers/PABotBase2/NintendoSwitch_PABotBase2_WiredController.cpp index 81a7c202cc..37add1e652 100644 --- a/SerialPrograms/Source/NintendoSwitch/Controllers/PABotBase2/NintendoSwitch_PABotBase2_WiredController.cpp +++ b/SerialPrograms/Source/NintendoSwitch/Controllers/PABotBase2/NintendoSwitch_PABotBase2_WiredController.cpp @@ -213,7 +213,7 @@ void PABotBase2_WiredController::execute_state( while (time_left > Milliseconds::zero()){ Milliseconds current = std::min(time_left, 65535ms); - request.milliseconds = current.count(); + request.milliseconds = (uint16_t)current.count(); m_connection.device().command_queue().send_command(cancellable, request); time_left -= current; } diff --git a/SerialPrograms/Source/NintendoSwitch/DevPrograms/TestProgramComputer.cpp b/SerialPrograms/Source/NintendoSwitch/DevPrograms/TestProgramComputer.cpp index 90c2d23761..8278c06f82 100644 --- a/SerialPrograms/Source/NintendoSwitch/DevPrograms/TestProgramComputer.cpp +++ b/SerialPrograms/Source/NintendoSwitch/DevPrograms/TestProgramComputer.cpp @@ -61,7 +61,7 @@ #include "Common/Cpp/StreamConverters.h" #include "CommonFramework/AudioPipeline/AudioConstants.h" #include "CommonFramework/AudioPipeline/AudioStream.h" -#include "3rdParty/nlohmann/json.hpp" +#include "3rdParty-Core/nlohmann/json.hpp" #include "Common/Cpp/Json/JsonValue.h" #include "Common/Cpp/Json/JsonArray.h" #include "Common/Cpp/Json/JsonObject.h" diff --git a/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_Settings.cpp b/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_Settings.cpp index 3e60ada3f1..e654990e7f 100644 --- a/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_Settings.cpp +++ b/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_Settings.cpp @@ -161,7 +161,9 @@ ConsoleSettings::ConsoleSettings() ) , KEYBOARD_SECTION("Keyboard to Controller Mappings:") { +#ifdef QT_CORE_LIB PA_ADD_OPTION(CONTROLLER_SETTINGS); +#endif PA_ADD_OPTION(TRUST_USER_CONSOLE_SELECTION); PA_ADD_OPTION(BLIND_START_GAME_MASH); PA_ADD_OPTION(CLOSE_GAME_DELAY); diff --git a/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_Settings.h b/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_Settings.h index a7517f41fb..21e5d4927d 100644 --- a/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_Settings.h +++ b/SerialPrograms/Source/NintendoSwitch/NintendoSwitch_Settings.h @@ -13,7 +13,9 @@ #include "Common/Cpp/Options/TimeDurationOption.h" // #include "CommonFramework/Panels/SettingsPanel.h" #include "Options/NintendoSwitch_CodeEntrySettingsOption.h" +#ifdef QT_CORE_LIB #include "Controllers/NintendoSwitch_ControllerSettings.h" +#endif #include "Controllers/NintendoSwitch_KeyboardMapping.h" namespace PokemonAutomation{ @@ -40,7 +42,9 @@ class ConsoleSettings : public BatchOption{ public: static ConsoleSettings& instance(); +#ifdef QT_CORE_LIB ControllerSettingsTable CONTROLLER_SETTINGS; +#endif BooleanCheckBoxOption TRUST_USER_CONSOLE_SELECTION; MillisecondsOption BLIND_START_GAME_MASH; diff --git a/SerialPrograms/cmake/SourceFiles.cmake b/SerialPrograms/cmake/SourceFiles.cmake index c28c50f20f..454ed7ffc2 100644 --- a/SerialPrograms/cmake/SourceFiles.cmake +++ b/SerialPrograms/cmake/SourceFiles.cmake @@ -7,21 +7,15 @@ set(EXECUTABLE_SOURCES "Source/CommonFramework/Main.cpp" ${DARK_STYLE_RES}) # Note: Command-line executable sources are defined in Source/CommandLine/CommandLineExecutable.cmake -file(GLOB LIBRARY_SOURCES - ../3rdParty/miniz-3.1.1/miniz.h - ../3rdParty/miniz-3.1.1/miniz.c - ../3rdParty/ONNX/OnnxToolsPA.h - ../3rdParty/QtWavFile/WavFile.cpp - ../3rdParty/QtWavFile/WavFile.h - ../3rdParty/TesseractPA/TesseractPA.cpp - ../3rdParty/TesseractPA/TesseractPA.h +file(GLOB CORE_LIBRARY_SOURCES + ../3rdParty-Core/miniz-3.1.1/miniz.c + ../3rdParty-Core/miniz-3.1.1/miniz.h ../Common/Compiler.h - ../Common/ControllerStates/HID_Keyboard_State.h ../Common/ControllerStates/NintendoSwitch_OemController_State.cpp ../Common/ControllerStates/NintendoSwitch_OemController_State.h ../Common/ControllerStates/NintendoSwitch_WiredController_State.h - ../Common/Cpp/BitmapConversion.cpp - ../Common/Cpp/BitmapConversion.h + ../Common/ControllerStates/StandardHid_Keyboard_State.c + ../Common/ControllerStates/StandardHid_Keyboard_State.h ../Common/Cpp/CancellableScope.cpp ../Common/Cpp/CancellableScope.h ../Common/Cpp/Color.cpp @@ -30,16 +24,10 @@ file(GLOB LIBRARY_SOURCES ../Common/Cpp/ColoredText.h ../Common/Cpp/Concurrency/AsyncTask.h ../Common/Cpp/Concurrency/Backends/AsyncTask_Default.h - ../Common/Cpp/Concurrency/Backends/Thread_Qt.tpp ../Common/Cpp/Concurrency/Backends/Thread_StdThread.tpp - ../Common/Cpp/Concurrency/Backends/Thread_StdThreadDetach.tpp ../Common/Cpp/Concurrency/Backends/ThreadPool_Default.cpp ../Common/Cpp/Concurrency/Backends/ThreadPool_Default.h - ../Common/Cpp/Concurrency/BusyPeriodicRunner.cpp - ../Common/Cpp/Concurrency/BusyPeriodicRunner.h ../Common/Cpp/Concurrency/ConditionVariable.h - ../Common/Cpp/Concurrency/FireForgetDispatcher.cpp - ../Common/Cpp/Concurrency/FireForgetDispatcher.h ../Common/Cpp/Concurrency/Mutex.h ../Common/Cpp/Concurrency/PeriodicRunner.cpp ../Common/Cpp/Concurrency/PeriodicRunner.h @@ -59,15 +47,11 @@ file(GLOB LIBRARY_SOURCES ../Common/Cpp/Containers/AlignedMalloc.h ../Common/Cpp/Containers/AlignedVector.h ../Common/Cpp/Containers/AlignedVector.tpp - ../Common/Cpp/Containers/BoxSet.h ../Common/Cpp/Containers/CircularBuffer.h - ../Common/Cpp/Containers/DllSafeString.h ../Common/Cpp/Containers/FixedLimitVector.h ../Common/Cpp/Containers/FixedLimitVector.tpp ../Common/Cpp/Containers/Pimpl.h ../Common/Cpp/Containers/Pimpl.tpp - ../Common/Cpp/Containers/SparseArray.cpp - ../Common/Cpp/Containers/SparseArray.h ../Common/Cpp/CpuId/CpuId.cpp ../Common/Cpp/CpuId/CpuId.h ../Common/Cpp/CpuId/CpuId_arm64.h @@ -82,7 +66,6 @@ file(GLOB LIBRARY_SOURCES ../Common/Cpp/CpuUtilization/CpuUtilization_Windows.tpp ../Common/Cpp/Cryptography/SHA256.cpp ../Common/Cpp/Cryptography/SHA256.h - ../Common/Cpp/DateTime.h ../Common/Cpp/EarlyShutdown.h ../Common/Cpp/EnumStringMap.h ../Common/Cpp/EventRateTracker.h @@ -98,7 +81,6 @@ file(GLOB LIBRARY_SOURCES ../Common/Cpp/Filesystem/Filesystem.h ../Common/Cpp/Filesystem/Filesystem_Linux.h ../Common/Cpp/Filesystem/Filesystem_Mac.h - ../Common/Cpp/Filesystem/Filesystem_Qt.h ../Common/Cpp/Filesystem/Filesystem_Windows.h ../Common/Cpp/Hardware/Hardware.cpp ../Common/Cpp/Hardware/Hardware.h @@ -127,115 +109,298 @@ file(GLOB LIBRARY_SOURCES ../Common/Cpp/Logging/LastLogTracker.cpp ../Common/Cpp/Logging/LastLogTracker.h ../Common/Cpp/Logging/MultiOutputLogger.h - ../Common/Cpp/Logging/OutputRedirector.cpp - ../Common/Cpp/Logging/OutputRedirector.h ../Common/Cpp/Logging/TaggedLogger.cpp ../Common/Cpp/Logging/TaggedLogger.h - ../Common/Cpp/MemoryUtilization/MemoryUtilization.cpp - ../Common/Cpp/MemoryUtilization/MemoryUtilization.h - ../Common/Cpp/MemoryUtilization/MemoryUtilization_Linux.tpp - ../Common/Cpp/MemoryUtilization/MemoryUtilization_Mac.tpp - ../Common/Cpp/MemoryUtilization/MemoryUtilization_Windows.tpp ../Common/Cpp/Options/BatchOption.cpp ../Common/Cpp/Options/BatchOption.h ../Common/Cpp/Options/BooleanCheckBoxOption.cpp ../Common/Cpp/Options/BooleanCheckBoxOption.h - ../Common/Cpp/Options/BoxFloatOption.cpp - ../Common/Cpp/Options/BoxFloatOption.h ../Common/Cpp/Options/ButtonOption.cpp ../Common/Cpp/Options/ButtonOption.h - ../Common/Cpp/Options/CheckboxDropdownDatabase.h - ../Common/Cpp/Options/CheckboxDropdownOption.cpp - ../Common/Cpp/Options/CheckboxDropdownOption.h - ../Common/Cpp/Options/CheckboxDropdownOption.tpp ../Common/Cpp/Options/ColorOption.cpp ../Common/Cpp/Options/ColorOption.h ../Common/Cpp/Options/ConfigOption.cpp ../Common/Cpp/Options/ConfigOption.h - ../Common/Cpp/Options/DateOption.cpp - ../Common/Cpp/Options/DateOption.h ../Common/Cpp/Options/EditableTableOption.cpp ../Common/Cpp/Options/EditableTableOption.h ../Common/Cpp/Options/EnumDropdownDatabase.cpp ../Common/Cpp/Options/EnumDropdownDatabase.h ../Common/Cpp/Options/EnumDropdownOption.cpp ../Common/Cpp/Options/EnumDropdownOption.h - ../Common/Cpp/Options/FixedCodeOption.cpp - ../Common/Cpp/Options/FixedCodeOption.h ../Common/Cpp/Options/FloatingPointOption.cpp ../Common/Cpp/Options/FloatingPointOption.h ../Common/Cpp/Options/GroupOption.cpp ../Common/Cpp/Options/GroupOption.h - ../Common/Cpp/Options/IntegerRangeOption.cpp - ../Common/Cpp/Options/IntegerRangeOption.h ../Common/Cpp/Options/KeyboardLayoutOption.cpp ../Common/Cpp/Options/KeyboardLayoutOption.h ../Common/Cpp/Options/MacAddressOption.cpp ../Common/Cpp/Options/MacAddressOption.h - ../Common/Cpp/Options/PathOption.cpp - ../Common/Cpp/Options/PathOption.h - ../Common/Cpp/Options/RandomCodeOption.cpp - ../Common/Cpp/Options/RandomCodeOption.h - ../Common/Cpp/Options/SimpleIntegerOptionBase.h ../Common/Cpp/Options/SimpleIntegerOption.cpp ../Common/Cpp/Options/SimpleIntegerOption.h + ../Common/Cpp/Options/SimpleIntegerOptionBase.h ../Common/Cpp/Options/StaticTableOption.cpp ../Common/Cpp/Options/StaticTableOption.h ../Common/Cpp/Options/StaticTextOption.cpp ../Common/Cpp/Options/StaticTextOption.h ../Common/Cpp/Options/StringOption.cpp ../Common/Cpp/Options/StringOption.h - ../Common/Cpp/Options/TextEditOption.cpp - ../Common/Cpp/Options/TextEditOption.h ../Common/Cpp/Options/TimeDurationOption.cpp ../Common/Cpp/Options/TimeDurationOption.h - ../Common/Cpp/Options/TimeExpressionOption.cpp - ../Common/Cpp/Options/TimeExpressionOption.h ../Common/Cpp/PanicDump.cpp ../Common/Cpp/PanicDump.h - ../Common/Cpp/PixelRGB32.h ../Common/Cpp/PrettyPrint.cpp ../Common/Cpp/PrettyPrint.h - ../Common/Cpp/PrintDebuggers.h - ../Common/Cpp/Rectangle.h - ../Common/Cpp/Rectangle.tpp ../Common/Cpp/RecursiveThrottler.h ../Common/Cpp/ScopeExit.h - ../Common/Cpp/SIMDDebuggers.h - ../Common/Cpp/SparseRegion.cpp - ../Common/Cpp/SparseRegion.h ../Common/Cpp/SerialConnection/SerialConnection.cpp ../Common/Cpp/SerialConnection/SerialConnection.h ../Common/Cpp/SerialConnection/SerialConnectionPOSIX.h ../Common/Cpp/SerialConnection/SerialConnectionWinAPI.h - ../Common/Cpp/StreamConnections/MockDevice.cpp - ../Common/Cpp/StreamConnections/MockDevice.h + ../Common/Cpp/SparseRegion.cpp + ../Common/Cpp/SparseRegion.h + ../Common/Cpp/Stopwatch.h ../Common/Cpp/StreamConnections/PollingStreamConnections.h ../Common/Cpp/StreamConnections/PushingStreamConnections.h ../Common/Cpp/StreamConnections/StreamInterface.h - ../Common/Cpp/Sockets/AbstractClientSocket.h - ../Common/Cpp/Sockets/ClientSocket.cpp - ../Common/Cpp/Sockets/ClientSocket.h - ../Common/Cpp/Sockets/ClientSocket_POSIX.h - ../Common/Cpp/Sockets/ClientSocket_Qt.h - ../Common/Cpp/Sockets/ClientSocket_WinSocket.h - ../Common/Cpp/Stopwatch.h ../Common/Cpp/StreamConverters.cpp ../Common/Cpp/StreamConverters.h ../Common/Cpp/Strings/StringTools.cpp ../Common/Cpp/Strings/StringTools.h ../Common/Cpp/Strings/Unicode.cpp ../Common/Cpp/Strings/Unicode.h - ../Common/Cpp/TestRunners/UnitTest.h - ../Common/Cpp/TestRunners/UnitTestDatabase.h - ../Common/Cpp/TestRunners/ParallelUnitTestRunner.cpp - ../Common/Cpp/TestRunners/ParallelUnitTestRunner.h ../Common/Cpp/Time.cpp ../Common/Cpp/Time.h ../Common/Cpp/UiWrapper.h - ../Common/Cpp/ValueDebouncer.h ../Common/CRC32/pabb_CRC32.c ../Common/CRC32/pabb_CRC32.h + ../Common/PABotBase2/Controllers/PABotBase2_Controller_HID_Keyboard.h + ../Common/PABotBase2/Controllers/PABotBase2_Controller_NS1_OemController.h + ../Common/PABotBase2/Controllers/PABotBase2_Controller_NS_WiredController.h + ../Common/PABotBase2/PABotBase2_MessageProtocol.h + ../Common/PABotBase2/PABotBase2CC_MessageDumper.cpp + ../Common/PABotBase2/PABotBase2CC_MessageDumper.h + ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2_ConnectionDebug.cpp + ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2_ConnectionDebug.h + ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2_PacketParser.cpp + ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2_PacketParser.h + ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2_PacketProtocol.h + ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2_PacketSender.cpp + ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2_PacketSender.h + ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2_StreamCoalescer.cpp + ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2_StreamCoalescer.h + ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2CC_ReliableStreamConnection.cpp + ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2CC_ReliableStreamConnection.h + ../Common/SerialPABotBase/SerialPABotBase_Protocol_IDs.h + Source/CommonFramework/Environment/Environment.cpp + Source/CommonFramework/Environment/Environment.h + Source/CommonFramework/Environment/Environment_Linux.h + Source/CommonFramework/Environment/Environment_Linux.tpp + Source/CommonFramework/Environment/Environment_Windows.h + Source/CommonFramework/Environment/Environment_Windows.tpp + Source/CommonFramework/GlobalAutoPaths.cpp + Source/CommonFramework/GlobalAutoPaths.h + Source/CommonFramework/Globals.cpp + Source/CommonFramework/Globals.h + Source/CommonFramework/GlobalServices.cpp + Source/CommonFramework/GlobalServices.h + Source/CommonFramework/ImageTypes/ImageRGB32.cpp + Source/CommonFramework/ImageTypes/ImageRGB32.h + Source/CommonFramework/ImageTypes/ImageViewPlanar32.cpp + Source/CommonFramework/ImageTypes/ImageViewPlanar32.h + Source/CommonFramework/ImageTypes/ImageViewRGB32.cpp + Source/CommonFramework/ImageTypes/ImageViewRGB32.h + Source/CommonFramework/Logging/Logger.cpp + Source/CommonFramework/Logging/Logger.h + Source/CommonFramework/Options/CheckForUpdatesOption.h + Source/CommonFramework/Options/Environment/CoreAffinityOption.cpp + Source/CommonFramework/Options/Environment/CoreAffinityOption.h + Source/CommonFramework/Options/Environment/PerformanceOptions.cpp + Source/CommonFramework/Options/Environment/PerformanceOptions.h + Source/CommonFramework/Options/Environment/ProcessorLevelOption.cpp + Source/CommonFramework/Options/Environment/ProcessorLevelOption.h + Source/CommonFramework/Options/Environment/ProcessPriorityOption.h + Source/CommonFramework/Options/ThreadPoolOption.cpp + Source/CommonFramework/Options/ThreadPoolOption.h + Source/CommonFramework/StaticGlobals.cpp + Source/CommonFramework/StaticGlobals.h + Source/CommonFramework/Tools/FileHash.cpp + Source/CommonFramework/Tools/FileHash.h + Source/CommonFramework/Tools/FileUnzip.cpp + Source/CommonFramework/Tools/FileUnzip.h + Source/CommonFramework/Tools/GlobalThreadPools.cpp + Source/CommonFramework/Tools/GlobalThreadPools.h + Source/CommonFramework/Tools/StatAccumulator.cpp + Source/CommonFramework/Tools/StatAccumulator.h + Source/CommonTools/Async/InterruptableCommands.cpp + Source/CommonTools/Async/InterruptableCommands.h + Source/CommonTools/Async/InterruptableCommands.tpp + Source/CommonTools/InferenceCallbacks/InferenceCallback.h + Source/CommonTools/Options/StringSelectOption.cpp + Source/CommonTools/Options/StringSelectOption.h + Source/CommonTools/Random.cpp + Source/CommonTools/Random.h + Source/CompileTimeBackends.h + Source/ControllerInput/ControllerInput.cpp + Source/ControllerInput/ControllerInput.h + Source/ControllerInput/Keyboard/KeyBindingOption.cpp + Source/ControllerInput/Keyboard/KeyBindingOption.h + Source/ControllerInput/Keyboard/KeyboardHidButtons.h + Source/ControllerInput/Keyboard/KeyboardInput_State.cpp + Source/ControllerInput/Keyboard/KeyboardInput_State.h + Source/Controllers/Controller.cpp + Source/Controllers/Controller.h + Source/Controllers/ControllerConnection.cpp + Source/Controllers/ControllerConnection.h + Source/Controllers/ControllerDescriptor.cpp + Source/Controllers/ControllerDescriptor.h + Source/Controllers/ControllerOption.cpp + Source/Controllers/ControllerOption.h + Source/Controllers/ControllerSession.cpp + Source/Controllers/ControllerSession.h + Source/Controllers/ControllerState.cpp + Source/Controllers/ControllerState.h + Source/Controllers/ControllerStatusThread.h + Source/Controllers/ControllerTypes.h + Source/Controllers/ControllerTypeStrings.cpp + Source/Controllers/ControllerTypeStrings.h + Source/Controllers/Joystick.cpp + Source/Controllers/Joystick.h + Source/Controllers/JoystickTools.h + Source/Controllers/NullController.cpp + Source/Controllers/NullController.h + Source/Controllers/PABotBase2/PABotBase2_CommandQueueManager.cpp + Source/Controllers/PABotBase2/PABotBase2_CommandQueueManager.h + Source/Controllers/PABotBase2/PABotBase2_Connection.cpp + Source/Controllers/PABotBase2/PABotBase2_Connection.h + Source/Controllers/PABotBase2/PABotBase2_DeviceHandle.cpp + Source/Controllers/PABotBase2/PABotBase2_DeviceHandle.h + Source/Controllers/PABotBase2/PABotBase2_MessageHandler.cpp + Source/Controllers/PABotBase2/PABotBase2_MessageHandler.h + Source/Controllers/PABotBase2/SerialPABotBase2_Connection.cpp + Source/Controllers/PABotBase2/SerialPABotBase2_Connection.h + Source/Controllers/PABotBase2/SerialPABotBase2_Descriptor.cpp + Source/Controllers/PABotBase2/SerialPABotBase2_Descriptor.h + Source/Controllers/RumbleListener.h + Source/Controllers/Schedulers/ControllerWithScheduler.h + Source/Controllers/Schedulers/SuperscalarScheduler.cpp + Source/Controllers/Schedulers/SuperscalarScheduler.h + Source/Controllers/SerialPort/SerialLogger.cpp + Source/Controllers/SerialPort/SerialLogger.h + Source/Controllers/SerialPort/SerialPABotBase.cpp + Source/Controllers/SerialPort/SerialPABotBase.h + Source/Controllers/StandardHid/StandardHid_Keyboard.cpp + Source/Controllers/StandardHid/StandardHid_Keyboard.h + Source/Controllers/StandardHid/StandardHid_Keyboard_PABotBase2.cpp + Source/Controllers/StandardHid/StandardHid_Keyboard_PABotBase2.h + Source/Controllers/StandardHid/StandardHid_KeyboardWithScheduler.cpp + Source/Controllers/StandardHid/StandardHid_KeyboardWithScheduler.h + Source/Integrations/PybindSwitchController.cpp + Source/Integrations/PybindSwitchController.h + Source/NintendoSwitch/Controllers/Joycon/NintendoSwitch_Joycon.cpp + Source/NintendoSwitch/Controllers/Joycon/NintendoSwitch_Joycon.h + Source/NintendoSwitch/Controllers/Joycon/NintendoSwitch_Joycon_from_Keyboard.cpp + Source/NintendoSwitch/Controllers/Joycon/NintendoSwitch_Joycon_from_Keyboard.h + Source/NintendoSwitch/Controllers/Joycon/NintendoSwitch_JoyconState.cpp + Source/NintendoSwitch/Controllers/Joycon/NintendoSwitch_JoyconState.h + Source/NintendoSwitch/Controllers/NintendoSwitch_ControllerButtons.cpp + Source/NintendoSwitch/Controllers/NintendoSwitch_ControllerButtons.h + Source/NintendoSwitch/Controllers/NintendoSwitch_ControllerSettings.cpp + Source/NintendoSwitch/Controllers/NintendoSwitch_ControllerSettings.h + Source/NintendoSwitch/Controllers/NintendoSwitch_ControllerWithScheduler.cpp + Source/NintendoSwitch/Controllers/NintendoSwitch_ControllerWithScheduler.h + Source/NintendoSwitch/Controllers/NintendoSwitch_KeyboardMapping.cpp + Source/NintendoSwitch/Controllers/NintendoSwitch_KeyboardMapping.h + Source/NintendoSwitch/Controllers/NintendoSwitch_VirtualControllerState.cpp + Source/NintendoSwitch/Controllers/NintendoSwitch_VirtualControllerState.h + Source/NintendoSwitch/Controllers/PABotBase2/NintendoSwitch_PABotBase2_Controller.cpp + Source/NintendoSwitch/Controllers/PABotBase2/NintendoSwitch_PABotBase2_Controller.h + Source/NintendoSwitch/Controllers/PABotBase2/NintendoSwitch_PABotBase2_Joycon.h + Source/NintendoSwitch/Controllers/PABotBase2/NintendoSwitch_PABotBase2_OemController.cpp + Source/NintendoSwitch/Controllers/PABotBase2/NintendoSwitch_PABotBase2_OemController.h + Source/NintendoSwitch/Controllers/PABotBase2/NintendoSwitch_PABotBase2_ProController.h + Source/NintendoSwitch/Controllers/PABotBase2/NintendoSwitch_PABotBase2_WiredController.cpp + Source/NintendoSwitch/Controllers/PABotBase2/NintendoSwitch_PABotBase2_WiredController.h + Source/NintendoSwitch/Controllers/Procon/NintendoSwitch_ProController.cpp + Source/NintendoSwitch/Controllers/Procon/NintendoSwitch_ProController.h + Source/NintendoSwitch/Controllers/Procon/NintendoSwitch_ProController_from_Keyboard.cpp + Source/NintendoSwitch/Controllers/Procon/NintendoSwitch_ProController_from_Keyboard.h + Source/NintendoSwitch/Controllers/Procon/NintendoSwitch_ProControllerState.cpp + Source/NintendoSwitch/Controllers/Procon/NintendoSwitch_ProControllerState.h + Source/NintendoSwitch/NintendoSwitch_Settings.cpp + Source/NintendoSwitch/NintendoSwitch_Settings.h + Source/NintendoSwitch/Options/NintendoSwitch_CodeEntrySettingsOption.cpp + Source/NintendoSwitch/Options/NintendoSwitch_CodeEntrySettingsOption.h + Source/NintendoSwitch/Programs/FastCodeEntry/NintendoSwitch_KeyboardEntryMappings.cpp + Source/NintendoSwitch/Programs/FastCodeEntry/NintendoSwitch_KeyboardEntryMappings.h +) + +file(GLOB LIBRARY_SOURCES + ../3rdParty/ONNX/OnnxToolsPA.h + ../3rdParty/QtWavFile/WavFile.cpp + ../3rdParty/QtWavFile/WavFile.h + ../3rdParty/TesseractPA/TesseractPA.cpp + ../3rdParty/TesseractPA/TesseractPA.h + ../Common/Cpp/BitmapConversion.cpp + ../Common/Cpp/BitmapConversion.h + ../Common/Cpp/Concurrency/Backends/Thread_Qt.tpp + ../Common/Cpp/Concurrency/Backends/Thread_StdThreadDetach.tpp + ../Common/Cpp/Concurrency/BusyPeriodicRunner.cpp + ../Common/Cpp/Concurrency/BusyPeriodicRunner.h + ../Common/Cpp/Concurrency/FireForgetDispatcher.cpp + ../Common/Cpp/Concurrency/FireForgetDispatcher.h + ../Common/Cpp/Containers/BoxSet.h + ../Common/Cpp/Containers/DllSafeString.h + ../Common/Cpp/Containers/SparseArray.cpp + ../Common/Cpp/Containers/SparseArray.h + ../Common/Cpp/DateTime.h + ../Common/Cpp/Filesystem/Filesystem_Qt.h + ../Common/Cpp/Logging/OutputRedirector.cpp + ../Common/Cpp/Logging/OutputRedirector.h + ../Common/Cpp/MemoryUtilization/MemoryUtilization.cpp + ../Common/Cpp/MemoryUtilization/MemoryUtilization.h + ../Common/Cpp/MemoryUtilization/MemoryUtilization_Linux.tpp + ../Common/Cpp/MemoryUtilization/MemoryUtilization_Mac.tpp + ../Common/Cpp/MemoryUtilization/MemoryUtilization_Windows.tpp + ../Common/Cpp/Options/BoxFloatOption.cpp + ../Common/Cpp/Options/BoxFloatOption.h + ../Common/Cpp/Options/CheckboxDropdownDatabase.h + ../Common/Cpp/Options/CheckboxDropdownOption.cpp + ../Common/Cpp/Options/CheckboxDropdownOption.h + ../Common/Cpp/Options/CheckboxDropdownOption.tpp + ../Common/Cpp/Options/DateOption.cpp + ../Common/Cpp/Options/DateOption.h + ../Common/Cpp/Options/FixedCodeOption.cpp + ../Common/Cpp/Options/FixedCodeOption.h + ../Common/Cpp/Options/IntegerRangeOption.cpp + ../Common/Cpp/Options/IntegerRangeOption.h + ../Common/Cpp/Options/PathOption.cpp + ../Common/Cpp/Options/PathOption.h + ../Common/Cpp/Options/RandomCodeOption.cpp + ../Common/Cpp/Options/RandomCodeOption.h + ../Common/Cpp/Options/TextEditOption.cpp + ../Common/Cpp/Options/TextEditOption.h + ../Common/Cpp/Options/TimeExpressionOption.cpp + ../Common/Cpp/Options/TimeExpressionOption.h + ../Common/Cpp/PixelRGB32.h + ../Common/Cpp/PrintDebuggers.h + ../Common/Cpp/Rectangle.h + ../Common/Cpp/Rectangle.tpp + ../Common/Cpp/SIMDDebuggers.h + ../Common/Cpp/Sockets/AbstractClientSocket.h + ../Common/Cpp/Sockets/ClientSocket.cpp + ../Common/Cpp/Sockets/ClientSocket.h + ../Common/Cpp/Sockets/ClientSocket_POSIX.h + ../Common/Cpp/Sockets/ClientSocket_Qt.h + ../Common/Cpp/Sockets/ClientSocket_WinSocket.h + ../Common/Cpp/StreamConnections/MockDevice.cpp + ../Common/Cpp/StreamConnections/MockDevice.h + ../Common/Cpp/TestRunners/ParallelUnitTestRunner.cpp + ../Common/Cpp/TestRunners/ParallelUnitTestRunner.h + ../Common/Cpp/TestRunners/UnitTest.h + ../Common/Cpp/TestRunners/UnitTestDatabase.h + ../Common/Cpp/ValueDebouncer.h + ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2FW_ReliableStreamConnection.cpp + ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2FW_ReliableStreamConnection.h ../Common/Qt/AutoHeightTable.cpp ../Common/Qt/AutoHeightTable.h ../Common/Qt/AutoWidthLineEdit.cpp @@ -248,8 +413,6 @@ file(GLOB LIBRARY_SOURCES ../Common/Qt/GlobalThreadPoolsQt.cpp ../Common/Qt/GlobalThreadPoolsQt.h ../Common/Qt/NoWheelComboBox.h - ../Common/Qt/QtThreadPool.cpp - ../Common/Qt/QtThreadPool.h ../Common/Qt/Options/BatchWidget.cpp ../Common/Qt/Options/BatchWidget.h ../Common/Qt/Options/BooleanCheckBoxWidget.cpp @@ -298,6 +461,8 @@ file(GLOB LIBRARY_SOURCES ../Common/Qt/Options/TimeDurationWidget.h ../Common/Qt/Options/TimeExpressionWidget.cpp ../Common/Qt/Options/TimeExpressionWidget.h + ../Common/Qt/QtThreadPool.cpp + ../Common/Qt/QtThreadPool.h ../Common/Qt/Redispatch.cpp ../Common/Qt/Redispatch.h ../Common/Qt/ShutdownWithEvents.h @@ -309,30 +474,10 @@ file(GLOB LIBRARY_SOURCES ../Common/Qt/UiStateQtWidget.h ../Common/Qt/WidgetStackFixedAspectRatio.cpp ../Common/Qt/WidgetStackFixedAspectRatio.h - ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2_ConnectionDebug.cpp - ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2_ConnectionDebug.h - ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2_PacketParser.cpp - ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2_PacketParser.h - ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2_PacketProtocol.h - ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2_PacketSender.cpp - ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2_PacketSender.h - ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2_StreamCoalescer.cpp - ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2_StreamCoalescer.h - ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2CC_ReliableStreamConnection.cpp - ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2CC_ReliableStreamConnection.h - ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2FW_ReliableStreamConnection.cpp - ../Common/PABotBase2/ReliableConnectionLayer/PABotBase2FW_ReliableStreamConnection.h - ../Common/PABotBase2/Controllers/PABotBase2_Controller_HID_Keyboard.h - ../Common/PABotBase2/Controllers/PABotBase2_Controller_NS_WiredController.h - ../Common/PABotBase2/Controllers/PABotBase2_Controller_NS1_OemController.h - ../Common/PABotBase2/PABotBase2CC_MessageDumper.cpp - ../Common/PABotBase2/PABotBase2CC_MessageDumper.h - ../Common/PABotBase2/PABotBase2_MessageProtocol.h ../Common/SerialPABotBase/SerialPABotBase_Messages_HID_Keyboard.h ../Common/SerialPABotBase/SerialPABotBase_Messages_NS1_OemControllers.h ../Common/SerialPABotBase/SerialPABotBase_Messages_NS_WiredController.h ../Common/SerialPABotBase/SerialPABotBase_Protocol.h - ../Common/SerialPABotBase/SerialPABotBase_Protocol_IDs.h Source/CommonFramework/AudioPipeline/AudioConstants.h Source/CommonFramework/AudioPipeline/AudioFeed.h Source/CommonFramework/AudioPipeline/AudioInfo.cpp @@ -376,12 +521,6 @@ file(GLOB LIBRARY_SOURCES Source/CommonFramework/AudioPipeline/UI/AudioDisplayWidget.h Source/CommonFramework/AudioPipeline/UI/AudioSelectorWidget.cpp Source/CommonFramework/AudioPipeline/UI/AudioSelectorWidget.h - Source/CommonFramework/Environment/Environment.cpp - Source/CommonFramework/Environment/Environment.h - Source/CommonFramework/Environment/Environment_Linux.h - Source/CommonFramework/Environment/Environment_Linux.tpp - Source/CommonFramework/Environment/Environment_Windows.h - Source/CommonFramework/Environment/Environment_Windows.tpp Source/CommonFramework/Environment/HardwareValidation.cpp Source/CommonFramework/Environment/HardwareValidation.h Source/CommonFramework/Environment/HardwareValidation_arm64.tpp @@ -405,14 +544,8 @@ file(GLOB LIBRARY_SOURCES Source/CommonFramework/Exceptions/ProgramFinishedException.cpp Source/CommonFramework/Exceptions/ProgramFinishedException.h Source/CommonFramework/Exceptions/UnexpectedBattleException.h - Source/CommonFramework/GlobalAutoPaths.cpp - Source/CommonFramework/GlobalAutoPaths.h - Source/CommonFramework/GlobalServices.cpp - Source/CommonFramework/GlobalServices.h Source/CommonFramework/GlobalSettingsPanel.cpp Source/CommonFramework/GlobalSettingsPanel.h - Source/CommonFramework/Globals.cpp - Source/CommonFramework/Globals.h Source/CommonFramework/ImageTools/FloatPixel.cpp Source/CommonFramework/ImageTools/FloatPixel.h Source/CommonFramework/ImageTools/ImageBoxes.cpp @@ -425,24 +558,16 @@ file(GLOB LIBRARY_SOURCES Source/CommonFramework/ImageTypes/BinaryImage.h Source/CommonFramework/ImageTypes/ImageHSV32.cpp Source/CommonFramework/ImageTypes/ImageHSV32.h - Source/CommonFramework/ImageTypes/ImageRGB32.cpp - Source/CommonFramework/ImageTypes/ImageRGB32.h Source/CommonFramework/ImageTypes/ImageRGB32_OpenCV.cpp Source/CommonFramework/ImageTypes/ImageRGB32_OpenCV.h Source/CommonFramework/ImageTypes/ImageRGB32_Qt.cpp Source/CommonFramework/ImageTypes/ImageRGB32_Qt.h Source/CommonFramework/ImageTypes/ImageViewHSV32.cpp Source/CommonFramework/ImageTypes/ImageViewHSV32.h - Source/CommonFramework/ImageTypes/ImageViewPlanar32.cpp - Source/CommonFramework/ImageTypes/ImageViewPlanar32.h - Source/CommonFramework/ImageTypes/ImageViewRGB32.cpp - Source/CommonFramework/ImageTypes/ImageViewRGB32.h Source/CommonFramework/Language.cpp Source/CommonFramework/Language.h Source/CommonFramework/Logging/LoggerWindow.cpp Source/CommonFramework/Logging/LoggerWindow.h - Source/CommonFramework/Logging/Logger.cpp - Source/CommonFramework/Logging/Logger.h Source/CommonFramework/Logging/OutputRedirector.h Source/CommonFramework/Logging/QueuedLogger.cpp Source/CommonFramework/Logging/QueuedLogger.h @@ -461,15 +586,7 @@ file(GLOB LIBRARY_SOURCES Source/CommonFramework/Notifications/SenderNotificationTable.h Source/CommonFramework/Options/BoxOption.cpp Source/CommonFramework/Options/BoxOption.h - Source/CommonFramework/Options/CheckForUpdatesOption.h - Source/CommonFramework/Options/Environment/CoreAffinityOption.cpp - Source/CommonFramework/Options/Environment/CoreAffinityOption.h Source/CommonFramework/Options/Environment/OnnxOptions.h - Source/CommonFramework/Options/Environment/PerformanceOptions.cpp - Source/CommonFramework/Options/Environment/PerformanceOptions.h - Source/CommonFramework/Options/Environment/ProcessPriorityOption.h - Source/CommonFramework/Options/Environment/ProcessorLevelOption.cpp - Source/CommonFramework/Options/Environment/ProcessorLevelOption.h Source/CommonFramework/Options/Environment/SleepSuppressOption.cpp Source/CommonFramework/Options/Environment/SleepSuppressOption.h Source/CommonFramework/Options/Environment/ThemeSelectorOption.cpp @@ -483,8 +600,6 @@ file(GLOB LIBRARY_SOURCES Source/CommonFramework/Options/ResolutionOption.cpp Source/CommonFramework/Options/ResolutionOption.h Source/CommonFramework/Options/ScreenshotFormatOption.h - Source/CommonFramework/Options/ThreadPoolOption.cpp - Source/CommonFramework/Options/ThreadPoolOption.h Source/CommonFramework/Panels/ConsoleSettingsStretch.h Source/CommonFramework/Panels/PanelDescriptor.cpp Source/CommonFramework/Panels/PanelDescriptor.h @@ -509,8 +624,6 @@ file(GLOB LIBRARY_SOURCES Source/CommonFramework/PersistentSettings.h Source/CommonFramework/ProgramSession.cpp Source/CommonFramework/ProgramSession.h - Source/CommonFramework/StaticGlobals.cpp - Source/CommonFramework/StaticGlobals.h Source/CommonFramework/ProgramStats/StatsDatabase.cpp Source/CommonFramework/ProgramStats/StatsDatabase.h Source/CommonFramework/ProgramStats/StatsTracking.cpp @@ -538,8 +651,6 @@ file(GLOB LIBRARY_SOURCES Source/CommonFramework/ResourceDownload/ResourceDownload.h Source/CommonFramework/ResourceDownload/ResourceDownloadHelpers.cpp Source/CommonFramework/ResourceDownload/ResourceDownloadHelpers.h - Source/CommonFramework/ResourceDownload/ResourceDownloadHelpersQt.cpp - Source/CommonFramework/ResourceDownload/ResourceDownloadHelpersQt.h Source/CommonFramework/ResourceDownload/SettingsResourceDownloadOptions.cpp Source/CommonFramework/ResourceDownload/SettingsResourceDownloadOptions.h Source/CommonFramework/ResourceDownload/SettingsResourceDownloadRow.cpp @@ -558,16 +669,8 @@ file(GLOB LIBRARY_SOURCES Source/CommonFramework/Tools/ErrorDumper.h Source/CommonFramework/Tools/FileDownloader.cpp Source/CommonFramework/Tools/FileDownloader.h - Source/CommonFramework/Tools/FileHash.cpp - Source/CommonFramework/Tools/FileHash.h - Source/CommonFramework/Tools/FileUnzip.cpp - Source/CommonFramework/Tools/FileUnzip.h - Source/CommonFramework/Tools/GlobalThreadPools.cpp - Source/CommonFramework/Tools/GlobalThreadPools.h Source/CommonFramework/Tools/ProgramEnvironment.cpp Source/CommonFramework/Tools/ProgramEnvironment.h - Source/CommonFramework/Tools/StatAccumulator.cpp - Source/CommonFramework/Tools/StatAccumulator.h Source/CommonFramework/Tools/VideoStream.cpp Source/CommonFramework/Tools/VideoStream.h Source/CommonFramework/VideoPipeline/Backends/CameraImplementations.cpp @@ -642,9 +745,6 @@ file(GLOB LIBRARY_SOURCES Source/CommonTools/Async/InferenceRoutines.h Source/CommonTools/Async/InferenceSession.cpp Source/CommonTools/Async/InferenceSession.h - Source/CommonTools/Async/InterruptableCommands.cpp - Source/CommonTools/Async/InterruptableCommands.h - Source/CommonTools/Async/InterruptableCommands.tpp Source/CommonTools/Async/SuperControlSession.cpp Source/CommonTools/Async/SuperControlSession.h Source/CommonTools/Async/SuperControlSession.tpp @@ -696,7 +796,6 @@ file(GLOB LIBRARY_SOURCES Source/CommonTools/Images/WaterfillUtilities.cpp Source/CommonTools/Images/WaterfillUtilities.h Source/CommonTools/InferenceCallbacks/AudioInferenceCallback.h - Source/CommonTools/InferenceCallbacks/InferenceCallback.h Source/CommonTools/InferenceCallbacks/VisualInferenceCallback.cpp Source/CommonTools/InferenceCallbacks/VisualInferenceCallback.h Source/CommonTools/InferencePivots/AudioInferencePivot.cpp @@ -742,12 +841,8 @@ file(GLOB LIBRARY_SOURCES Source/CommonTools/Options/QtWidgets/StringSelectWidget.h Source/CommonTools/Options/ScreenWatchOption.cpp Source/CommonTools/Options/ScreenWatchOption.h - Source/CommonTools/Options/StringSelectOption.cpp - Source/CommonTools/Options/StringSelectOption.h Source/CommonTools/Options/StringSelectTableOption.h Source/CommonTools/Options/TrainOCRModeOption.h - Source/CommonTools/Random.cpp - Source/CommonTools/Random.h Source/CommonTools/Resources/SpriteDatabase.cpp Source/CommonTools/Resources/SpriteDatabase.h Source/CommonTools/StartupChecks/StartProgramChecks.cpp @@ -782,84 +877,30 @@ file(GLOB LIBRARY_SOURCES Source/ConsoleInfra/ConsoleSystemOption.h Source/ConsoleInfra/ConsoleSystemSession.cpp Source/ConsoleInfra/ConsoleSystemSession.h - Source/ControllerInput/ControllerInput.cpp - Source/ControllerInput/ControllerInput.h Source/ControllerInput/Keyboard/GlobalKeyboardHidTracker.cpp Source/ControllerInput/Keyboard/GlobalKeyboardHidTracker.h Source/ControllerInput/Keyboard/GlobalQtKeyMap.cpp Source/ControllerInput/Keyboard/GlobalQtKeyMap.h - Source/ControllerInput/Keyboard/KeyBindingOption.cpp - Source/ControllerInput/Keyboard/KeyBindingOption.h Source/ControllerInput/Keyboard/KeyBindingWidget.cpp Source/ControllerInput/Keyboard/KeyBindingWidget.h - Source/ControllerInput/Keyboard/KeyboardHidButtons.h Source/ControllerInput/Keyboard/KeyboardInput_KeyMappings.cpp Source/ControllerInput/Keyboard/KeyboardInput_KeyMappings.h Source/ControllerInput/Keyboard/KeyboardInput_KeyMappings_AZERTY.cpp Source/ControllerInput/Keyboard/KeyboardInput_KeyMappings_QWERTY.cpp - Source/ControllerInput/Keyboard/KeyboardInput_State.cpp - Source/ControllerInput/Keyboard/KeyboardInput_State.h Source/ControllerInput/Keyboard/KeyboardInput_StateTracker.cpp Source/ControllerInput/Keyboard/KeyboardInput_StateTracker.h - Source/Controllers/Controller.cpp - Source/Controllers/Controller.h - Source/Controllers/ControllerConnection.cpp - Source/Controllers/ControllerConnection.h - Source/Controllers/ControllerDescriptor.cpp - Source/Controllers/ControllerDescriptor.h - Source/Controllers/ControllerOption.cpp - Source/Controllers/ControllerOption.h Source/Controllers/ControllerSelectorWidget.cpp Source/Controllers/ControllerSelectorWidget.h - Source/Controllers/ControllerSession.cpp - Source/Controllers/ControllerSession.h Source/Controllers/ControllerSettings.h - Source/Controllers/ControllerState.cpp - Source/Controllers/ControllerState.h Source/Controllers/ControllerStateTable.cpp Source/Controllers/ControllerStateTable.h - Source/Controllers/ControllerStatusThread.h - Source/Controllers/ControllerTypeStrings.cpp - Source/Controllers/ControllerTypeStrings.h - Source/Controllers/ControllerTypes.h - Source/Controllers/Joystick.cpp - Source/Controllers/Joystick.h - Source/Controllers/JoystickTools.h - Source/Controllers/NullController.cpp - Source/Controllers/NullController.h Source/Controllers/NullControllerWidget.cpp Source/Controllers/NullControllerWidget.h - Source/Controllers/RumbleListener.h - Source/Controllers/PABotBase2/PABotBase2_CommandQueueManager.cpp - Source/Controllers/PABotBase2/PABotBase2_CommandQueueManager.h - Source/Controllers/PABotBase2/PABotBase2_Connection.cpp - Source/Controllers/PABotBase2/PABotBase2_Connection.h - Source/Controllers/PABotBase2/PABotBase2_DeviceHandle.cpp - Source/Controllers/PABotBase2/PABotBase2_DeviceHandle.h - Source/Controllers/PABotBase2/PABotBase2_MessageHandler.cpp - Source/Controllers/PABotBase2/PABotBase2_MessageHandler.h - Source/Controllers/PABotBase2/SerialPABotBase2_Connection.cpp - Source/Controllers/PABotBase2/SerialPABotBase2_Connection.h - Source/Controllers/PABotBase2/SerialPABotBase2_Descriptor.cpp - Source/Controllers/PABotBase2/SerialPABotBase2_Descriptor.h Source/Controllers/PABotBase2/SerialPABotBase2_SelectorWidget.cpp Source/Controllers/PABotBase2/SerialPABotBase2_SelectorWidget.h Source/Controllers/PABotBase2/SerialPABotBase_StatusThread.h - Source/Controllers/Schedulers/ControllerWithScheduler.h - Source/Controllers/Schedulers/SuperscalarScheduler.cpp - Source/Controllers/Schedulers/SuperscalarScheduler.h - Source/Controllers/SerialPort/SerialLogger.cpp - Source/Controllers/SerialPort/SerialLogger.h - Source/Controllers/SerialPort/SerialPABotBase.cpp - Source/Controllers/SerialPort/SerialPABotBase.h Source/Controllers/SerialPort/SerialPortPollerQt.cpp Source/Controllers/SerialPort/SerialPortPollerQt.h - Source/Controllers/StandardHid/StandardHid_Keyboard.cpp - Source/Controllers/StandardHid/StandardHid_Keyboard.h - Source/Controllers/StandardHid/StandardHid_KeyboardWithScheduler.cpp - Source/Controllers/StandardHid/StandardHid_KeyboardWithScheduler.h - Source/Controllers/StandardHid/StandardHid_Keyboard_PABotBase2.cpp - Source/Controllers/StandardHid/StandardHid_Keyboard_PABotBase2.h Source/Integrations/DiscordIntegrationSettings.cpp Source/Integrations/DiscordIntegrationSettings.h Source/Integrations/DiscordIntegrationTable.cpp @@ -882,8 +923,6 @@ file(GLOB LIBRARY_SOURCES Source/Integrations/IntegrationsAPI.h Source/Integrations/ProgramTracker.cpp Source/Integrations/ProgramTracker.h - Source/Integrations/PybindSwitchController.cpp - Source/Integrations/PybindSwitchController.h Source/Kernels/AbsFFT/Kernels_AbsFFT.cpp Source/Kernels/AbsFFT/Kernels_AbsFFT.h Source/Kernels/AbsFFT/Kernels_AbsFFT_Arch.h @@ -913,6 +952,7 @@ file(GLOB LIBRARY_SOURCES Source/Kernels/AudioStreamConversion/AudioStreamConversion_Core_x86_SSE41.cpp Source/Kernels/BinaryImageFilters/Kernels_BinaryImage_BasicFilters.cpp Source/Kernels/BinaryImageFilters/Kernels_BinaryImage_BasicFilters.h + Source/Kernels/BinaryImageFilters/Kernels_BinaryImage_BasicFilters_arm64_NEON.h Source/Kernels/BinaryImageFilters/Kernels_BinaryImage_BasicFilters_Core_64x16_x64_AVX2.cpp Source/Kernels/BinaryImageFilters/Kernels_BinaryImage_BasicFilters_Core_64x32_x64_AVX512.cpp Source/Kernels/BinaryImageFilters/Kernels_BinaryImage_BasicFilters_Core_64x4_Default.cpp @@ -921,23 +961,12 @@ file(GLOB LIBRARY_SOURCES Source/Kernels/BinaryImageFilters/Kernels_BinaryImage_BasicFilters_Core_64x8_x64_SSE42.cpp Source/Kernels/BinaryImageFilters/Kernels_BinaryImage_BasicFilters_Default.h Source/Kernels/BinaryImageFilters/Kernels_BinaryImage_BasicFilters_Routines.h - Source/Kernels/BinaryImageFilters/Kernels_BinaryImage_BasicFilters_arm64_NEON.h Source/Kernels/BinaryImageFilters/Kernels_BinaryImage_BasicFilters_x64_AVX2.h Source/Kernels/BinaryImageFilters/Kernels_BinaryImage_BasicFilters_x64_AVX512.h Source/Kernels/BinaryImageFilters/Kernels_BinaryImage_BasicFilters_x64_SSE42.h Source/Kernels/BinaryImageFilters/RGB32_Range/Kernels_ImageFilter_RGB32_Range.h Source/Kernels/BinaryMatrix/Kernels_BinaryMatrix.cpp - Source/Kernels/BinaryMatrix/Kernels_BinaryMatrix.h - Source/Kernels/BinaryMatrix/Kernels_BinaryMatrix_Tests.cpp - Source/Kernels/BinaryMatrix/Kernels_BinaryMatrix_Tests.h - Source/Kernels/BinaryMatrix/Kernels_BinaryMatrixTile_64x16_x64_AVX2.h - Source/Kernels/BinaryMatrix/Kernels_BinaryMatrixTile_64x32_x64_AVX512.h - Source/Kernels/BinaryMatrix/Kernels_BinaryMatrixTile_64x4_Default.h - Source/Kernels/BinaryMatrix/Kernels_BinaryMatrixTile_64x64_x64_AVX512.h - Source/Kernels/BinaryMatrix/Kernels_BinaryMatrixTile_64x8_arm64_NEON.h - Source/Kernels/BinaryMatrix/Kernels_BinaryMatrixTile_64x8_x64_SSE42.h - Source/Kernels/BinaryMatrix/Kernels_BinaryMatrixTile_64xH_Default.h - Source/Kernels/BinaryMatrix/Kernels_BinaryMatrixTile_Debugging.h + Source/Kernels/BinaryMatrix/Kernels_BinaryMatrix.h Source/Kernels/BinaryMatrix/Kernels_BinaryMatrix_Arch_64x16_x64_AVX2.h Source/Kernels/BinaryMatrix/Kernels_BinaryMatrix_Arch_64x32_x64_AVX512.h Source/Kernels/BinaryMatrix/Kernels_BinaryMatrix_Arch_64x4_Default.h @@ -952,6 +981,16 @@ file(GLOB LIBRARY_SOURCES Source/Kernels/BinaryMatrix/Kernels_BinaryMatrix_Core_64xH_Default.cpp Source/Kernels/BinaryMatrix/Kernels_BinaryMatrix_Core_arm64_NEON.cpp Source/Kernels/BinaryMatrix/Kernels_BinaryMatrix_t.h + Source/Kernels/BinaryMatrix/Kernels_BinaryMatrix_Tests.cpp + Source/Kernels/BinaryMatrix/Kernels_BinaryMatrix_Tests.h + Source/Kernels/BinaryMatrix/Kernels_BinaryMatrixTile_64x16_x64_AVX2.h + Source/Kernels/BinaryMatrix/Kernels_BinaryMatrixTile_64x32_x64_AVX512.h + Source/Kernels/BinaryMatrix/Kernels_BinaryMatrixTile_64x4_Default.h + Source/Kernels/BinaryMatrix/Kernels_BinaryMatrixTile_64x64_x64_AVX512.h + Source/Kernels/BinaryMatrix/Kernels_BinaryMatrixTile_64x8_arm64_NEON.h + Source/Kernels/BinaryMatrix/Kernels_BinaryMatrixTile_64x8_x64_SSE42.h + Source/Kernels/BinaryMatrix/Kernels_BinaryMatrixTile_64xH_Default.h + Source/Kernels/BinaryMatrix/Kernels_BinaryMatrixTile_Debugging.h Source/Kernels/BinaryMatrix/Kernels_PackedBinaryMatrix.h Source/Kernels/BinaryMatrix/Kernels_PackedBinaryMatrixCore.h Source/Kernels/BinaryMatrix/Kernels_PackedBinaryMatrixCore.tpp @@ -995,29 +1034,29 @@ file(GLOB LIBRARY_SOURCES Source/Kernels/ImageFilters/RGB32_Range/Kernels_ImageFilter_RGB32_Range_x64_SSE42.cpp Source/Kernels/ImageScaleBrightness/Kernels_ImageScaleBrightness.cpp Source/Kernels/ImageScaleBrightness/Kernels_ImageScaleBrightness.h + Source/Kernels/ImageScaleBrightness/Kernels_ImageScaleBrightness_arm64_NEON.cpp + Source/Kernels/ImageScaleBrightness/Kernels_ImageScaleBrightness_Default.cpp Source/Kernels/ImageScaleBrightness/Kernels_ImageScaleBrightness_Tests.cpp Source/Kernels/ImageScaleBrightness/Kernels_ImageScaleBrightness_Tests.h - Source/Kernels/ImageScaleBrightness/Kernels_ImageScaleBrightness_Default.cpp - Source/Kernels/ImageScaleBrightness/Kernels_ImageScaleBrightness_arm64_NEON.cpp Source/Kernels/ImageScaleBrightness/Kernels_ImageScaleBrightness_x64_AVX2.cpp Source/Kernels/ImageScaleBrightness/Kernels_ImageScaleBrightness_x64_AVX512.cpp Source/Kernels/ImageScaleBrightness/Kernels_ImageScaleBrightness_x64_SSE41.cpp Source/Kernels/ImageStats/Kernels_ImagePixelSumSqr.cpp Source/Kernels/ImageStats/Kernels_ImagePixelSumSqr.h + Source/Kernels/ImageStats/Kernels_ImagePixelSumSqr_Default.cpp + Source/Kernels/ImageStats/Kernels_ImagePixelSumSqr_x64_AVX2.cpp + Source/Kernels/ImageStats/Kernels_ImagePixelSumSqr_x64_AVX512.cpp + Source/Kernels/ImageStats/Kernels_ImagePixelSumSqr_x64_SSE41.cpp Source/Kernels/ImageStats/Kernels_ImagePixelSumSqrDev.cpp Source/Kernels/ImageStats/Kernels_ImagePixelSumSqrDev.h Source/Kernels/ImageStats/Kernels_ImagePixelSumSqrDev_Default.cpp Source/Kernels/ImageStats/Kernels_ImagePixelSumSqrDev_x64_AVX2.cpp Source/Kernels/ImageStats/Kernels_ImagePixelSumSqrDev_x64_AVX512.cpp Source/Kernels/ImageStats/Kernels_ImagePixelSumSqrDev_x64_SSE41.cpp - Source/Kernels/ImageStats/Kernels_ImagePixelSumSqr_Default.cpp - Source/Kernels/ImageStats/Kernels_ImagePixelSumSqr_x64_AVX2.cpp - Source/Kernels/ImageStats/Kernels_ImagePixelSumSqr_x64_AVX512.cpp - Source/Kernels/ImageStats/Kernels_ImagePixelSumSqr_x64_SSE41.cpp Source/Kernels/Kernels_Alignment.h + Source/Kernels/Kernels_arm64_NEON.h Source/Kernels/Kernels_BitScan.h Source/Kernels/Kernels_BitSet.h - Source/Kernels/Kernels_arm64_NEON.h Source/Kernels/Kernels_Tests.cpp Source/Kernels/Kernels_Tests.h Source/Kernels/Kernels_x64_AVX2.h @@ -1077,10 +1116,10 @@ file(GLOB LIBRARY_SOURCES Source/ML/DataLabeling/ML_SegmentAnythingModelConstants.h Source/ML/Inference/ML_PaddleOCRPipeline.cpp Source/ML/Inference/ML_PaddleOCRPipeline.h - Source/ML/Inference/ML_YOLOv5Detector.cpp - Source/ML/Inference/ML_YOLOv5Detector.h Source/ML/Inference/ML_YOLONavigation.cpp Source/ML/Inference/ML_YOLONavigation.h + Source/ML/Inference/ML_YOLOv5Detector.cpp + Source/ML/Inference/ML_YOLOv5Detector.h Source/ML/ML_Panels.cpp Source/ML/ML_Panels.h Source/ML/Models/ML_ONNXRuntimeHelpers.cpp @@ -1111,40 +1150,10 @@ file(GLOB LIBRARY_SOURCES Source/NintendoSwitch/Commands/NintendoSwitch_Commands_PushButtons.h Source/NintendoSwitch/Commands/NintendoSwitch_Commands_Superscalar.cpp Source/NintendoSwitch/Commands/NintendoSwitch_Commands_Superscalar.h - Source/NintendoSwitch/Controllers/Joycon/NintendoSwitch_Joycon.cpp - Source/NintendoSwitch/Controllers/Joycon/NintendoSwitch_Joycon.h - Source/NintendoSwitch/Controllers/Joycon/NintendoSwitch_JoyconState.cpp - Source/NintendoSwitch/Controllers/Joycon/NintendoSwitch_JoyconState.h Source/NintendoSwitch/Controllers/Joycon/NintendoSwitch_JoyconTable.cpp Source/NintendoSwitch/Controllers/Joycon/NintendoSwitch_JoyconTable.h - Source/NintendoSwitch/Controllers/Joycon/NintendoSwitch_Joycon_from_Keyboard.cpp - Source/NintendoSwitch/Controllers/Joycon/NintendoSwitch_Joycon_from_Keyboard.h - Source/NintendoSwitch/Controllers/NintendoSwitch_ControllerButtons.cpp - Source/NintendoSwitch/Controllers/NintendoSwitch_ControllerButtons.h - Source/NintendoSwitch/Controllers/NintendoSwitch_ControllerSettings.cpp - Source/NintendoSwitch/Controllers/NintendoSwitch_ControllerSettings.h - Source/NintendoSwitch/Controllers/NintendoSwitch_ControllerWithScheduler.cpp - Source/NintendoSwitch/Controllers/NintendoSwitch_ControllerWithScheduler.h - Source/NintendoSwitch/Controllers/NintendoSwitch_KeyboardMapping.cpp - Source/NintendoSwitch/Controllers/NintendoSwitch_KeyboardMapping.h - Source/NintendoSwitch/Controllers/NintendoSwitch_VirtualControllerState.cpp - Source/NintendoSwitch/Controllers/NintendoSwitch_VirtualControllerState.h - Source/NintendoSwitch/Controllers/Procon/NintendoSwitch_ProController.cpp - Source/NintendoSwitch/Controllers/Procon/NintendoSwitch_ProController.h - Source/NintendoSwitch/Controllers/Procon/NintendoSwitch_ProControllerState.cpp - Source/NintendoSwitch/Controllers/Procon/NintendoSwitch_ProControllerState.h Source/NintendoSwitch/Controllers/Procon/NintendoSwitch_ProControllerTable.cpp Source/NintendoSwitch/Controllers/Procon/NintendoSwitch_ProControllerTable.h - Source/NintendoSwitch/Controllers/Procon/NintendoSwitch_ProController_from_Keyboard.cpp - Source/NintendoSwitch/Controllers/Procon/NintendoSwitch_ProController_from_Keyboard.h - Source/NintendoSwitch/Controllers/PABotBase2/NintendoSwitch_PABotBase2_Controller.cpp - Source/NintendoSwitch/Controllers/PABotBase2/NintendoSwitch_PABotBase2_Controller.h - Source/NintendoSwitch/Controllers/PABotBase2/NintendoSwitch_PABotBase2_Joycon.h - Source/NintendoSwitch/Controllers/PABotBase2/NintendoSwitch_PABotBase2_OemController.cpp - Source/NintendoSwitch/Controllers/PABotBase2/NintendoSwitch_PABotBase2_OemController.h - Source/NintendoSwitch/Controllers/PABotBase2/NintendoSwitch_PABotBase2_ProController.h - Source/NintendoSwitch/Controllers/PABotBase2/NintendoSwitch_PABotBase2_WiredController.cpp - Source/NintendoSwitch/Controllers/PABotBase2/NintendoSwitch_PABotBase2_WiredController.h Source/NintendoSwitch/Controllers/SysbotBase/SysbotBase3_ControllerState.h Source/NintendoSwitch/Controllers/SysbotBase/SysbotBase3_ProController.cpp Source/NintendoSwitch/Controllers/SysbotBase/SysbotBase3_ProController.h @@ -1220,14 +1229,10 @@ file(GLOB LIBRARY_SOURCES Source/NintendoSwitch/NintendoSwitch_MultiSwitchProgram.h Source/NintendoSwitch/NintendoSwitch_Panels.cpp Source/NintendoSwitch/NintendoSwitch_Panels.h - Source/NintendoSwitch/NintendoSwitch_Settings.cpp - Source/NintendoSwitch/NintendoSwitch_Settings.h Source/NintendoSwitch/NintendoSwitch_SettingsPanel.cpp Source/NintendoSwitch/NintendoSwitch_SettingsPanel.h Source/NintendoSwitch/NintendoSwitch_SingleSwitchProgram.cpp Source/NintendoSwitch/NintendoSwitch_SingleSwitchProgram.h - Source/NintendoSwitch/Options/NintendoSwitch_CodeEntrySettingsOption.cpp - Source/NintendoSwitch/Options/NintendoSwitch_CodeEntrySettingsOption.h Source/NintendoSwitch/Options/NintendoSwitch_FriendCodeListOption.cpp Source/NintendoSwitch/Options/NintendoSwitch_FriendCodeListOption.h Source/NintendoSwitch/Options/NintendoSwitch_GoHomeWhenDoneOption.cpp @@ -1242,13 +1247,13 @@ file(GLOB LIBRARY_SOURCES Source/NintendoSwitch/Programs/DateManip/NintendoSwitch2_DateSkippers.cpp Source/NintendoSwitch/Programs/DateManip/NintendoSwitch_DateManip.cpp Source/NintendoSwitch/Programs/DateManip/NintendoSwitch_DateManip.h - Source/NintendoSwitch/Programs/DateManip/NintendoSwitch_DateManipBase.h - Source/NintendoSwitch/Programs/DateManip/NintendoSwitch_DateManipTools.cpp - Source/NintendoSwitch/Programs/DateManip/NintendoSwitch_DateManipTools.h Source/NintendoSwitch/Programs/DateManip/NintendoSwitch_DateManip_24h.cpp Source/NintendoSwitch/Programs/DateManip/NintendoSwitch_DateManip_24h.h Source/NintendoSwitch/Programs/DateManip/NintendoSwitch_DateManip_US.cpp Source/NintendoSwitch/Programs/DateManip/NintendoSwitch_DateManip_US.h + Source/NintendoSwitch/Programs/DateManip/NintendoSwitch_DateManipBase.h + Source/NintendoSwitch/Programs/DateManip/NintendoSwitch_DateManipTools.cpp + Source/NintendoSwitch/Programs/DateManip/NintendoSwitch_DateManipTools.h Source/NintendoSwitch/Programs/DateManip/NintendoSwitch_DateSkippers.cpp Source/NintendoSwitch/Programs/DateManip/NintendoSwitch_DateSkippers.h Source/NintendoSwitch/Programs/DateSpam/NintendoSwitch1_HomeToDateTime.cpp @@ -1265,8 +1270,6 @@ file(GLOB LIBRARY_SOURCES Source/NintendoSwitch/Programs/FastCodeEntry/NintendoSwitch_CodeEntryTools.h Source/NintendoSwitch/Programs/FastCodeEntry/NintendoSwitch_KeyboardCodeEntry.cpp Source/NintendoSwitch/Programs/FastCodeEntry/NintendoSwitch_KeyboardCodeEntry.h - Source/NintendoSwitch/Programs/FastCodeEntry/NintendoSwitch_KeyboardEntryMappings.cpp - Source/NintendoSwitch/Programs/FastCodeEntry/NintendoSwitch_KeyboardEntryMappings.h Source/NintendoSwitch/Programs/FastCodeEntry/NintendoSwitch_NumberCodeEntry.cpp Source/NintendoSwitch/Programs/FastCodeEntry/NintendoSwitch_NumberCodeEntry.h Source/NintendoSwitch/Programs/NintendoSwitch_FriendCodeAdder.cpp @@ -1295,7 +1298,6 @@ file(GLOB LIBRARY_SOURCES Source/NintendoSwitch/Programs/NintendoSwitch_TurboMacro.h Source/NintendoSwitch/Programs/NintendoSwitch_VirtualConsole.cpp Source/NintendoSwitch/Programs/NintendoSwitch_VirtualConsole.h - Source/CompileTimeBackends.h Source/PanelLists.cpp Source/PanelLists.h Source/Pokemon/Inference/Pokemon_BerryNameReader.cpp @@ -1331,6 +1333,8 @@ file(GLOB LIBRARY_SOURCES Source/Pokemon/Options/Pokemon_NameSelectWidget.h Source/Pokemon/Options/Pokemon_StatsHuntFilter.cpp Source/Pokemon/Options/Pokemon_StatsHuntFilter.h + Source/Pokemon/Pokemon_AdvRng.cpp + Source/Pokemon/Pokemon_AdvRng.h Source/Pokemon/Pokemon_BdspRng.cpp Source/Pokemon/Pokemon_BdspRng.h Source/Pokemon/Pokemon_BoxCursor.cpp @@ -1362,8 +1366,6 @@ file(GLOB LIBRARY_SOURCES Source/Pokemon/Pokemon_Xoroshiro128Plus.h Source/Pokemon/Pokemon_Xorshift128.cpp Source/Pokemon/Pokemon_Xorshift128.h - Source/Pokemon/Pokemon_AdvRng.cpp - Source/Pokemon/Pokemon_AdvRng.h Source/Pokemon/Resources/Pokemon_BerryNames.cpp Source/Pokemon/Resources/Pokemon_BerryNames.h Source/Pokemon/Resources/Pokemon_BerrySprites.cpp @@ -1400,14 +1402,6 @@ file(GLOB LIBRARY_SOURCES Source/PokemonBDSP/Inference/BoxSystem/PokemonBDSP_BoxShinyDetector.h Source/PokemonBDSP/Inference/BoxSystem/PokemonBDSP_IvJudgeReader.cpp Source/PokemonBDSP/Inference/BoxSystem/PokemonBDSP_IvJudgeReader.h - Source/PokemonBDSP/Inference/Rng/PokemonBDSP_BlinkExtraction.cpp - Source/PokemonBDSP/Inference/Rng/PokemonBDSP_BlinkExtraction.h - Source/PokemonBDSP/Inference/Rng/PokemonBDSP_BlinkScenes.cpp - Source/PokemonBDSP/Inference/Rng/PokemonBDSP_BlinkScenes.h - Source/PokemonBDSP/Inference/Rng/PokemonBDSP_EyeBlinkDetector.cpp - Source/PokemonBDSP/Inference/Rng/PokemonBDSP_EyeBlinkDetector.h - Source/PokemonBDSP/Inference/Rng/PokemonBDSP_SummaryReader.cpp - Source/PokemonBDSP/Inference/Rng/PokemonBDSP_SummaryReader.h Source/PokemonBDSP/Inference/PokemonBDSP_DialogDetector.cpp Source/PokemonBDSP/Inference/PokemonBDSP_DialogDetector.h Source/PokemonBDSP/Inference/PokemonBDSP_MapDetector.cpp @@ -1424,6 +1418,14 @@ file(GLOB LIBRARY_SOURCES Source/PokemonBDSP/Inference/PokemonBDSP_SelectionArrow.h Source/PokemonBDSP/Inference/PokemonBDSP_VSSeekerReaction.cpp Source/PokemonBDSP/Inference/PokemonBDSP_VSSeekerReaction.h + Source/PokemonBDSP/Inference/Rng/PokemonBDSP_BlinkExtraction.cpp + Source/PokemonBDSP/Inference/Rng/PokemonBDSP_BlinkExtraction.h + Source/PokemonBDSP/Inference/Rng/PokemonBDSP_BlinkScenes.cpp + Source/PokemonBDSP/Inference/Rng/PokemonBDSP_BlinkScenes.h + Source/PokemonBDSP/Inference/Rng/PokemonBDSP_EyeBlinkDetector.cpp + Source/PokemonBDSP/Inference/Rng/PokemonBDSP_EyeBlinkDetector.h + Source/PokemonBDSP/Inference/Rng/PokemonBDSP_SummaryReader.cpp + Source/PokemonBDSP/Inference/Rng/PokemonBDSP_SummaryReader.h Source/PokemonBDSP/Inference/ShinyDetection/PokemonBDSP_ShinyEncounterDetector.cpp Source/PokemonBDSP/Inference/ShinyDetection/PokemonBDSP_ShinyEncounterDetector.h Source/PokemonBDSP/Inference/ShinyDetection/PokemonBDSP_ShinySparkleSet.cpp @@ -1552,18 +1554,14 @@ file(GLOB LIBRARY_SOURCES Source/PokemonBDSP/Resources/PokemonBDSP_NameDatabase.h Source/PokemonFRLG/Inference/Dialogs/PokemonFRLG_BattleDialogs.cpp Source/PokemonFRLG/Inference/Dialogs/PokemonFRLG_BattleDialogs.h - Source/PokemonFRLG/Inference/Dialogs/PokemonFRLG_PartyDialogs.cpp - Source/PokemonFRLG/Inference/Dialogs/PokemonFRLG_PartyDialogs.h Source/PokemonFRLG/Inference/Dialogs/PokemonFRLG_DialogDetector.cpp Source/PokemonFRLG/Inference/Dialogs/PokemonFRLG_DialogDetector.h + Source/PokemonFRLG/Inference/Dialogs/PokemonFRLG_PartyDialogs.cpp + Source/PokemonFRLG/Inference/Dialogs/PokemonFRLG_PartyDialogs.h Source/PokemonFRLG/Inference/Dialogs/PokemonFRLG_PrizeSelectDetector.cpp Source/PokemonFRLG/Inference/Dialogs/PokemonFRLG_PrizeSelectDetector.h Source/PokemonFRLG/Inference/Map/PokemonFRLG_MapDetector.cpp Source/PokemonFRLG/Inference/Map/PokemonFRLG_MapDetector.h - Source/PokemonFRLG/Inference/Menus/PokemonFRLG_StartMenuDetector.cpp - Source/PokemonFRLG/Inference/Menus/PokemonFRLG_StartMenuDetector.h - Source/PokemonFRLG/Inference/Menus/PokemonFRLG_SummaryDetector.cpp - Source/PokemonFRLG/Inference/Menus/PokemonFRLG_SummaryDetector.h Source/PokemonFRLG/Inference/Menus/PokemonFRLG_BagDetector.cpp Source/PokemonFRLG/Inference/Menus/PokemonFRLG_BagDetector.h Source/PokemonFRLG/Inference/Menus/PokemonFRLG_LoadMenuDetector.cpp @@ -1575,40 +1573,44 @@ file(GLOB LIBRARY_SOURCES Source/PokemonFRLG/Inference/Menus/PokemonFRLG_PartyMenuDetector.cpp Source/PokemonFRLG/Inference/Menus/PokemonFRLG_PartyMenuDetector.h Source/PokemonFRLG/Inference/Menus/PokemonFRLG_PartySlot.h + Source/PokemonFRLG/Inference/Menus/PokemonFRLG_StartMenuDetector.cpp + Source/PokemonFRLG/Inference/Menus/PokemonFRLG_StartMenuDetector.h + Source/PokemonFRLG/Inference/Menus/PokemonFRLG_SummaryDetector.cpp + Source/PokemonFRLG/Inference/Menus/PokemonFRLG_SummaryDetector.h Source/PokemonFRLG/Inference/Menus/PokemonFRLG_TrainerCardDetector.cpp Source/PokemonFRLG/Inference/Menus/PokemonFRLG_TrainerCardDetector.h - Source/PokemonFRLG/Inference/Sounds/PokemonFRLG_ShinySoundDetector.cpp - Source/PokemonFRLG/Inference/Sounds/PokemonFRLG_ShinySoundDetector.h - Source/PokemonFRLG/Inference/Sounds/PokemonFRLG_CatchFanfareDetector.cpp - Source/PokemonFRLG/Inference/Sounds/PokemonFRLG_CatchFanfareDetector.h + Source/PokemonFRLG/Inference/PokemonFRLG_BattleLevelUpReader.cpp + Source/PokemonFRLG/Inference/PokemonFRLG_BattleLevelUpReader.h + Source/PokemonFRLG/Inference/PokemonFRLG_BattlePokemonDetector.cpp + Source/PokemonFRLG/Inference/PokemonFRLG_BattlePokemonDetector.h Source/PokemonFRLG/Inference/PokemonFRLG_BattleSelectionArrowDetector.cpp Source/PokemonFRLG/Inference/PokemonFRLG_BattleSelectionArrowDetector.h - Source/PokemonFRLG/Inference/PokemonFRLG_SelectionArrowDetector.cpp - Source/PokemonFRLG/Inference/PokemonFRLG_SelectionArrowDetector.h - Source/PokemonFRLG/Inference/PokemonFRLG_ShinySymbolDetector.cpp - Source/PokemonFRLG/Inference/PokemonFRLG_ShinySymbolDetector.h Source/PokemonFRLG/Inference/PokemonFRLG_DaycareManDetector.cpp Source/PokemonFRLG/Inference/PokemonFRLG_DaycareManDetector.h Source/PokemonFRLG/Inference/PokemonFRLG_DigitReader.cpp Source/PokemonFRLG/Inference/PokemonFRLG_DigitReader.h Source/PokemonFRLG/Inference/PokemonFRLG_OcrPreprocessing.cpp Source/PokemonFRLG/Inference/PokemonFRLG_OcrPreprocessing.h - Source/PokemonFRLG/Inference/PokemonFRLG_StatsReader.cpp - Source/PokemonFRLG/Inference/PokemonFRLG_StatsReader.h - Source/PokemonFRLG/Inference/PokemonFRLG_PokemonSpriteReader.cpp - Source/PokemonFRLG/Inference/PokemonFRLG_PokemonSpriteReader.h - Source/PokemonFRLG/Inference/PokemonFRLG_BattleLevelUpReader.cpp - Source/PokemonFRLG/Inference/PokemonFRLG_BattleLevelUpReader.h Source/PokemonFRLG/Inference/PokemonFRLG_PartyLevelUpReader.cpp Source/PokemonFRLG/Inference/PokemonFRLG_PartyLevelUpReader.h - Source/PokemonFRLG/Inference/PokemonFRLG_TrainerIdReader.cpp - Source/PokemonFRLG/Inference/PokemonFRLG_TrainerIdReader.h - Source/PokemonFRLG/Inference/PokemonFRLG_BattlePokemonDetector.cpp - Source/PokemonFRLG/Inference/PokemonFRLG_BattlePokemonDetector.h Source/PokemonFRLG/Inference/PokemonFRLG_PokedexRegisteredDetector.cpp Source/PokemonFRLG/Inference/PokemonFRLG_PokedexRegisteredDetector.h + Source/PokemonFRLG/Inference/PokemonFRLG_PokemonSpriteReader.cpp + Source/PokemonFRLG/Inference/PokemonFRLG_PokemonSpriteReader.h + Source/PokemonFRLG/Inference/PokemonFRLG_SelectionArrowDetector.cpp + Source/PokemonFRLG/Inference/PokemonFRLG_SelectionArrowDetector.h + Source/PokemonFRLG/Inference/PokemonFRLG_ShinySymbolDetector.cpp + Source/PokemonFRLG/Inference/PokemonFRLG_ShinySymbolDetector.h + Source/PokemonFRLG/Inference/PokemonFRLG_StatsReader.cpp + Source/PokemonFRLG/Inference/PokemonFRLG_StatsReader.h + Source/PokemonFRLG/Inference/PokemonFRLG_TrainerIdReader.cpp + Source/PokemonFRLG/Inference/PokemonFRLG_TrainerIdReader.h Source/PokemonFRLG/Inference/PokemonFRLG_WildEncounterReader.cpp Source/PokemonFRLG/Inference/PokemonFRLG_WildEncounterReader.h + Source/PokemonFRLG/Inference/Sounds/PokemonFRLG_CatchFanfareDetector.cpp + Source/PokemonFRLG/Inference/Sounds/PokemonFRLG_CatchFanfareDetector.h + Source/PokemonFRLG/Inference/Sounds/PokemonFRLG_ShinySoundDetector.cpp + Source/PokemonFRLG/Inference/Sounds/PokemonFRLG_ShinySoundDetector.h Source/PokemonFRLG/PokemonFRLG_Navigation.cpp Source/PokemonFRLG/PokemonFRLG_Navigation.h Source/PokemonFRLG/PokemonFRLG_Panels.cpp @@ -1617,6 +1619,8 @@ file(GLOB LIBRARY_SOURCES Source/PokemonFRLG/PokemonFRLG_Settings.h Source/PokemonFRLG/PokemonFRLG_Tests.cpp Source/PokemonFRLG/PokemonFRLG_Tests.h + Source/PokemonFRLG/Programs/Farming/PokemonFRLG_EvTrainer.cpp + Source/PokemonFRLG/Programs/Farming/PokemonFRLG_EvTrainer.h Source/PokemonFRLG/Programs/Farming/PokemonFRLG_HeldItemFarmer-SafariZone.cpp Source/PokemonFRLG/Programs/Farming/PokemonFRLG_HeldItemFarmer-SafariZone.h Source/PokemonFRLG/Programs/Farming/PokemonFRLG_ItemDuplication.cpp @@ -1627,72 +1631,70 @@ file(GLOB LIBRARY_SOURCES Source/PokemonFRLG/Programs/Farming/PokemonFRLG_PickupFarmer.h Source/PokemonFRLG/Programs/PokemonFRLG_BattleMenuNavigation.cpp Source/PokemonFRLG/Programs/PokemonFRLG_BattleMenuNavigation.h - Source/PokemonFRLG/Programs/Farming/PokemonFRLG_EvTrainer.cpp - Source/PokemonFRLG/Programs/Farming/PokemonFRLG_EvTrainer.h Source/PokemonFRLG/Programs/PokemonFRLG_SafariOptimalAction.cpp Source/PokemonFRLG/Programs/PokemonFRLG_SafariOptimalAction.h Source/PokemonFRLG/Programs/PokemonFRLG_StartMenuNavigation.cpp Source/PokemonFRLG/Programs/PokemonFRLG_StartMenuNavigation.h - Source/PokemonFRLG/Programs/ShinyHunting/PokemonFRLG_GiftReset.cpp - Source/PokemonFRLG/Programs/ShinyHunting/PokemonFRLG_GiftReset.h - Source/PokemonFRLG/Programs/ShinyHunting/PokemonFRLG_LegendaryReset.cpp - Source/PokemonFRLG/Programs/ShinyHunting/PokemonFRLG_LegendaryReset.h - Source/PokemonFRLG/Programs/ShinyHunting/PokemonFRLG_LegendaryRunAway.cpp - Source/PokemonFRLG/Programs/ShinyHunting/PokemonFRLG_LegendaryRunAway.h - Source/PokemonFRLG/Programs/ShinyHunting/PokemonFRLG_PrizeCornerReset.cpp - Source/PokemonFRLG/Programs/ShinyHunting/PokemonFRLG_PrizeCornerReset.h - Source/PokemonFRLG/Programs/ShinyHunting/PokemonFRLG_ShinyHunt-Fishing.cpp - Source/PokemonFRLG/Programs/ShinyHunting/PokemonFRLG_ShinyHunt-Fishing.h - Source/PokemonFRLG/Programs/ShinyHunting/PokemonFRLG_ShinyHunt-Overworld.cpp - Source/PokemonFRLG/Programs/ShinyHunting/PokemonFRLG_ShinyHunt-Overworld.h Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_BlindNavigation.cpp Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_BlindNavigation.h - Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_RngNavigation.cpp - Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_RngNavigation.h - Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_RngDisplays.cpp - Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_RngDisplays.h + Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_EggRng.cpp + Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_EggRng.h + Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_EncountersDatabase.cpp + Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_EncountersDatabase.h + Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_GiftRng.cpp + Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_GiftRng.h Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_HardReset.cpp Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_HardReset.h + Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_LocationsDatabase.cpp + Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_LocationsDatabase.h Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_RngCalibration.cpp Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_RngCalibration.h + Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_RngDisplays.cpp + Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_RngDisplays.h + Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_RngHelper.cpp + Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_RngHelper.h Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_RngLoopRoutines.cpp Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_RngLoopRoutines.h + Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_RngNavigation.cpp + Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_RngNavigation.h Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_RngStatsDatabase.cpp Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_RngStatsDatabase.h - Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_LocationsDatabase.cpp - Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_LocationsDatabase.h - Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_EncountersDatabase.cpp - Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_EncountersDatabase.h + Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_RoamingLegendaryRng.cpp + Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_RoamingLegendaryRng.h Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_SeedsDatabase.cpp Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_SeedsDatabase.h Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_SidHelper.cpp Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_SidHelper.h - Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_RngHelper.cpp - Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_RngHelper.h Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_StarterRng.cpp Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_StarterRng.h - Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_GiftRng.cpp - Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_GiftRng.h Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_StaticRng.cpp Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_StaticRng.h Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_WildRng.cpp Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_WildRng.h - Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_RoamingLegendaryRng.cpp - Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_RoamingLegendaryRng.h - Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_EggRng.cpp - Source/PokemonFRLG/Programs/RngManipulation/PokemonFRLG_EggRng.h - Source/PokemonFRLG/Programs/TestPrograms/PokemonFRLG_SafariOptimalActionTest.cpp - Source/PokemonFRLG/Programs/TestPrograms/PokemonFRLG_SafariOptimalActionTest.h - Source/PokemonFRLG/Programs/TestPrograms/PokemonFRLG_SoundListener.cpp - Source/PokemonFRLG/Programs/TestPrograms/PokemonFRLG_SoundListener.h + Source/PokemonFRLG/Programs/ShinyHunting/PokemonFRLG_GiftReset.cpp + Source/PokemonFRLG/Programs/ShinyHunting/PokemonFRLG_GiftReset.h + Source/PokemonFRLG/Programs/ShinyHunting/PokemonFRLG_LegendaryReset.cpp + Source/PokemonFRLG/Programs/ShinyHunting/PokemonFRLG_LegendaryReset.h + Source/PokemonFRLG/Programs/ShinyHunting/PokemonFRLG_LegendaryRunAway.cpp + Source/PokemonFRLG/Programs/ShinyHunting/PokemonFRLG_LegendaryRunAway.h + Source/PokemonFRLG/Programs/ShinyHunting/PokemonFRLG_PrizeCornerReset.cpp + Source/PokemonFRLG/Programs/ShinyHunting/PokemonFRLG_PrizeCornerReset.h + Source/PokemonFRLG/Programs/ShinyHunting/PokemonFRLG_ShinyHunt-Fishing.cpp + Source/PokemonFRLG/Programs/ShinyHunting/PokemonFRLG_ShinyHunt-Fishing.h + Source/PokemonFRLG/Programs/ShinyHunting/PokemonFRLG_ShinyHunt-Overworld.cpp + Source/PokemonFRLG/Programs/ShinyHunting/PokemonFRLG_ShinyHunt-Overworld.h + Source/PokemonFRLG/Programs/TestPrograms/PokemonFRLG_ReadBattleLevelUp.cpp + Source/PokemonFRLG/Programs/TestPrograms/PokemonFRLG_ReadBattleLevelUp.h + Source/PokemonFRLG/Programs/TestPrograms/PokemonFRLG_ReadEncounter.cpp + Source/PokemonFRLG/Programs/TestPrograms/PokemonFRLG_ReadEncounter.h Source/PokemonFRLG/Programs/TestPrograms/PokemonFRLG_ReadStats.cpp Source/PokemonFRLG/Programs/TestPrograms/PokemonFRLG_ReadStats.h Source/PokemonFRLG/Programs/TestPrograms/PokemonFRLG_ReadTrainerId.cpp Source/PokemonFRLG/Programs/TestPrograms/PokemonFRLG_ReadTrainerId.h - Source/PokemonFRLG/Programs/TestPrograms/PokemonFRLG_ReadEncounter.cpp - Source/PokemonFRLG/Programs/TestPrograms/PokemonFRLG_ReadEncounter.h - Source/PokemonFRLG/Programs/TestPrograms/PokemonFRLG_ReadBattleLevelUp.cpp - Source/PokemonFRLG/Programs/TestPrograms/PokemonFRLG_ReadBattleLevelUp.h + Source/PokemonFRLG/Programs/TestPrograms/PokemonFRLG_SafariOptimalActionTest.cpp + Source/PokemonFRLG/Programs/TestPrograms/PokemonFRLG_SafariOptimalActionTest.h + Source/PokemonFRLG/Programs/TestPrograms/PokemonFRLG_SoundListener.cpp + Source/PokemonFRLG/Programs/TestPrograms/PokemonFRLG_SoundListener.h Source/PokemonFRLG/Resources/PokemonFRLG_PokemonSprites.cpp Source/PokemonFRLG/Resources/PokemonFRLG_PokemonSprites.h Source/PokemonHome/Inference/PokemonHome_AlphaDetector.cpp @@ -1751,8 +1753,6 @@ file(GLOB LIBRARY_SOURCES Source/PokemonLA/Inference/Battles/PokemonLA_BattleStartDetector.h Source/PokemonLA/Inference/Battles/PokemonLA_TransparentDialogueDetector.cpp Source/PokemonLA/Inference/Battles/PokemonLA_TransparentDialogueDetector.h - Source/PokemonLA/Inference/Map/PokemonLA_MMOSpriteStarSymbolDetector.cpp - Source/PokemonLA/Inference/Map/PokemonLA_MMOSpriteStarSymbolDetector.h Source/PokemonLA/Inference/Map/PokemonLA_MapDetector.cpp Source/PokemonLA/Inference/Map/PokemonLA_MapDetector.h Source/PokemonLA/Inference/Map/PokemonLA_MapMarkerLocator.cpp @@ -1763,6 +1763,8 @@ file(GLOB LIBRARY_SOURCES Source/PokemonLA/Inference/Map/PokemonLA_MapWeatherAndTimeReader.h Source/PokemonLA/Inference/Map/PokemonLA_MapZoomLevelReader.cpp Source/PokemonLA/Inference/Map/PokemonLA_MapZoomLevelReader.h + Source/PokemonLA/Inference/Map/PokemonLA_MMOSpriteStarSymbolDetector.cpp + Source/PokemonLA/Inference/Map/PokemonLA_MMOSpriteStarSymbolDetector.h Source/PokemonLA/Inference/Map/PokemonLA_OutbreakReader.cpp Source/PokemonLA/Inference/Map/PokemonLA_OutbreakReader.h Source/PokemonLA/Inference/Map/PokemonLA_PokemonMapSpriteReader.cpp @@ -1848,12 +1850,12 @@ file(GLOB LIBRARY_SOURCES Source/PokemonLA/PokemonLA_Panels.h Source/PokemonLA/PokemonLA_Settings.cpp Source/PokemonLA/PokemonLA_Settings.h + Source/PokemonLA/PokemonLA_Tests.cpp + Source/PokemonLA/PokemonLA_Tests.h Source/PokemonLA/PokemonLA_TravelLocations.cpp Source/PokemonLA/PokemonLA_TravelLocations.h Source/PokemonLA/PokemonLA_WeatherAndTime.cpp Source/PokemonLA/PokemonLA_WeatherAndTime.h - Source/PokemonLA/PokemonLA_Tests.cpp - Source/PokemonLA/PokemonLA_Tests.h Source/PokemonLA/Programs/Farming/PokemonLA_IngoBattleGrinder.cpp Source/PokemonLA/Programs/Farming/PokemonLA_IngoBattleGrinder.h Source/PokemonLA/Programs/Farming/PokemonLA_IngoMoveGrinder.cpp @@ -2008,10 +2010,10 @@ file(GLOB LIBRARY_SOURCES Source/PokemonLZA/Inference/PokemonLZA_DayNightStateDetector.h Source/PokemonLZA/Inference/PokemonLZA_DialogDetector.cpp Source/PokemonLZA/Inference/PokemonLZA_DialogDetector.h - Source/PokemonLZA/Inference/PokemonLZA_HyperspaceRewardNameReader.cpp - Source/PokemonLZA/Inference/PokemonLZA_HyperspaceRewardNameReader.h Source/PokemonLZA/Inference/PokemonLZA_HyperspaceCalorieDetector.cpp Source/PokemonLZA/Inference/PokemonLZA_HyperspaceCalorieDetector.h + Source/PokemonLZA/Inference/PokemonLZA_HyperspaceRewardNameReader.cpp + Source/PokemonLZA/Inference/PokemonLZA_HyperspaceRewardNameReader.h Source/PokemonLZA/Inference/PokemonLZA_MainMenuDetector.cpp Source/PokemonLZA/Inference/PokemonLZA_MainMenuDetector.h Source/PokemonLZA/Inference/PokemonLZA_OverworldPartySelectionDetector.cpp @@ -2060,18 +2062,18 @@ file(GLOB LIBRARY_SOURCES Source/PokemonLZA/Programs/NonShinyHunting/PokemonLZA_WeatherFinder.h Source/PokemonLZA/Programs/PokemonLZA_BasicNavigation.cpp Source/PokemonLZA/Programs/PokemonLZA_BasicNavigation.h - Source/PokemonLZA/Programs/PokemonLZA_FastTravelNavigation.cpp - Source/PokemonLZA/Programs/PokemonLZA_FastTravelNavigation.h - Source/PokemonLZA/Programs/PokemonLZA_HyperspaceNavigation.cpp - Source/PokemonLZA/Programs/PokemonLZA_HyperspaceNavigation.h Source/PokemonLZA/Programs/PokemonLZA_BoxSorter.cpp Source/PokemonLZA/Programs/PokemonLZA_BoxSorter.h Source/PokemonLZA/Programs/PokemonLZA_ClothingBuyer.cpp Source/PokemonLZA/Programs/PokemonLZA_ClothingBuyer.h Source/PokemonLZA/Programs/PokemonLZA_DonutBerrySession.cpp Source/PokemonLZA/Programs/PokemonLZA_DonutBerrySession.h + Source/PokemonLZA/Programs/PokemonLZA_FastTravelNavigation.cpp + Source/PokemonLZA/Programs/PokemonLZA_FastTravelNavigation.h Source/PokemonLZA/Programs/PokemonLZA_GameEntry.cpp Source/PokemonLZA/Programs/PokemonLZA_GameEntry.h + Source/PokemonLZA/Programs/PokemonLZA_HyperspaceNavigation.cpp + Source/PokemonLZA/Programs/PokemonLZA_HyperspaceNavigation.h Source/PokemonLZA/Programs/PokemonLZA_MegaShardFarmer.cpp Source/PokemonLZA/Programs/PokemonLZA_MegaShardFarmer.h Source/PokemonLZA/Programs/PokemonLZA_MenuNavigation.cpp @@ -2094,12 +2096,12 @@ file(GLOB LIBRARY_SOURCES Source/PokemonLZA/Programs/ShinyHunting/PokemonLZA_ShinyHunt_BenchSit.h Source/PokemonLZA/Programs/ShinyHunting/PokemonLZA_ShinyHunt_FlySpotReset.cpp Source/PokemonLZA/Programs/ShinyHunting/PokemonLZA_ShinyHunt_FlySpotReset.h + Source/PokemonLZA/Programs/ShinyHunting/PokemonLZA_ShinyHunt_HelioptileHunter.cpp + Source/PokemonLZA/Programs/ShinyHunting/PokemonLZA_ShinyHunt_HelioptileHunter.h Source/PokemonLZA/Programs/ShinyHunting/PokemonLZA_ShinyHunt_HyperspaceHunter.cpp Source/PokemonLZA/Programs/ShinyHunting/PokemonLZA_ShinyHunt_HyperspaceHunter.h Source/PokemonLZA/Programs/ShinyHunting/PokemonLZA_ShinyHunt_HyperspaceLegendary.cpp Source/PokemonLZA/Programs/ShinyHunting/PokemonLZA_ShinyHunt_HyperspaceLegendary.h - Source/PokemonLZA/Programs/ShinyHunting/PokemonLZA_ShinyHunt_HelioptileHunter.cpp - Source/PokemonLZA/Programs/ShinyHunting/PokemonLZA_ShinyHunt_HelioptileHunter.h Source/PokemonLZA/Programs/ShinyHunting/PokemonLZA_ShinyHunt_OverworldReset.cpp Source/PokemonLZA/Programs/ShinyHunting/PokemonLZA_ShinyHunt_OverworldReset.h Source/PokemonLZA/Programs/ShinyHunting/PokemonLZA_ShuttleRun.cpp @@ -2284,12 +2286,12 @@ file(GLOB LIBRARY_SOURCES Source/PokemonSV/Inference/PokemonSV_MenuOptionReader.h Source/PokemonSV/Inference/PokemonSV_MoneyReader.cpp Source/PokemonSV/Inference/PokemonSV_MoneyReader.h - Source/PokemonSV/Inference/PokemonSV_PokePortalDetector.cpp - Source/PokemonSV/Inference/PokemonSV_PokePortalDetector.h Source/PokemonSV/Inference/PokemonSV_PokemonMovesReader.cpp Source/PokemonSV/Inference/PokemonSV_PokemonMovesReader.h Source/PokemonSV/Inference/PokemonSV_PokemonSummaryReader.cpp Source/PokemonSV/Inference/PokemonSV_PokemonSummaryReader.h + Source/PokemonSV/Inference/PokemonSV_PokePortalDetector.cpp + Source/PokemonSV/Inference/PokemonSV_PokePortalDetector.h Source/PokemonSV/Inference/PokemonSV_StatHexagonReader.cpp Source/PokemonSV/Inference/PokemonSV_StatHexagonReader.h Source/PokemonSV/Inference/PokemonSV_SweatBubbleDetector.cpp @@ -2321,10 +2323,10 @@ file(GLOB LIBRARY_SOURCES Source/PokemonSV/Options/PokemonSV_AuctionItemTable.cpp Source/PokemonSV/Options/PokemonSV_AuctionItemTable.h Source/PokemonSV/Options/PokemonSV_AutoHostOptions.h - Source/PokemonSV/Options/PokemonSV_BBQOption.cpp - Source/PokemonSV/Options/PokemonSV_BBQOption.h Source/PokemonSV/Options/PokemonSV_BattleMoveTable.cpp Source/PokemonSV/Options/PokemonSV_BattleMoveTable.h + Source/PokemonSV/Options/PokemonSV_BBQOption.cpp + Source/PokemonSV/Options/PokemonSV_BBQOption.h Source/PokemonSV/Options/PokemonSV_EggPowerSandwichOption.cpp Source/PokemonSV/Options/PokemonSV_EggPowerSandwichOption.h Source/PokemonSV/Options/PokemonSV_EncounterActionsTable.cpp @@ -2362,8 +2364,6 @@ file(GLOB LIBRARY_SOURCES Source/PokemonSV/PokemonSV_Tests.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_AutoStory_Segment_00.cpp Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory_Segment_00.h Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory_Segment_01.cpp @@ -2446,6 +2446,8 @@ file(GLOB LIBRARY_SOURCES Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory_Segment_39.h Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory_Segment_40.cpp Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStory_Segment_40.h + Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStoryTools.cpp + Source/PokemonSV/Programs/AutoStory/PokemonSV_AutoStoryTools.h Source/PokemonSV/Programs/AutoStory/PokemonSV_MenuOption.cpp Source/PokemonSV/Programs/AutoStory/PokemonSV_MenuOption.h Source/PokemonSV/Programs/AutoStory/PokemonSV_MenuOptionDatabase.cpp @@ -2821,6 +2823,8 @@ file(GLOB LIBRARY_SOURCES Source/PokemonSwSh/PokemonSwSh_Panels.h Source/PokemonSwSh/PokemonSwSh_Settings.cpp Source/PokemonSwSh/PokemonSwSh_Settings.h + Source/PokemonSwSh/PokemonSwSh_Tests.cpp + Source/PokemonSwSh/PokemonSwSh_Tests.h Source/PokemonSwSh/Programs/DateSpamFarmers/PokemonSwSh_DateSpam-BerryFarmer.cpp Source/PokemonSwSh/Programs/DateSpamFarmers/PokemonSwSh_DateSpam-BerryFarmer.h Source/PokemonSwSh/Programs/DateSpamFarmers/PokemonSwSh_DateSpam-BerryFarmer2.cpp @@ -2980,8 +2984,6 @@ file(GLOB LIBRARY_SOURCES Source/PokemonSwSh/Resources/PokemonSwSh_TypeMatchup.h Source/PokemonSwSh/Resources/PokemonSwSh_TypeSprites.cpp Source/PokemonSwSh/Resources/PokemonSwSh_TypeSprites.h - Source/PokemonSwSh/PokemonSwSh_Tests.cpp - Source/PokemonSwSh/PokemonSwSh_Tests.h Source/PokemonSwSh/ShinyHuntTracker.cpp Source/PokemonSwSh/ShinyHuntTracker.h Source/StaticRegistration.h