From 4854086c8cfb89b0253fe6b76a37a276ae693b60 Mon Sep 17 00:00:00 2001 From: somewhatlurker <52014015+somewhatlurker@users.noreply.github.com> Date: Sat, 26 Oct 2019 00:26:16 +1100 Subject: [PATCH] add pause component to launcher and components.ini --- source-code/data/plugins/components.ini | 3 +++ source-code/source/plugins/Launcher/framework.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/source-code/data/plugins/components.ini b/source-code/data/plugins/components.ini index 369be77..6c30c94 100644 --- a/source-code/data/plugins/components.ini +++ b/source-code/data/plugins/components.ini @@ -51,3 +51,6 @@ target_inspector = true # saves high scores to plugins/scores.ini score_saver = true + +# adds a pause menu +pause = true diff --git a/source-code/source/plugins/Launcher/framework.h b/source-code/source/plugins/Launcher/framework.h index dce686a..9c13be6 100644 --- a/source-code/source/plugins/Launcher/framework.h +++ b/source-code/source/plugins/Launcher/framework.h @@ -247,6 +247,8 @@ ConfigOptionBase* componentsArray[] = { new BooleanOption(L"target_inspector", COMPONENTS_SECTION, COMPONENTS_FILE, L"Target Inspector", L"Enables hold transfers.", false, true), new BooleanOption(L"score_saver", COMPONENTS_SECTION, COMPONENTS_FILE, L"Score Saver", L"Saves high scores to plugins/scores.ini.", false, true), + + new BooleanOption(L"pause", COMPONENTS_SECTION, COMPONENTS_FILE, L"Pause", L"Adds a pause menu.", false, true), }; bool IsLineInFile(LPCSTR searchLine, LPCWSTR fileName)