Skip to content

Commit

Permalink
Add a license.
Browse files Browse the repository at this point in the history
  • Loading branch information
nitroxis committed Sep 13, 2014
1 parent 07b561f commit c4b6ed5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 7 deletions.
9 changes: 2 additions & 7 deletions BZ2TerrainEditor/Editor.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace BZ2TerrainEditor
Expand All @@ -29,8 +25,8 @@ public partial class Editor : Form
private FileInfo currentFile;
private bool changed;

private List<GCHandle> imageHandles;
private List<Form> forms;
private readonly List<GCHandle> imageHandles;
private readonly List<Form> forms;

#endregion

Expand Down Expand Up @@ -601,7 +597,6 @@ private void colorMapExport_Click(object sender, EventArgs e)

#endregion


private void normalMapShow_Click(object sender, EventArgs e)
{
if (this.terrain == null)
Expand Down
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2014 Nitroxis

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

0 comments on commit c4b6ed5

Please sign in to comment.