disable results screen debugger

This commit is contained in:
Cameron Taylor
2025-03-31 19:51:22 -04:00
parent 43f6cf6267
commit 0818bd9c93
2 changed files with 9 additions and 0 deletions
+7
View File
@@ -259,6 +259,12 @@ class Project extends HXProject {
*/
static final FEATURE_STAGE_EDITOR:FeatureFlag = "FEATURE_STAGE_EDITOR";
/**
* `-DFEATURE_RESULTS_DEBUG
* If this flag is enabled, a debug menu for Results screen will be accessible from the debug menu.
*/
static final FEATURE_RESULTS_DEBUG:FeatureFlag = "FEATURE_RESULTS_DEBUG";
/**
* `-DFEATURE_POLYMOD_MODS`
* If this flag is enabled, the game will enable the Polymod library's support for atomic mod loading from the `./mods` folder.
@@ -499,6 +505,7 @@ class Project extends HXProject {
FEATURE_PARTIAL_SOUNDS.apply(this, true);
FEATURE_VIDEO_PLAYBACK.apply(this, true);
FEATURE_STAGE_EDITOR.apply(this, true);
FEATURE_RESULTS_DEBUG.apply(this, true);
// Should be true on debug builds or if GITHUB_BUILD is enabled.
FEATURE_DEBUG_FUNCTIONS.apply(this, isDebug() || GITHUB_BUILD.isEnabled(this));
@@ -60,7 +60,9 @@ class DebugMenuSubState extends MusicBeatSubState
#if FEATURE_STAGE_EDITOR
createItem("STAGE EDITOR", openStageEditor);
#end
#if FEATURE_RESULTS_DEBUG
createItem("RESULTS SCREEN DEBUG", openTestResultsScreen);
#end
// createItem("Input Offset Testing", openInputOffsetTesting);
// createItem("CHARACTER SELECT", openCharSelect, true);
// createItem("TEST STICKERS", testStickers);