Add copyright notices to every source file.

This commit is contained in:
UnknownShadow200 2016-03-26 13:51:42 +11:00
parent df4db4cc51
commit a78205c45a
230 changed files with 466 additions and 253 deletions

View File

@ -1,4 +1,5 @@
#if ANDROID
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
#if ANDROID
using System;
using ClassicalSharp.GraphicsAPI;
using Android.Graphics;

View File

@ -1,4 +1,5 @@
#if ANDROID
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
#if ANDROID
using System;
using System.Collections.Generic;
using Android.Graphics;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
namespace ClassicalSharp {

View File

@ -1,4 +1,5 @@
#if !ANDROID
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
#if !ANDROID
using System;
using System.Drawing;
using System.Drawing.Text;

View File

@ -1,4 +1,5 @@
#if !ANDROID
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
#if !ANDROID
using System;
using System.Collections.Generic;
using System.Drawing;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using ClassicalSharp.GraphicsAPI;
#if ANDROID

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Collections.Generic;
using System.Drawing;
using ClassicalSharp.GraphicsAPI;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using ClassicalSharp.GraphicsAPI;
using OpenTK.Input;
@ -28,33 +29,19 @@ namespace ClassicalSharp {
/// <summary> Called when the game window is resized. </summary>
public abstract void OnResize( int oldWidth, int oldHeight, int width, int height );
public virtual bool HandlesKeyDown( Key key ) {
return false;
}
public virtual bool HandlesKeyDown( Key key ) { return false; }
public virtual bool HandlesKeyPress( char key ) {
return false;
}
public virtual bool HandlesKeyPress( char key ) { return false; }
public virtual bool HandlesKeyUp( Key key ) {
return false;
}
public virtual bool HandlesKeyUp( Key key ) { return false; }
public virtual bool HandlesMouseClick( int mouseX, int mouseY, MouseButton button ) {
return false;
}
public virtual bool HandlesMouseClick( int mouseX, int mouseY, MouseButton button ) { return false; }
public virtual bool HandlesMouseMove( int mouseX, int mouseY ) {
return false;
}
public virtual bool HandlesMouseMove( int mouseX, int mouseY ) { return false; }
public virtual bool HandlesMouseScroll( int delta ) {
return false;
}
public virtual bool HandlesMouseScroll( int delta ) { return false; }
public virtual bool HandlesMouseUp( int mouseX, int mouseY, MouseButton button ) {
return false;
}
public virtual bool HandlesMouseUp( int mouseX, int mouseY, MouseButton button ) { return false; }
protected static int CalcDelta( int newVal, int oldVal, Anchor mode ) {
return CalcOffset( newVal, oldVal, 0, mode );

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using ClassicalSharp.GraphicsAPI;
using ClassicalSharp.Model;
using OpenTK;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using OpenTK.Input;
namespace ClassicalSharp {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using ClassicalSharp.GraphicsAPI;
using OpenTK.Input;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using OpenTK.Input;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using OpenTK.Input;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using OpenTK.Input;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using ClassicalSharp.GraphicsAPI;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using ClassicalSharp.Hotkeys;
using OpenTK.Input;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using ClassicalSharp.GraphicsAPI;
using OpenTK.Input;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using ClassicalSharp.GraphicsAPI;
using ClassicalSharp.Model;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using ClassicalSharp.Singleplayer;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using ClassicalSharp.Renderers;
using OpenTK.Input;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using System.IO;
using ClassicalSharp.Generator;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using ClassicalSharp.Singleplayer;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
namespace ClassicalSharp {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using ClassicalSharp.Singleplayer;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using OpenTK.Input;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.IO;
using OpenTK.Input;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using OpenTK.Input;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using OpenTK.Input;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using ClassicalSharp.Singleplayer;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using ClassicalSharp.Singleplayer;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using OpenTK.Input;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using OpenTK.Input;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using OpenTK.Input;
using System.IO;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.IO;
using ClassicalSharp.TexturePack;
using OpenTK.Input;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
namespace ClassicalSharp {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using OpenTK.Input;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using ClassicalSharp.GraphicsAPI;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using System.Drawing.Imaging;
#if ANDROID

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
namespace ClassicalSharp {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using ClassicalSharp.GraphicsAPI;
using OpenTK.Input;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using OpenTK.Input;
#if ANDROID

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
namespace ClassicalSharp {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using OpenTK.Input;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
namespace ClassicalSharp {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Collections.Generic;
using System.Drawing;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Collections.Generic;
using System.Drawing;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using OpenTK.Input;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
namespace ClassicalSharp {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
namespace ClassicalSharp {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using OpenTK.Input;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Collections.Generic;
using System.Drawing;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Collections.Generic;
using System.Drawing;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Collections.Generic;
using System.Drawing;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
namespace ClassicalSharp {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
namespace ClassicalSharp {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using OpenTK.Input;

View File

@ -1,10 +1,8 @@
using System;
using System.IO;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Threading;
using OpenTK;
using SharpWave;
using SharpWave.Codecs;
using SharpWave.Codecs.Vorbis;
namespace ClassicalSharp.Audio {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.IO;
using System.Threading;
using SharpWave;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Collections.Generic;
using System.IO;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
namespace ClassicalSharp {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
namespace ClassicalSharp {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using OpenTK;
using ClassicalSharp;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using OpenTK;
namespace ClassicalSharp {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using OpenTK;
namespace ClassicalSharp {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using OpenTK;
namespace ClassicalSharp {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
namespace ClassicalSharp.Commands {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Collections.Generic;
using System.Text;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
namespace ClassicalSharp.Commands {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Collections.Generic;
using System.Text;
using ClassicalSharp.Renderers;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using OpenTK;
namespace ClassicalSharp.Entities {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using OpenTK;
namespace ClassicalSharp.Entities {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using OpenTK;
namespace ClassicalSharp.Entities {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using ClassicalSharp.Model;
using OpenTK;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using ClassicalSharp.Model;
using OpenTK;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using ClassicalSharp.Renderers;
using OpenTK;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using OpenTK;
namespace ClassicalSharp {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using ClassicalSharp.GraphicsAPI;
using OpenTK;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using ClassicalSharp.Model;
using OpenTK;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using ClassicalSharp.Model;
using OpenTK;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using OpenTK;
using ClassicalSharp.GraphicsAPI;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using ClassicalSharp.Renderers;
using OpenTK;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using ClassicalSharp.Renderers;
using OpenTK;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using OpenTK;
namespace ClassicalSharp {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using OpenTK;
namespace ClassicalSharp {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
using ClassicalSharp.GraphicsAPI;
using ClassicalSharp.Model;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
namespace ClassicalSharp {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
namespace ClassicalSharp {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
namespace ClassicalSharp {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Diagnostics;
using System.Drawing;
using System.IO;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using ClassicalSharp.Hotkeys;
using OpenTK;
using OpenTK.Input;

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
namespace ClassicalSharp {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using OpenTK.Input;
namespace ClassicalSharp {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using OpenTK;
namespace ClassicalSharp.Generator {

View File

@ -1,4 +1,5 @@
using System;
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Threading;
using ClassicalSharp.Singleplayer;

View File

@ -1,4 +1,5 @@
// Source from http://mrl.nyu.edu/~perlin/noise/
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
// Source from http://mrl.nyu.edu/~perlin/noise/
// Optimised form as we can always treat Z as being = 0.
// Octave and combined noise based on:
// https://github.com/UnknownShadow200/ClassicalSharp/wiki/Minecraft-Classic-map-generation-algorithm

View File

@ -1,4 +1,5 @@
// Based on:
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
// Based on:
// https://github.com/UnknownShadow200/ClassicalSharp/wiki/Minecraft-Classic-map-generation-algorithm
// Thanks to Jerralish for originally reverse engineering classic's algorithm, then preparing a high level overview of the algorithm.
// I believe this process adheres to clean room reverse engineering.

View File

@ -1,4 +1,5 @@
// Based on:
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
// Based on:
// https://github.com/UnknownShadow200/ClassicalSharp/wiki/Minecraft-Classic-map-generation-algorithm
// Thanks to Jerralish for originally reverse engineering classic's algorithm, then preparing a high level overview of the algorithm.
// I believe this process adheres to clean room reverse engineering.

Some files were not shown because too many files have changed in this diff Show More