Skip to content

Commit

Permalink
Final touches
Browse files Browse the repository at this point in the history
  • Loading branch information
CatmanFan committed Mar 26, 2024
1 parent 1f75728 commit db784ce
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 4 deletions.
1 change: 1 addition & 0 deletions FriishProduce/FriishProduce.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@
<ItemGroup>
<Content Include="Database.xml" />
<Content Include="icon.ico" />
<None Include="Resources\sound.wave.wav" />
<None Include="Resources\icons\consoles\sony playstation.ico" />
<None Include="Resources\icons\msx.png" />
<None Include="Resources\icons\globe-model.png" />
Expand Down
1 change: 0 additions & 1 deletion FriishProduce/InjectorForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public partial class InjectorForm : Form
protected ImageHelper Img { get; set; }
protected Creator Creator { get; set; }

protected bool isVC { get; set; }
protected InjectorWiiVC VC { get; set; }

// -----------------------------------
Expand Down
Binary file added FriishProduce/Resources/sound.wave.wav
Binary file not shown.
4 changes: 2 additions & 2 deletions FriishProduce/_classes/BannerPreview.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace FriishProduce
public static class Preview
{

private static Color[][] ColorSchemes = new Color[][]
private static readonly Color[][] ColorSchemes = new Color[][]
{
// ****************

Expand Down Expand Up @@ -420,7 +420,7 @@ public static Bitmap Banner(Console console, string text, int year, int players,
break;
}

var f = new Font(Font(), (float)9);
var f = new Font(Font(), 9);
var brush = new SolidBrush(ColorSchemes[target][5]);

var p = new GraphicsPath();
Expand Down
2 changes: 1 addition & 1 deletion FriishProduce/_classes/ImageHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ public void CreateSaveWTE(Archives.CCF CCF)
}

[System.Runtime.InteropServices.DllImport("user32.dll")]
static extern bool PostMessage(IntPtr hWnd, UInt32 Msg, int wParam, int lParam);
static extern bool PostMessage(IntPtr hWnd, uint Msg, int wParam, int lParam);

[System.Runtime.InteropServices.DllImport("user32.dll")]
private static extern int SetForegroundWindow(IntPtr point);
Expand Down
20 changes: 20 additions & 0 deletions FriishProduce/_classes/ProjectType.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FriishProduce
{
[Serializable]
public class ProjectType
{
public Console Console { get; set; }

public ROM ROM { get; set; }
public string PatchFile { get; set; }
public ImageHelper Img { get; set; }
public Creator Creator { get; set; }
public Dictionary<string, string> Options { get; set; }
}
}

0 comments on commit db784ce

Please sign in to comment.