Skip to content

Commit

Permalink
feat: update monster images
Browse files Browse the repository at this point in the history
  • Loading branch information
DorielRivalet committed Jul 21, 2024
1 parent 2c79879 commit ed67b0e
Show file tree
Hide file tree
Showing 82 changed files with 84 additions and 44 deletions.
Binary file modified MHFZ_Overlay/Assets/Icons/png/monster/azure_rathalos.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified MHFZ_Overlay/Assets/Icons/png/monster/conquest_shantien.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified MHFZ_Overlay/Assets/Icons/png/monster/disufiroa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified MHFZ_Overlay/Assets/Icons/png/monster/gold_rathian.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified MHFZ_Overlay/Assets/Icons/png/monster/pink_rathian.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified MHFZ_Overlay/Assets/Icons/png/monster/rathalos.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified MHFZ_Overlay/Assets/Icons/png/monster/rathian.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified MHFZ_Overlay/Assets/Icons/png/monster/shantien.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified MHFZ_Overlay/Assets/Icons/png/monster/shiten_disufiroa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified MHFZ_Overlay/Assets/Icons/png/monster/shiten_unknown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified MHFZ_Overlay/Assets/Icons/png/monster/silver_rathalos.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified MHFZ_Overlay/Assets/Icons/png/monster/unknown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
36 changes: 35 additions & 1 deletion MHFZ_Overlay/Services/FileService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,41 @@ public sealed class FileService

public static TimeSpan SnackbarTimeOut { get; set; } = TimeSpan.FromSeconds(5);

public static bool OpenApplicationFolder(SnackbarPresenter snackbarPresenter, Style snackbarStyle, TimeSpan snackbarTimeout)
public static bool GenerateSpeedrunFiles(SnackbarPresenter snackbarPresenter, Style snackbarStyle, TimeSpan snackbarTimeout)
{
try
{
var snackbar = new Snackbar(snackbarPresenter)
{
Style = snackbarStyle,
Title = Messages.ErrorTitle,
Content = "Could not generate speedrun files",
Icon = new SymbolIcon(SymbolRegular.ErrorCircle24),
Appearance = ControlAppearance.Danger,
Timeout = snackbarTimeout,
};
snackbar.Show();
return true;
}
catch (Exception ex)
{
// TODO maybe a snackbar helper class?
Logger.Error(ex);
var snackbar = new Snackbar(snackbarPresenter)
{
Style = snackbarStyle,
Title = Messages.ErrorTitle,
Content = "Could not generate speedrun files",
Icon = new SymbolIcon(SymbolRegular.ErrorCircle24),
Appearance = ControlAppearance.Danger,
Timeout = snackbarTimeout,
};
snackbar.Show();
return false;
}
}

public static bool OpenApplicationFolder(SnackbarPresenter snackbarPresenter, Style snackbarStyle, TimeSpan snackbarTimeout)
{
try
{
Expand Down
2 changes: 1 addition & 1 deletion MHFZ_Overlay/ViewModels/Windows/AddressModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4314,7 +4314,7 @@ public string Monster1HP
}

/// <summary>
/// Gets the name of the rank.
/// Gets the name of the rank.TODO: In database the spaces are there.
/// </summary>
/// <param name="id">The identifier.</param>
/// <returns></returns>
Expand Down
88 changes: 46 additions & 42 deletions MHFZ_Overlay/Views/Windows/ConfigWindow.xaml

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions MHFZ_Overlay/Views/Windows/ConfigWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1148,6 +1148,8 @@ private async Task GetRepoStats()

private void OpenOverlayFolder_Click(object sender, RoutedEventArgs e) => FileService.OpenApplicationFolder(this.ConfigWindowSnackBarPresenter, (Style)this.FindResource("CatppuccinMochaSnackBar"), this.SnackbarTimeOut);

private void GenerateSpeedrunFiles_Click(object sender, RoutedEventArgs e) => FileService.GenerateSpeedrunFiles(this.ConfigWindowSnackBarPresenter, (Style)this.FindResource("CatppuccinMochaSnackBar"), this.SnackbarTimeOut);

private void OpenSettingsFolder_Click(object sender, RoutedEventArgs e)
{
try
Expand Down
Binary file modified img/monster/azure_rathalos.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/monster/azure_rathalos.webp
Binary file not shown.
Binary file modified img/monster/conquest_shantien.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/monster/conquest_shantien.webp
Binary file not shown.
Binary file modified img/monster/disufiroa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/monster/disufiroa.webp
Binary file not shown.
Binary file modified img/monster/gold_rathian.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/monster/gold_rathian.webp
Binary file not shown.
Binary file modified img/monster/pink_rathian.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/monster/pink_rathian.webp
Binary file not shown.
Binary file modified img/monster/rathalos.png
Binary file added img/monster/rathalos.webp
Binary file not shown.
Binary file modified img/monster/rathian.png
Binary file added img/monster/rathian.webp
Binary file not shown.
Binary file modified img/monster/shantien.png
Binary file added img/monster/shantien.webp
Binary file not shown.
Binary file modified img/monster/shiten_disufiroa.png
Binary file added img/monster/shiten_disufiroa.webp
Binary file not shown.
Binary file added img/monster/shiten_unknown.gif
Binary file modified img/monster/shiten_unknown.png
Binary file added img/monster/shiten_unknown.webp
Binary file not shown.
Binary file added img/monster/shiten_unknown_phase2.png
Binary file added img/monster/shiten_unknown_phase2.webp
Binary file not shown.
Binary file added img/monster/shiten_unknown_phase3.png
Binary file added img/monster/shiten_unknown_phase3.webp
Binary file not shown.
Binary file added img/monster/shiten_unknown_phase4.png
Binary file added img/monster/shiten_unknown_phase4.webp
Binary file not shown.
Binary file added img/monster/shiten_unknown_phase5.png
Binary file added img/monster/shiten_unknown_phase5.webp
Binary file not shown.
Binary file added img/monster/shiten_unknown_phase6.png
Binary file added img/monster/shiten_unknown_phase6.webp
Binary file not shown.
Binary file added img/monster/shiten_unknown_phase7.png
Binary file added img/monster/shiten_unknown_phase7.webp
Binary file not shown.
Binary file added img/monster/shiten_unknown_phase8.png
Binary file added img/monster/shiten_unknown_phase8.webp
Binary file not shown.
Binary file modified img/monster/silver_rathalos.png
Binary file added img/monster/silver_rathalos.webp
Binary file not shown.
Binary file modified img/monster/unknown.png
Binary file added img/monster/unknown.webp
Binary file not shown.

0 comments on commit ed67b0e

Please sign in to comment.