Update portable branch with licence boilerplates
Also added Cameron Cawley to the licence
This commit is contained in:
parent
afb2b22e58
commit
98f78716f7
56 changed files with 166 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -11,6 +11,7 @@ MIT License
|
||||||
Copyright (c) 2019 Regan "cuckydev" Green
|
Copyright (c) 2019 Regan "cuckydev" Green
|
||||||
Copyright (c) 2019-2020 Clownacy
|
Copyright (c) 2019-2020 Clownacy
|
||||||
Copyright (c) 2019-2020 Gabriel Ravier
|
Copyright (c) 2019-2020 Gabriel Ravier
|
||||||
|
Copyright (c) 2020 Cameron Cawley
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../Audio.h"
|
#include "../Audio.h"
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../Audio.h"
|
#include "../Audio.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../Audio.h"
|
#include "../Audio.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "Backend.h"
|
#include "Backend.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "Mixer.h"
|
#include "Mixer.h"
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "Backend.h"
|
#include "Backend.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "Backend.h"
|
#include "Backend.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "Backend.h"
|
#include "Backend.h"
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "Backend.h"
|
#include "Backend.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -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,
|
// This darned thing doesn't work - sounds just randomly refuse to play,
|
||||||
// particularly the ones used by Organya.
|
// particularly the ones used by Organya.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
bool ControllerBackend_Init(void);
|
bool ControllerBackend_Init(void);
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../Controller.h"
|
#include "../Controller.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../Controller.h"
|
#include "../Controller.h"
|
||||||
|
|
||||||
bool ControllerBackend_Init(void)
|
bool ControllerBackend_Init(void)
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../Controller.h"
|
#include "../Controller.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../Misc.h"
|
#include "../Misc.h"
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../Misc.h"
|
#include "../Misc.h"
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../Misc.h"
|
#include "../Misc.h"
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../Misc.h"
|
#include "../Misc.h"
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../Misc.h"
|
#include "../Misc.h"
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../Misc.h"
|
#include "../Misc.h"
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../Rendering.h"
|
#include "../Rendering.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
// Dual OpenGL 3.2 and OpenGL ES 2.0 renderer
|
// Dual OpenGL 3.2 and OpenGL ES 2.0 renderer
|
||||||
|
|
||||||
#include "../Rendering.h"
|
#include "../Rendering.h"
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../Rendering.h"
|
#include "../Rendering.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../Rendering.h"
|
#include "../Rendering.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../Rendering.h"
|
#include "../Rendering.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../Rendering.h"
|
#include "../Rendering.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../OpenGL.h"
|
#include "../OpenGL.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../OpenGL.h"
|
#include "../OpenGL.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../OpenGL.h"
|
#include "../OpenGL.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../Software.h"
|
#include "../Software.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../Software.h"
|
#include "../Software.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../Software.h"
|
#include "../Software.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../Software.h"
|
#include "../Software.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "../Software.h"
|
#include "../Software.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -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,
|
// Sexy new backend that bounces the software-rendered frame to the GPU,
|
||||||
// eliminating V-tearing, and gaining support for rendering to the TV for
|
// eliminating V-tearing, and gaining support for rendering to the TV for
|
||||||
// free!
|
// free!
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
extern struct GLFWwindow *window;
|
extern struct GLFWwindow *window;
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "SDL.h"
|
#include "SDL.h"
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "Bitmap.h"
|
#include "Bitmap.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "File.h"
|
#include "File.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "Font.h"
|
#include "Font.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "Random.h"
|
#include "Random.h"
|
||||||
|
|
||||||
// A replication of MSVC's rand algorithm
|
// A replication of MSVC's rand algorithm
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
int msvc_rand(void);
|
int msvc_rand(void);
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#include "Resource.h"
|
#include "Resource.h"
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
// Released under the MIT licence.
|
||||||
|
// See LICENCE.txt for details.
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue