cleanup: flatten dead branches in common app and ui code

This commit is contained in:
MatthewBeshay
2026-03-26 20:18:29 +11:00
parent 1fecbf297a
commit f19563bbd7
154 changed files with 297 additions and 15903 deletions

View File

@@ -38,22 +38,6 @@ FullTutorial::FullTutorial(int iPad, bool isTrial /*= false*/)
e_Tutorial_Completion_Jump_To_Last_Task,
eTelemetryTutorial_TrialStart));
} else {
#if 0
if (getCompleted(eTutorial_Telemetry_Halfway) &&
!isStateCompleted(e_Tutorial_State_Redstone_And_Piston)) {
addTask(e_Tutorial_State_Gameplay,
new ChoiceTask(this, IDS_TUTORIAL_NEW_FEATURES_CHOICE,
IDS_TUTORIAL_PROMPT_NEW_FEATURES_CHOICE,
true, ACTION_MENU_A, ACTION_MENU_B,
e_Tutorial_Completion_Jump_To_Last_Task,
eTelemetryTutorial_TrialStart));
}
addTask(e_Tutorial_State_Gameplay,
new InfoTask(this, IDS_TUTORIAL_TASK_OVERVIEW,
IDS_TUTORIAL_PROMPT_PRESS_A_TO_CONTINUE, true,
ACTION_MENU_A));
#else
if (getCompleted(eTutorial_Telemetry_Halfway)) {
addTask(e_Tutorial_State_Gameplay,
new ChoiceTask(this, IDS_TUTORIAL_TASK_OVERVIEW,
@@ -67,7 +51,6 @@ FullTutorial::FullTutorial(int iPad, bool isTrial /*= false*/)
IDS_TUTORIAL_PROMPT_PRESS_A_TO_CONTINUE, true,
ACTION_MENU_A));
}
#endif
}
int lookMappings[] = {MINECRAFT_ACTION_LOOK_UP, MINECRAFT_ACTION_LOOK_DOWN,