(53ca31b28) Removed: Unused tutorialsub, unused enum from tutorials
This commit is contained in:
@@ -22,9 +22,6 @@ namespace Barotrauma.Tutorials
|
|||||||
private Action infoBoxClosedCallback;
|
private Action infoBoxClosedCallback;
|
||||||
protected XElement configElement;
|
protected XElement configElement;
|
||||||
|
|
||||||
private enum TutorialType { None, Scenario, Contextual };
|
|
||||||
private TutorialType tutorialType = TutorialType.None;
|
|
||||||
|
|
||||||
protected VideoPlayer videoPlayer;
|
protected VideoPlayer videoPlayer;
|
||||||
protected enum TutorialContentTypes { None = 0, Video = 1, ManualVideo = 2, TextOnly = 3 };
|
protected enum TutorialContentTypes { None = 0, Video = 1, ManualVideo = 2, TextOnly = 3 };
|
||||||
protected string playableContentPath;
|
protected string playableContentPath;
|
||||||
@@ -164,7 +161,6 @@ namespace Barotrauma.Tutorials
|
|||||||
configElement = element;
|
configElement = element;
|
||||||
Name = element.GetAttributeString("name", "Unnamed");
|
Name = element.GetAttributeString("name", "Unnamed");
|
||||||
completed = GameMain.Config.CompletedTutorialNames.Contains(Name);
|
completed = GameMain.Config.CompletedTutorialNames.Contains(Name);
|
||||||
Enum.TryParse(element.GetAttributeString("tutorialtype", "Scenario"), true, out tutorialType);
|
|
||||||
playableContentPath = element.GetAttributeString("playablecontentpath", "");
|
playableContentPath = element.GetAttributeString("playablecontentpath", "");
|
||||||
|
|
||||||
segments = new List<TutorialSegment>();
|
segments = new List<TutorialSegment>();
|
||||||
|
|||||||
@@ -3133,9 +3133,6 @@
|
|||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</None>
|
</None>
|
||||||
<None Include="$(MSBuildThisFileDirectory)Content\Sounds\Water\SplashLoop.ogg" />
|
<None Include="$(MSBuildThisFileDirectory)Content\Sounds\Water\SplashLoop.ogg" />
|
||||||
<None Include="$(MSBuildThisFileDirectory)Content\Tutorials\TutorialSub.sub">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</None>
|
|
||||||
<None Include="$(MSBuildThisFileDirectory)Content\Sounds\Ambient\Ambient1.ogg">
|
<None Include="$(MSBuildThisFileDirectory)Content\Sounds\Ambient\Ambient1.ogg">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</None>
|
</None>
|
||||||
|
|||||||
Reference in New Issue
Block a user