diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d62896f..27cc00c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: push: branches: - - "**" + - "main" jobs: build: @@ -113,5 +113,5 @@ jobs: embed-url: ${{ steps.publish-nightly.outputs.url }} embed-author: ${{ github.actor }} embed-author-icon: "https://avatars.githubusercontent.com/u/${{ github.actor_id }}?v=4" - embed-thumbnail: "https://raw.githubusercontent.com/${{ github.repository }}/refs/tags/nightly/logo.png" + embed-thumbnail: "https://raw.githubusercontent.com/${{ github.repository }}/refs/tags/dev/logo.png" embed-timestamp: "now" diff --git a/include/horrible/API.h b/include/horrible/API.h index d12b5e5..076804c 100644 --- a/include/horrible/API.h +++ b/include/horrible/API.h @@ -34,6 +34,8 @@ namespace horrible { geode::utils::StringMap> m_options; // Map of registered options std::vector m_categories; // Array of auto-registered categories + std::unordered_map> m_enabledCheats; // Map of currently enabled cheat options, used for dynamic safe mode + geode::utils::StringMap m_integrations; // Map of auto-registered external mods using this API std::unordered_map> m_delegates; // Map of option ID to array of delegates to call when that option is toggled @@ -91,6 +93,13 @@ namespace horrible { */ void registerOption(std::shared_ptr