Browse Source

Add MIT license

Marrub 1 year ago
parent
commit
d2d94fe3bc
32 changed files with 51 additions and 3 deletions
  1. 19
    0
      COPYING
  2. 1
    0
      Makefile
  3. 0
    1
      data_mfed/resdecl_mfed.rd
  4. 1
    0
      src/g_objdef.c
  5. 1
    0
      src/g_objdef.h
  6. 1
    0
      src/g_object.c
  7. 1
    0
      src/g_object.h
  8. 1
    0
      src/g_player.c
  9. 1
    0
      src/g_player.h
  10. 1
    0
      src/g_stage.c
  11. 1
    0
      src/g_stage.h
  12. 1
    0
      src/golan5.c
  13. 1
    0
      src/i_gui.c
  14. 1
    0
      src/i_gui.h
  15. 1
    0
      src/i_ui.h
  16. 1
    0
      src/m_binio.c
  17. 1
    0
      src/m_binio.h
  18. 1
    0
      src/m_darray.h
  19. 1
    0
      src/m_math.c
  20. 1
    0
      src/m_math.h
  21. 1
    0
      src/m_str.c
  22. 1
    0
      src/m_str.h
  23. 1
    0
      src/m_tokbuf.c
  24. 1
    0
      src/m_tokbuf.h
  25. 1
    0
      src/m_token.c
  26. 1
    0
      src/m_token.h
  27. 1
    0
      src/m_types.h
  28. 1
    0
      src/main.c
  29. 1
    0
      src/mfed.c
  30. 3
    2
      src/r_draw.c
  31. 1
    0
      src/r_resdec.c
  32. 1
    0
      src/strh.c

+ 19
- 0
COPYING View File

@@ -0,0 +1,19 @@
1
+Copyright (C) 2017 Project Golan
2
+
3
+Permission is hereby granted, free of charge, to any person obtaining a copy
4
+of this software and associated documentation files (the "Software"), to deal
5
+in the Software without restriction, including without limitation the rights
6
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+copies of the Software, and to permit persons to whom the Software is
8
+furnished to do so, subject to the following conditions:
9
+
10
+The above copyright notice and this permission notice shall be included in all
11
+copies or substantial portions of the Software.
12
+
13
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+SOFTWARE.

+ 1
- 0
Makefile View File

@@ -1,4 +1,5 @@
1 1
 ## Copyright © 2017 Project Golan, all rights reserved.
2
+## See COPYING for more information.
2 3
 GDCC_CC=gdcc-cc
3 4
 GDCC_LD=gdcc-ld
4 5
 GDCC_NTSC=gdcc-ntsc

+ 0
- 1
data_mfed/resdecl_mfed.rd View File

@@ -1,5 +1,4 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
-
3 2
 include "resdecl.rd"
4 3
 
5 4
 font "editor" = "fonts/editor.otf", 24

+ 1
- 0
src/g_objdef.c View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #include "g_objdef.h"
3 4
 
4 5
 #include "m_tokbuf.h"

+ 1
- 0
src/g_objdef.h View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #ifndef g_objdef_h
3 4
 #define g_objdef_h
4 5
 

+ 1
- 0
src/g_object.c View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #include "g_object.h"
3 4
 
4 5
 #include "g_stage.h"

+ 1
- 0
src/g_object.h View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #ifndef g_object_h
3 4
 #define g_object_h
4 5
 

+ 1
- 0
src/g_player.c View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #define _GNU_SOURCE // Required for sincos(3). See feature_test_macros(7)
3 4
 #include "g_player.h"
4 5
 

+ 1
- 0
src/g_player.h View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #ifndef g_player_h
3 4
 #define g_player_h
4 5
 

+ 1
- 0
src/g_stage.c View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #include "g_stage.h"
3 4
 
4 5
 #include "g_object.h"

+ 1
- 0
src/g_stage.h View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #ifndef g_stage_h
3 4
 #define g_stage_h
4 5
 

