Fixes RootNamespace issue (#3)

This commit is contained in:
Kamron Batman 2019-03-21 16:40:57 -07:00 committed by GitHub
parent b786ecb3b8
commit 42c7a6375b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
34 changed files with 41 additions and 40 deletions

1
.gitignore vendored
View File

@ -236,3 +236,4 @@ _Pvt_Extensions
.fake/
.idea/
.DS_Store

View File

@ -6,7 +6,7 @@
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
namespace WC3_TOOL
namespace WC3Tool
{
partial class EventTool
{

View File

@ -12,7 +12,7 @@ using System.Windows.Forms;
using System.Reflection;
using System.Resources;
namespace WC3_TOOL
namespace WC3Tool
{
/// <summary>
/// Description of EventTool.
@ -30,7 +30,7 @@ namespace WC3_TOOL
// TODO: Add constructor code after the InitializeComponent() call.
//
}
ResourceManager Tickets = new ResourceManager("WC3_tool.WC3.Tickets", Assembly.GetExecutingAssembly());
ResourceManager Tickets = new ResourceManager("WC3Tool.WC3.Tickets", Assembly.GetExecutingAssembly());
public string savfilter = "RAW Save file|*.sav;*sa1;*sa2|All Files (*.*)|*.*";
public string wc3filter = "Wonder Card file|*.wc3|All Files (*.*)|*.*";
public string wcnfilter = "Wonder News file|*.wn3|All Files (*.*)|*.*";

View File

@ -6,7 +6,7 @@
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
namespace WC3_TOOL
namespace WC3Tool
{
partial class MainScreen
{

View File

@ -10,7 +10,7 @@ using System;
using System.Windows.Forms;
using System.Reflection;
namespace WC3_TOOL
namespace WC3Tool
{
/// <summary>
/// Description of MainScreen.

View File

@ -9,7 +9,7 @@
using System;
using System.Windows.Forms;
namespace WC3_TOOL
namespace WC3Tool
{
/// <summary>
/// Class with program entry point.

View File

@ -6,7 +6,7 @@
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
namespace WC3_TOOL
namespace WC3Tool
{
partial class Decor_editor
{

View File

@ -10,7 +10,7 @@ using System;
using System.Windows.Forms;
namespace WC3_TOOL
namespace WC3Tool
{
/// <summary>
/// Description of Decor_editor.

View File

@ -9,7 +9,7 @@
using System;
using System.Linq;
namespace WC3_TOOL
namespace WC3Tool
{
/// <summary>
/// Description of ECB.

View File

@ -6,7 +6,7 @@
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
namespace WC3_TOOL
namespace WC3Tool
{
partial class ECB_editor
{

View File

@ -9,7 +9,7 @@
using System;
using System.Windows.Forms;
namespace WC3_TOOL
namespace WC3Tool
{
/// <summary>
/// Description of ECB_editor.

View File

@ -9,7 +9,7 @@
using System;
using System.Linq;
namespace WC3_TOOL
namespace WC3Tool
{
/// <summary>
/// Description of ECT.

View File

@ -6,7 +6,7 @@
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
namespace WC3_TOOL
namespace WC3Tool
{
partial class ECT_editor
{

View File

@ -10,7 +10,7 @@ using System;
using System.Linq;
using System.Windows.Forms;
namespace WC3_TOOL
namespace WC3Tool
{
/// <summary>
/// Description of ECT_editor.

View File

@ -7,7 +7,7 @@
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
namespace WC3_TOOL
namespace WC3Tool
{
/// <summary>
/// Description of ECT_editor_text.

View File

@ -6,7 +6,7 @@
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
namespace WC3_TOOL
namespace WC3Tool
{
partial class ECT_pkedit
{

View File

@ -10,7 +10,7 @@ using System;
using System.Linq;
using System.Windows.Forms;
namespace WC3_TOOL
namespace WC3Tool
{
/// <summary>
/// Description of ECT_pkedit.

View File

@ -11,7 +11,7 @@ using System;
using System.Windows.Forms;
using System.IO;
namespace WC3_TOOL
namespace WC3Tool
{
/// <summary>
/// Description of FILEIO.

View File

@ -10,7 +10,7 @@ using System;
using System.Linq;
using System.Windows.Forms;
namespace WC3_TOOL
namespace WC3Tool
{
/// <summary>
/// Description of ME3.

View File

@ -6,7 +6,7 @@
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
namespace WC3_TOOL
namespace WC3Tool
{
partial class ME3_editor
{

View File

@ -9,7 +9,7 @@
using System;
using System.Windows.Forms;
namespace WC3_TOOL
namespace WC3Tool
{
/// <summary>
/// Description of ME3_editor.

View File

@ -10,7 +10,7 @@ using System;
using System.Linq;
using System.Windows.Forms;
namespace WC3_TOOL
namespace WC3Tool
{
/// <summary>
/// Description of SAV3.

View File

@ -9,7 +9,7 @@
using System;
using System.Linq;
namespace WC3_TOOL
namespace WC3Tool
{
public class TV_EVENTS
{

View File

@ -6,7 +6,7 @@
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
namespace WC3_TOOL
namespace WC3Tool
{
partial class TV_editor
{

View File

@ -9,7 +9,7 @@
using System;
using System.Windows.Forms;
namespace WC3_TOOL
namespace WC3Tool
{
/// <summary>
/// Description of TV_editor.

View File

@ -6,7 +6,7 @@
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
namespace WC3_TOOL
namespace WC3Tool
{
partial class WC3_editor
{

View File

@ -12,7 +12,7 @@ using System.Windows.Forms;
using System.Reflection;
using System.Resources;
namespace WC3_TOOL
namespace WC3Tool
{
/// <summary>
/// Description of MainForm.
@ -299,8 +299,8 @@ namespace WC3_TOOL
{
drawCard();
}
ResourceManager resources = new ResourceManager("WC3_TOOL.WC3.Image.Cards", Assembly.GetExecutingAssembly());
ResourceManager resources2 = new ResourceManager("WC3_TOOL.WC3.Image.Icons", Assembly.GetExecutingAssembly());
ResourceManager resources = new ResourceManager("WC3Tool.WC3.Image.Cards", Assembly.GetExecutingAssembly());
ResourceManager resources2 = new ResourceManager("WC3Tool.WC3.Image.Icons", Assembly.GetExecutingAssembly());
Image bitmap2;
Image bitmap;
void drawCard()

View File

@ -6,7 +6,7 @@
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
namespace WC3_TOOL
namespace WC3Tool
{
partial class WC3_editor_givegg
{

View File

@ -12,7 +12,7 @@ using System.Windows.Forms;
using System.Reflection;
using System.Resources;
namespace WC3_TOOL
namespace WC3Tool
{
/// <summary>
/// Description of WC3_editor_givegg.
@ -70,7 +70,7 @@ Bitmap bitmap = (Bitmap)ResourceManager.GetObject("Image");
break;
}
//MessageBox.Show("ROM_"+game+"_GiveEgg_"+lang);
ResourceManager EggScripts = new ResourceManager("WC3_tool.WC3.GiveEggOrg", Assembly.GetExecutingAssembly());
ResourceManager EggScripts = new ResourceManager("WC3Tool.WC3.GiveEggOrg", Assembly.GetExecutingAssembly());
byte[] egg_script = (byte[]) EggScripts.GetObject("ROM_"+game+"_GiveEgg_"+lang);
//byte[] egg_script = (byte[]) EggScripts.GetObject("ROM_FR_GiveEgg_Esp");

View File

@ -6,7 +6,7 @@
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
namespace WC3_TOOL
namespace WC3Tool
{
partial class WC3_editor_giveggExt
{

View File

@ -12,7 +12,7 @@ using System.Windows.Forms;
using System.Reflection;
using System.Resources;
namespace WC3_TOOL
namespace WC3Tool
{
/// <summary>
/// Description of WC3_editor_givegg.
@ -73,7 +73,7 @@ Bitmap bitmap = (Bitmap)ResourceManager.GetObject("Image");
break;
}
//MessageBox.Show("ROM_"+game+"_GiveEgg_"+lang);
ResourceManager EggScripts = new ResourceManager("WC3_tool.WC3.GiveEggOrg", Assembly.GetExecutingAssembly());
ResourceManager EggScripts = new ResourceManager("WC3Tool.WC3.GiveEggOrg", Assembly.GetExecutingAssembly());
byte[] egg_script;
if (killscript.Checked)

View File

@ -6,7 +6,7 @@
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
namespace WC3_TOOL
namespace WC3Tool
{
partial class WCN_editor
{

View File

@ -12,7 +12,7 @@ using System.Windows.Forms;
using System.Reflection;
using System.Resources;
namespace WC3_TOOL
namespace WC3Tool
{
/// <summary>
/// Description of MainForm.
@ -155,11 +155,11 @@ namespace WC3_TOOL
{
}
ResourceManager resources = new ResourceManager("WC3_TOOL.WC3.Image.Cards", Assembly.GetExecutingAssembly());
ResourceManager resources = new ResourceManager("WC3Tool.WC3.Image.Cards", Assembly.GetExecutingAssembly());
Image bitmap;
void drawCard()
{
//ResourceManager resources = new ResourceManager("WC3_TOOL.WC3.Image.Cards", Assembly.GetExecutingAssembly());
//ResourceManager resources = new ResourceManager("WC3Tool.WC3.Image.Cards", Assembly.GetExecutingAssembly());
bitmap = (Image)resources.GetObject("News_"+colorbox.SelectedIndex);
GFX.DrawImage(bitmap, 500, 140+26, 260, 140);
GFX.DrawImage(bitmap, 500, 140, 260, 140);

View File

@ -10,7 +10,7 @@ using System;
using System.Linq;
using System.Windows.Forms;
namespace WC3_TOOL
namespace WC3Tool
{
/// <summary>
/// Description of wc3.