From d2d94fe3bcb8d1c0ffc0ea27cd2fce6ac88f2e27 Mon Sep 17 00:00:00 2001 From: Marrub Date: Wed, 4 Oct 2017 20:14:46 -0400 Subject: [PATCH] Add MIT license --- COPYING | 19 +++++++++++++++++++ Makefile | 1 + data_mfed/resdecl_mfed.rd | 1 - src/g_objdef.c | 1 + src/g_objdef.h | 1 + src/g_object.c | 1 + src/g_object.h | 1 + src/g_player.c | 1 + src/g_player.h | 1 + src/g_stage.c | 1 + src/g_stage.h | 1 + src/golan5.c | 1 + src/i_gui.c | 1 + src/i_gui.h | 1 + src/i_ui.h | 1 + src/m_binio.c | 1 + src/m_binio.h | 1 + src/m_darray.h | 1 + src/m_math.c | 1 + src/m_math.h | 1 + src/m_str.c | 1 + src/m_str.h | 1 + src/m_tokbuf.c | 1 + src/m_tokbuf.h | 1 + src/m_token.c | 1 + src/m_token.h | 1 + src/m_types.h | 1 + src/main.c | 1 + src/mfed.c | 1 + src/r_draw.c | 5 +++-- src/r_resdec.c | 1 + src/strh.c | 1 + 32 files changed, 51 insertions(+), 3 deletions(-) create mode 100644 COPYING diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..63b02ab --- /dev/null +++ b/COPYING @@ -0,0 +1,19 @@ +Copyright (C) 2017 Project Golan + +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. diff --git a/Makefile b/Makefile index 041dfae..493d8f5 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ ## Copyright © 2017 Project Golan, all rights reserved. +## See COPYING for more information. GDCC_CC=gdcc-cc GDCC_LD=gdcc-ld GDCC_NTSC=gdcc-ntsc diff --git a/data_mfed/resdecl_mfed.rd b/data_mfed/resdecl_mfed.rd index ca9651f..76e64fe 100644 --- a/data_mfed/resdecl_mfed.rd +++ b/data_mfed/resdecl_mfed.rd @@ -1,5 +1,4 @@ // Copyright © 2017 Project Golan, all rights reserved. - include "resdecl.rd" font "editor" = "fonts/editor.otf", 24 diff --git a/src/g_objdef.c b/src/g_objdef.c index b05944b..329cc98 100644 --- a/src/g_objdef.c +++ b/src/g_objdef.c @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #include "g_objdef.h" #include "m_tokbuf.h" diff --git a/src/g_objdef.h b/src/g_objdef.h index 3038417..41c817b 100644 --- a/src/g_objdef.h +++ b/src/g_objdef.h @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #ifndef g_objdef_h #define g_objdef_h diff --git a/src/g_object.c b/src/g_object.c index 35f1db8..1f654f4 100644 --- a/src/g_object.c +++ b/src/g_object.c @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #include "g_object.h" #include "g_stage.h" diff --git a/src/g_object.h b/src/g_object.h index 383ad2d..62dacb3 100644 --- a/src/g_object.h +++ b/src/g_object.h @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #ifndef g_object_h #define g_object_h diff --git a/src/g_player.c b/src/g_player.c index 8e400f9..6e376f0 100644 --- a/src/g_player.c +++ b/src/g_player.c @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #define _GNU_SOURCE // Required for sincos(3). See feature_test_macros(7) #include "g_player.h" diff --git a/src/g_player.h b/src/g_player.h index 120424e..36b24dd 100644 --- a/src/g_player.h +++ b/src/g_player.h @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #ifndef g_player_h #define g_player_h diff --git a/src/g_stage.c b/src/g_stage.c index 6b8d460..c90b8a8 100644 --- a/src/g_stage.c +++ b/src/g_stage.c @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #include "g_stage.h" #include "g_object.h" diff --git a/src/g_stage.h b/src/g_stage.h index 6e16c90..cc5c756 100644 --- a/src/g_stage.h +++ b/src/g_stage.h @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #ifndef g_stage_h #define g_stage_h diff --git a/src/golan5.c b/src/golan5.c index 53a774b..7839fd0 100644 --- a/src/golan5.c +++ b/src/golan5.c @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #include "m_tokbuf.h" #include "m_binio.h" diff --git a/src/i_gui.c b/src/i_gui.c index eb1ab52..d4a6c15 100644 --- a/src/i_gui.c +++ b/src/i_gui.c @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #include "i_gui.h" #include "m_math.h" diff --git a/src/i_gui.h b/src/i_gui.h index 24a4cbc..5f3bc3e 100644 --- a/src/i_gui.h +++ b/src/i_gui.h @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #ifndef i_gui_h #define i_gui_h diff --git a/src/i_ui.h b/src/i_ui.h index 653923f..2cddf0d 100644 --- a/src/i_ui.h +++ b/src/i_ui.h @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #ifndef i_ui_h #define i_ui_h diff --git a/src/m_binio.c b/src/m_binio.c index c3dcb0b..3c4a6fc 100644 --- a/src/m_binio.c +++ b/src/m_binio.c @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #include "m_binio.h" #include diff --git a/src/m_binio.h b/src/m_binio.h index 6d914e7..9db4bc5 100644 --- a/src/m_binio.h +++ b/src/m_binio.h @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #ifndef m_binio_h #define m_binio_h diff --git a/src/m_darray.h b/src/m_darray.h index ec2f005..1cf7330 100644 --- a/src/m_darray.h +++ b/src/m_darray.h @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #ifndef m_darray_h #define m_darray_h diff --git a/src/m_math.c b/src/m_math.c index f8fd01b..a9f0a22 100644 --- a/src/m_math.c +++ b/src/m_math.c @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #include "m_math.h" #include diff --git a/src/m_math.h b/src/m_math.h index ee8912c..41d74e3 100644 --- a/src/m_math.h +++ b/src/m_math.h @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #ifndef m_math_h #define m_math_h diff --git a/src/m_str.c b/src/m_str.c index cc4a4f4..1390290 100644 --- a/src/m_str.c +++ b/src/m_str.c @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #include "m_str.h" #include "m_types.h" diff --git a/src/m_str.h b/src/m_str.h index b0ae4df..36a9ea0 100644 --- a/src/m_str.h +++ b/src/m_str.h @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #ifndef m_str_h #define m_str_h diff --git a/src/m_tokbuf.c b/src/m_tokbuf.c index 7dd870d..c728bde 100644 --- a/src/m_tokbuf.c +++ b/src/m_tokbuf.c @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #include "m_tokbuf.h" #include diff --git a/src/m_tokbuf.h b/src/m_tokbuf.h index b6d616c..59d0286 100644 --- a/src/m_tokbuf.h +++ b/src/m_tokbuf.h @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #ifndef m_tokbuf_h #define m_tokbuf_h diff --git a/src/m_token.c b/src/m_token.c index 25ecce8..d9744a3 100644 --- a/src/m_token.c +++ b/src/m_token.c @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #include "m_token.h" #include "m_darray.h" diff --git a/src/m_token.h b/src/m_token.h index 7d784a4..46438a0 100644 --- a/src/m_token.h +++ b/src/m_token.h @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #ifndef m_token_h #define m_token_h diff --git a/src/m_types.h b/src/m_types.h index 4350012..399f23b 100644 --- a/src/m_types.h +++ b/src/m_types.h @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #ifndef m_types_h #define m_types_h diff --git a/src/main.c b/src/main.c index e3c7a67..3ede120 100644 --- a/src/main.c +++ b/src/main.c @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #include "g_stage.h" #include "g_object.h" #include "g_player.h" diff --git a/src/mfed.c b/src/mfed.c index 318fa44..a69abc1 100644 --- a/src/mfed.c +++ b/src/mfed.c @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #include "g_object.h" #include "g_stage.h" #include "r_draw.h" diff --git a/src/r_draw.c b/src/r_draw.c index 7a41c31..059c2bf 100644 --- a/src/r_draw.c +++ b/src/r_draw.c @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #include "g_stage.h" #include "g_object.h" #include "g_player.h" @@ -43,14 +44,14 @@ static void R_draw(ulfra delta) lfxpt time = G_Time + (lfxpt)delta; - if(G_Time < 50 && time) + if(G_Time < 60 && time) yadd = -logf(0.7 / time); DGE_Texture_Bind(DGE_Texture_Get(s"bkg/space")); DGE_Draw_Rectangle(30, 30, 30+510, 30+660); DGE_Texture_Bind(DGE_Texture_Get(s"bkg/earth")); - DGE_Draw_Rectangle(30, 30, 30+510, 30+660 + yadd*4 + time/80); + DGE_Draw_Rectangle(30, 30, 30+510, 30+660 + yadd*4 + time/60); if(G_Time < 50) { DGE_Texture_Bind(DGE_Texture_Get(s"bkg/station")); diff --git a/src/r_resdec.c b/src/r_resdec.c index 7ca2013..b47796e 100644 --- a/src/r_resdec.c +++ b/src/r_resdec.c @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #include "m_tokbuf.h" #include "m_str.h" diff --git a/src/strh.c b/src/strh.c index 4c5da87..c6c3787 100644 --- a/src/strh.c +++ b/src/strh.c @@ -1,4 +1,5 @@ // Copyright © 2017 Project Golan, all rights reserved. +// See COPYING for more information. #include "m_str.h" #include