+ 1
- 0
src/golan5.c View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #include "m_tokbuf.h"
3 4
 #include "m_binio.h"
4 5
 

+ 1
- 0
src/i_gui.c View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #include "i_gui.h"
3 4
 
4 5
 #include "m_math.h"

+ 1
- 0
src/i_gui.h View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #ifndef i_gui_h
3 4
 #define i_gui_h
4 5
 

+ 1
- 0
src/i_ui.h View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #ifndef i_ui_h
3 4
 #define i_ui_h
4 5
 

+ 1
- 0
src/m_binio.c View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #include "m_binio.h"
3 4
 
4 5
 #include <stdio.h>

+ 1
- 0
src/m_binio.h View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #ifndef m_binio_h
3 4
 #define m_binio_h
4 5
 

+ 1
- 0
src/m_darray.h View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #ifndef m_darray_h
3 4
 #define m_darray_h
4 5
 

+ 1
- 0
src/m_math.c View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #include "m_math.h"
3 4
 
4 5
 #include <stdlib.h>

+ 1
- 0
src/m_math.h View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #ifndef m_math_h
3 4
 #define m_math_h
4 5
 

+ 1
- 0
src/m_str.c View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #include "m_str.h"
3 4
 
4 5
 #include "m_types.h"

+ 1
- 0
src/m_str.h View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #ifndef m_str_h
3 4
 #define m_str_h
4 5
 

+ 1
- 0
src/m_tokbuf.c View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #include "m_tokbuf.h"
3 4
 
4 5
 #include <string.h>

+ 1
- 0
src/m_tokbuf.h View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #ifndef m_tokbuf_h
3 4
 #define m_tokbuf_h
4 5
 

+ 1
- 0
src/m_token.c View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #include "m_token.h"
3 4
 
4 5
 #include "m_darray.h"

+ 1
- 0
src/m_token.h View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #ifndef m_token_h
3 4
 #define m_token_h
4 5
 

+ 1
- 0
src/m_types.h View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #ifndef m_types_h
3 4
 #define m_types_h
4 5
 

+ 1
- 0
src/main.c View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #include "g_stage.h"
3 4
 #include "g_object.h"
4 5
 #include "g_player.h"

+ 1
- 0
src/mfed.c View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #include "g_object.h"
3 4
 #include "g_stage.h"
4 5
 #include "r_draw.h"

+ 3
- 2
src/r_draw.c View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #include "g_stage.h"
3 4
 #include "g_object.h"
4 5
 #include "g_player.h"
@@ -43,14 +44,14 @@ static void R_draw(ulfra delta)
43 44
 
44 45
    lfxpt time = G_Time + (lfxpt)delta;
45 46
 
46
-   if(G_Time < 50 && time)
47
+   if(G_Time < 60 && time)
47 48
       yadd = -logf(0.7 / time);
48 49
 
49 50
    DGE_Texture_Bind(DGE_Texture_Get(s"bkg/space"));
50 51
    DGE_Draw_Rectangle(30, 30, 30+510, 30+660);
51 52
 
52 53
    DGE_Texture_Bind(DGE_Texture_Get(s"bkg/earth"));
53
-   DGE_Draw_Rectangle(30, 30, 30+510, 30+660 + yadd*4 + time/80);
54
+   DGE_Draw_Rectangle(30, 30, 30+510, 30+660 + yadd*4 + time/60);
54 55
 
55 56
    if(G_Time < 50) {
56 57
       DGE_Texture_Bind(DGE_Texture_Get(s"bkg/station"));

+ 1
- 0
src/r_resdec.c View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #include "m_tokbuf.h"
3 4
 #include "m_str.h"
4 5
 

+ 1
- 0
src/strh.c View File

@@ -1,4 +1,5 @@
1 1
 // Copyright © 2017 Project Golan, all rights reserved.
2
+// See COPYING for more information.
2 3
 #include "m_str.h"
3 4
 
4 5
 #include <stdio.h>

Loading…
Cancel
Save