Browse Source

Add MIT license

master
Marrub 4 years 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 @@
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.

+ 1
- 0
Makefile View File

@@ -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


+ 0
- 1
data_mfed/resdecl_mfed.rd View File

@@ -1,5 +1,4 @@
// Copyright © 2017 Project Golan, all rights reserved.

include "resdecl.rd"

font "editor" = "fonts/editor.otf", 24


+ 1
- 0
src/g_objdef.c View File

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

#include "m_tokbuf.h"


+ 1
- 0
src/g_objdef.h View File

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



+ 1
- 0
src/g_object.c View File

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

#include "g_stage.h"


+ 1
- 0
src/g_object.h View File

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



+ 1
- 0
src/g_player.c View File

@@ -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"



+ 1
- 0
src/g_player.h View File

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



+ 1
- 0
src/g_stage.c View File

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

#include "g_object.h"


+ 1
- 0
src/g_stage.h View File

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



+ 1
- 0
src/golan5.c View File

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



+ 1
- 0
src/i_gui.c View File

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

#include "m_math.h"


+ 1
- 0
src/i_gui.h View File

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



+ 1
- 0
src/i_ui.h View File

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



+ 1
- 0
src/m_binio.c View File

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

#include <stdio.h>


+ 1
- 0
src/m_binio.h View File

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



+ 1
- 0
src/m_darray.h View File

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



+ 1
- 0
src/m_math.c View File

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

#include <stdlib.h>


+ 1
- 0
src/m_math.h View File

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



+ 1
- 0
src/m_str.c View File

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

#include "m_types.h"


+ 1
- 0
src/m_str.h View File

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



+ 1
- 0
src/m_tokbuf.c View File

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

#include <string.h>


+ 1
- 0
src/m_tokbuf.h View File

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



+ 1
- 0
src/m_token.c View File

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

#include "m_darray.h"


+ 1
- 0
src/m_token.h View File

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



+ 1
- 0
src/m_types.h View File

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



+ 1
- 0
src/main.c View File

@@ -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"


+ 1
- 0
src/mfed.c View File

@@ -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"


+ 3
- 2
src/r_draw.c View File

@@ -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"));


+ 1
- 0
src/r_resdec.c View File

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



+ 1
- 0
src/strh.c View File

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

#include <stdio.h>


Loading…
Cancel
Save