Permalink
Browse files

Rename namespace MapLoader to Nibbler.

Remove debug code.
  • Loading branch information...
dcramer committed Apr 6, 2010
1 parent a53efc8 commit 15f3ea0b78a5de09310e9c137ccca459cee9df6e

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
-<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="MapLoader" GeneratedClassName="ClientSettings">
+<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="Nibbler" GeneratedClassName="ClientSettings">
<Profiles />
<Settings>
<Setting Name="SC1_INSTALL_PATH" Type="System.String" Scope="User">
@@ -6,7 +6,7 @@
using System.IO;
using System.Windows.Forms;
-namespace MapLoader
+namespace Nibbler
{
class ExtensionConfiguration
{

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -8,7 +8,7 @@
using System.Windows.Forms;
using System.IO;
-namespace MapLoader
+namespace Nibbler
{
public partial class LoaderConfig : Form
{

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -11,7 +11,7 @@
using Microsoft.Win32;
using System.Threading;
-namespace MapLoader
+namespace Nibbler
{
public partial class LoaderForm : Form
{
@@ -8,8 +8,8 @@
<ProjectGuid>{B0D33570-5487-4F92-AC9F-D568215045BA}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>MapLoader</RootNamespace>
- <AssemblyName>MapLoader</AssemblyName>
+ <RootNamespace>Nibbler</RootNamespace>
+ <AssemblyName>Nibbler</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<StartupObject>
@@ -89,6 +89,7 @@
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
+ <DesignTime>True</DesignTime>
</Compile>
<None Include="app.config" />
<None Include="ClientSettings.settings">
View
@@ -8,7 +8,7 @@
using System.Windows.Forms;
using Utility.ModifyRegistry;
-namespace MapLoader
+namespace Nibbler
{
/// <summary>
/// This class trys to automatically find pathes to game folders etc and
@@ -186,8 +186,8 @@ public string QueryUserForPath(LoaderConfig form, string pathIdentifier)
{
returnValue = form.openFileDialog1.FileName;
returnValue = returnValue.ToLower().Replace("starcraft.exe", "");
- MapLoader.ClientSettings.Default.SC1_INSTALL_PATH = returnValue;
- MapLoader.ClientSettings.Default.Save();
+ Nibbler.ClientSettings.Default.SC1_INSTALL_PATH = returnValue;
+ Nibbler.ClientSettings.Default.Save();
dictPathIdentifiers.Remove(pathIdentifier);
dictPathIdentifiers.Add(pathIdentifier, returnValue);
}
@@ -201,8 +201,8 @@ public string QueryUserForPath(LoaderConfig form, string pathIdentifier)
{
returnValue = form.openFileDialog1.FileName;
returnValue = returnValue.ToLower().Replace("warcraft iii.exe", "");
- MapLoader.ClientSettings.Default.WC3_INSTALL_PATH = returnValue;
- MapLoader.ClientSettings.Default.Save();
+ Nibbler.ClientSettings.Default.WC3_INSTALL_PATH = returnValue;
+ Nibbler.ClientSettings.Default.Save();
dictPathIdentifiers.Remove(pathIdentifier);
dictPathIdentifiers.Add(pathIdentifier, returnValue);
}
@@ -216,8 +216,8 @@ public string QueryUserForPath(LoaderConfig form, string pathIdentifier)
{
returnValue = form.openFileDialog1.FileName;
returnValue = returnValue.ToLower().Replace("starcraft ii.exe", "");
- MapLoader.ClientSettings.Default.SC2_INSTALL_PATH = returnValue;
- MapLoader.ClientSettings.Default.Save();
+ Nibbler.ClientSettings.Default.SC2_INSTALL_PATH = returnValue;
+ Nibbler.ClientSettings.Default.Save();
dictPathIdentifiers.Remove(pathIdentifier);
dictPathIdentifiers.Add(pathIdentifier, returnValue);
}
View
@@ -6,7 +6,7 @@
//AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(UnhandledException);
//static void UnhandledException(object sender, UnhandledExceptionEventArgs ex);
-namespace MapLoader
+namespace Nibbler
{
static class Program
{
@@ -16,15 +16,17 @@ static class Program
[STAThread]
static void Main(string[] args)
{
- /*if (args.Length == 0)
+ if (args.Length == 0)
{
Application.Run(new LoaderConfig());
Application.Exit();
return;
}
- string link = args[0];*/
- string link = "nibbits://wc3.nibbits.com/maps/get/131603/".Replace("nibbits://", "http://");
+ string link = args[0];
+ //string link = "nibbits://wc3.nibbits.com/maps/get/131603/"
+
+ link = link.Replace("nibbits://", "http://");
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
@@ -5,11 +5,11 @@
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
-[assembly: AssemblyTitle("MapLoader")]
+[assembly: AssemblyTitle("Nibbler")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("MapLoader")]
+[assembly: AssemblyCompany("Nibbits.com")]
+[assembly: AssemblyProduct("Nibbler")]
[assembly: AssemblyCopyright("Copyright © 2010")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -2,12 +2,12 @@
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
- <section name="MapLoader.ClientSettings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
- <section name="MapLoader.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
+ <section name="Nibbler.ClientSettings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
+ <section name="Nibbler.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<userSettings>
- <MapLoader.ClientSettings>
+ <Nibbler.ClientSettings>
<setting name="SC1_INSTALL_PATH" serializeAs="String">
<value />
</setting>
@@ -17,8 +17,8 @@
<setting name="WC3_INSTALL_PATH" serializeAs="String">
<value />
</setting>
- </MapLoader.ClientSettings>
- <MapLoader.Properties.Settings>
+ </Nibbler.ClientSettings>
+ <Nibbler.Properties.Settings>
<setting name="wc3_install_path" serializeAs="String">
<value />
</setting>
@@ -28,6 +28,6 @@
<setting name="sc_install_path" serializeAs="String">
<value />
</setting>
- </MapLoader.Properties.Settings>
+ </Nibbler.Properties.Settings>
</userSettings>
</configuration>
View
Binary file not shown.

0 comments on commit 15f3ea0

Please sign in to comment.