ref: 98f78716f7ccc56e3013f5766ca1121899ed5073
parent: afb2b22e5816090d92380fcbf606ebd22c6df57a
author: Clownacy <Clownacy@users.noreply.github.com>
date: Fri Oct 23 15:18:13 EDT 2020
Update portable branch with licence boilerplates Also added Cameron Cawley to the licence
--- a/DoConfig/DoConfig.cpp
+++ b/DoConfig/DoConfig.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
--- a/LICENCE.txt
+++ b/LICENCE.txt
@@ -11,6 +11,7 @@
Copyright (c) 2019 Regan "cuckydev" Green
Copyright (c) 2019-2020 Clownacy
Copyright (c) 2019-2020 Gabriel Ravier
+Copyright (c) 2020 Cameron Cawley
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
--- a/src/Backends/Audio.h
+++ b/src/Backends/Audio.h
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#pragma once
#include <stddef.h>
--- a/src/Backends/Audio/3DS.cpp
+++ b/src/Backends/Audio/3DS.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../Audio.h"
#include <math.h>
--- a/src/Backends/Audio/Null.cpp
+++ b/src/Backends/Audio/Null.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../Audio.h"
#include <stddef.h>
--- a/src/Backends/Audio/SoftwareMixer.cpp
+++ b/src/Backends/Audio/SoftwareMixer.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../Audio.h"
#include <stddef.h>
--- a/src/Backends/Audio/SoftwareMixer/3DS.cpp
+++ b/src/Backends/Audio/SoftwareMixer/3DS.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "Backend.h"
#include <stddef.h>
--- a/src/Backends/Audio/SoftwareMixer/Backend.h
+++ b/src/Backends/Audio/SoftwareMixer/Backend.h
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#pragma once
#include <stddef.h>
--- a/src/Backends/Audio/SoftwareMixer/Mixer.cpp
+++ b/src/Backends/Audio/SoftwareMixer/Mixer.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "Mixer.h"
#include <math.h>
--- a/src/Backends/Audio/SoftwareMixer/Mixer.h
+++ b/src/Backends/Audio/SoftwareMixer/Mixer.h
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#pragma once
#include <stddef.h>
--- a/src/Backends/Audio/SoftwareMixer/SDL1.cpp
+++ b/src/Backends/Audio/SoftwareMixer/SDL1.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "Backend.h"
#include <stddef.h>
--- a/src/Backends/Audio/SoftwareMixer/SDL2.cpp
+++ b/src/Backends/Audio/SoftwareMixer/SDL2.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "Backend.h"
#include <stddef.h>
--- a/src/Backends/Audio/SoftwareMixer/WiiU.cpp
+++ b/src/Backends/Audio/SoftwareMixer/WiiU.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "Backend.h"
#include <math.h>
--- a/src/Backends/Audio/SoftwareMixer/miniaudio.cpp
+++ b/src/Backends/Audio/SoftwareMixer/miniaudio.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "Backend.h"
#include <stddef.h>
--- a/src/Backends/Audio/WiiU.cpp
+++ b/src/Backends/Audio/WiiU.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
// This darned thing doesn't work - sounds just randomly refuse to play,
// particularly the ones used by Organya.
--- a/src/Backends/Controller.h
+++ b/src/Backends/Controller.h
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#pragma once
bool ControllerBackend_Init(void);
--- a/src/Backends/Controller/GLFW3.cpp
+++ b/src/Backends/Controller/GLFW3.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../Controller.h"
#include <stddef.h>
--- a/src/Backends/Controller/Null.cpp
+++ b/src/Backends/Controller/Null.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../Controller.h"
bool ControllerBackend_Init(void)
--- a/src/Backends/Controller/SDL.cpp
+++ b/src/Backends/Controller/SDL.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../Controller.h"
#include <stddef.h>
--- a/src/Backends/Misc.h
+++ b/src/Backends/Misc.h
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#pragma once
#include <stddef.h>
--- a/src/Backends/Platform/3DS.cpp
+++ b/src/Backends/Platform/3DS.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../Misc.h"
#include <stdarg.h>
--- a/src/Backends/Platform/GLFW3.cpp
+++ b/src/Backends/Platform/GLFW3.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../Misc.h"
#include <stdarg.h>
--- a/src/Backends/Platform/Null.cpp
+++ b/src/Backends/Platform/Null.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../Misc.h"
#include <string>
--- a/src/Backends/Platform/SDL1.cpp
+++ b/src/Backends/Platform/SDL1.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../Misc.h"
#include <stdarg.h>
--- a/src/Backends/Platform/SDL2.cpp
+++ b/src/Backends/Platform/SDL2.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../Misc.h"
#include <stdarg.h>
--- a/src/Backends/Platform/WiiU.cpp
+++ b/src/Backends/Platform/WiiU.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../Misc.h"
#include <stdarg.h>
--- a/src/Backends/Rendering.h
+++ b/src/Backends/Rendering.h
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#pragma once
#include <stddef.h>
--- a/src/Backends/Rendering/3DS.cpp
+++ b/src/Backends/Rendering/3DS.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../Rendering.h"
#include <stddef.h>
--- a/src/Backends/Rendering/OpenGL3.cpp
+++ b/src/Backends/Rendering/OpenGL3.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
// Dual OpenGL 3.2 and OpenGL ES 2.0 renderer
#include "../Rendering.h"
--- a/src/Backends/Rendering/SDLSurface.cpp
+++ b/src/Backends/Rendering/SDLSurface.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../Rendering.h"
#include <stddef.h>
--- a/src/Backends/Rendering/SDLTexture.cpp
+++ b/src/Backends/Rendering/SDLTexture.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../Rendering.h"
#include <stddef.h>
--- a/src/Backends/Rendering/Software.cpp
+++ b/src/Backends/Rendering/Software.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../Rendering.h"
#include <stddef.h>
--- a/src/Backends/Rendering/WiiU.cpp
+++ b/src/Backends/Rendering/WiiU.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../Rendering.h"
#include <stddef.h>
--- a/src/Backends/Rendering/Window/OpenGL.h
+++ b/src/Backends/Rendering/Window/OpenGL.h
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#pragma once
#include <stddef.h>
--- a/src/Backends/Rendering/Window/OpenGL3/GLFW3.cpp
+++ b/src/Backends/Rendering/Window/OpenGL3/GLFW3.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../OpenGL.h"
#include <stddef.h>
--- a/src/Backends/Rendering/Window/OpenGL3/SDL1.cpp
+++ b/src/Backends/Rendering/Window/OpenGL3/SDL1.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../OpenGL.h"
#include <stddef.h>
--- a/src/Backends/Rendering/Window/OpenGL3/SDL2.cpp
+++ b/src/Backends/Rendering/Window/OpenGL3/SDL2.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../OpenGL.h"
#include <stddef.h>
--- a/src/Backends/Rendering/Window/Software.h
+++ b/src/Backends/Rendering/Window/Software.h
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#pragma once
#include <stddef.h>
--- a/src/Backends/Rendering/Window/Software/3DS.cpp
+++ b/src/Backends/Rendering/Window/Software/3DS.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../Software.h"
#include <stddef.h>
--- a/src/Backends/Rendering/Window/Software/GLFW3.cpp
+++ b/src/Backends/Rendering/Window/Software/GLFW3.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../Software.h"
#include <stddef.h>
--- a/src/Backends/Rendering/Window/Software/Null.cpp
+++ b/src/Backends/Rendering/Window/Software/Null.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../Software.h"
#include <stddef.h>
--- a/src/Backends/Rendering/Window/Software/SDL1.cpp
+++ b/src/Backends/Rendering/Window/Software/SDL1.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../Software.h"
#include <stddef.h>
--- a/src/Backends/Rendering/Window/Software/SDL2.cpp
+++ b/src/Backends/Rendering/Window/Software/SDL2.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "../Software.h"
#include <stddef.h>
--- a/src/Backends/Rendering/Window/Software/WiiU.cpp
+++ b/src/Backends/Rendering/Window/Software/WiiU.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
// Sexy new backend that bounces the software-rendered frame to the GPU,
// eliminating V-tearing, and gaining support for rendering to the TV for
// free!
--- a/src/Backends/Shared/GLFW3.h
+++ b/src/Backends/Shared/GLFW3.h
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#pragma once
extern struct GLFWwindow *window;
--- a/src/Backends/Shared/SDL.h
+++ b/src/Backends/Shared/SDL.h
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#pragma once
#include "SDL.h"
--- a/src/Bitmap.cpp
+++ b/src/Bitmap.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "Bitmap.h"
#include <stddef.h>
--- a/src/Bitmap.h
+++ b/src/Bitmap.h
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#pragma once
#include <stddef.h>
--- a/src/File.cpp
+++ b/src/File.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "File.h"
#include <stddef.h>
--- a/src/File.h
+++ b/src/File.h
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#pragma once
#include <stddef.h>
--- a/src/Font.cpp
+++ b/src/Font.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "Font.h"
#include <stddef.h>
--- a/src/Font.h
+++ b/src/Font.h
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#pragma once
#include <stddef.h>
--- a/src/Random.cpp
+++ b/src/Random.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "Random.h"
// A replication of MSVC's rand algorithm
--- a/src/Random.h
+++ b/src/Random.h
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#pragma once
int msvc_rand(void);
--- a/src/Resource.cpp
+++ b/src/Resource.cpp
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#include "Resource.h"
#include <stddef.h>
--- a/src/Resource.h
+++ b/src/Resource.h
@@ -1,3 +1,6 @@
+// Released under the MIT licence.
+// See LICENCE.txt for details.
+
#pragma once
#include <stddef.h>