-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # TerrLauncherPackCreator/Properties/AssemblyInfo.cs
- Loading branch information
Showing
22 changed files
with
432 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 13 additions & 7 deletions
20
TerrLauncherPackCreator/Code/Converters/TextureModelToFrameTimeVisibility.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 12 additions & 6 deletions
18
TerrLauncherPackCreator/Code/Converters/TextureModelToVerticalFramesVisibility.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using Newtonsoft.Json; | ||
using TerrLauncherPackCreator.Code.Interfaces; | ||
|
||
namespace TerrLauncherPackCreator.Code.Json { | ||
|
||
public class AudioFileInfo : IPackFileInfo | ||
{ | ||
[JsonProperty("entry_name")] | ||
public string EntryName { get; set; } | ||
|
||
public AudioFileInfo() {} | ||
|
||
public AudioFileInfo(string entryName) | ||
{ | ||
EntryName = entryName; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using Newtonsoft.Json; | ||
using TerrLauncherPackCreator.Code.Interfaces; | ||
|
||
namespace TerrLauncherPackCreator.Code.Json { | ||
|
||
public class FontFileInfo : IPackFileInfo | ||
{ | ||
[JsonProperty("entry_name")] | ||
public string EntryName { get; set; } | ||
|
||
public FontFileInfo() {} | ||
|
||
public FontFileInfo(string entryName) | ||
{ | ||
EntryName = entryName; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
using System.Collections.ObjectModel; | ||
using System.IO; | ||
using JetBrains.Annotations; | ||
|
||
namespace TerrLauncherPackCreator.Code.Models | ||
{ | ||
public class ModifiedAudioModel : ModifiedFileModel | ||
{ | ||
[CanBeNull] | ||
public string Prefix | ||
{ | ||
get => _prefix; | ||
set => SetProperty(ref _prefix, value); | ||
} | ||
private string _prefix; | ||
|
||
[CanBeNull] | ||
public string Name | ||
{ | ||
get => _name; | ||
set => SetProperty(ref _name, value); | ||
} | ||
private string _name; | ||
|
||
[NotNull] | ||
public ObservableCollection<string> CommonPrefixes { get; } | ||
|
||
public ModifiedAudioModel([NotNull] string filePath, bool isDragDropTarget) : base(filePath, isDragDropTarget) | ||
{ | ||
_name = Path.GetFileNameWithoutExtension(filePath); | ||
CommonPrefixes = new ObservableCollection<string> | ||
{ | ||
"", | ||
"Content/Sounds" | ||
}; | ||
Prefix = CommonPrefixes[1]; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
using System.Collections.ObjectModel; | ||
using System.IO; | ||
using JetBrains.Annotations; | ||
|
||
namespace TerrLauncherPackCreator.Code.Models | ||
{ | ||
public class ModifiedFontModel : ModifiedFileModel | ||
{ | ||
[CanBeNull] | ||
public string Prefix | ||
{ | ||
get => _prefix; | ||
set => SetProperty(ref _prefix, value); | ||
} | ||
private string _prefix; | ||
|
||
[CanBeNull] | ||
public string Name | ||
{ | ||
get => _name; | ||
set => SetProperty(ref _name, value); | ||
} | ||
private string _name; | ||
|
||
[NotNull] | ||
public ObservableCollection<string> CommonPrefixes { get; } | ||
|
||
public ModifiedFontModel([NotNull] string filePath, bool isDragDropTarget) : base(filePath, isDragDropTarget) | ||
{ | ||
_name = Path.GetFileNameWithoutExtension(filePath); | ||
CommonPrefixes = new ObservableCollection<string> | ||
{ | ||
"", | ||
"Content/Fonts" | ||
}; | ||
_prefix = CommonPrefixes[1]; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.