Add MIT license
parent
d831a361d1
commit
d2d94fe3bc
|
@ -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
Makefile
1
Makefile
|
@ -1,4 +1,5 @@
|
||||||
## Copyright © 2017 Project Golan, all rights reserved.
|
## Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
## See COPYING for more information.
|
||||||
GDCC_CC=gdcc-cc
|
GDCC_CC=gdcc-cc
|
||||||
GDCC_LD=gdcc-ld
|
GDCC_LD=gdcc-ld
|
||||||
GDCC_NTSC=gdcc-ntsc
|
GDCC_NTSC=gdcc-ntsc
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
|
||||||
include "resdecl.rd"
|
include "resdecl.rd"
|
||||||
|
|
||||||
font "editor" = "fonts/editor.otf", 24
|
font "editor" = "fonts/editor.otf", 24
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#include "g_objdef.h"
|
#include "g_objdef.h"
|
||||||
|
|
||||||
#include "m_tokbuf.h"
|
#include "m_tokbuf.h"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#ifndef g_objdef_h
|
#ifndef g_objdef_h
|
||||||
#define g_objdef_h
|
#define g_objdef_h
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#include "g_object.h"
|
#include "g_object.h"
|
||||||
|
|
||||||
#include "g_stage.h"
|
#include "g_stage.h"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#ifndef g_object_h
|
#ifndef g_object_h
|
||||||
#define g_object_h
|
#define g_object_h
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#define _GNU_SOURCE // Required for sincos(3). See feature_test_macros(7)
|
#define _GNU_SOURCE // Required for sincos(3). See feature_test_macros(7)
|
||||||
#include "g_player.h"
|
#include "g_player.h"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#ifndef g_player_h
|
#ifndef g_player_h
|
||||||
#define g_player_h
|
#define g_player_h
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#include "g_stage.h"
|
#include "g_stage.h"
|
||||||
|
|
||||||
#include "g_object.h"
|
#include "g_object.h"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#ifndef g_stage_h
|
#ifndef g_stage_h
|
||||||
#define g_stage_h
|
#define g_stage_h
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#include "m_tokbuf.h"
|
#include "m_tokbuf.h"
|
||||||
#include "m_binio.h"
|
#include "m_binio.h"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#include "i_gui.h"
|
#include "i_gui.h"
|
||||||
|
|
||||||
#include "m_math.h"
|
#include "m_math.h"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#ifndef i_gui_h
|
#ifndef i_gui_h
|
||||||
#define i_gui_h
|
#define i_gui_h
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#ifndef i_ui_h
|
#ifndef i_ui_h
|
||||||
#define i_ui_h
|
#define i_ui_h
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#include "m_binio.h"
|
#include "m_binio.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#ifndef m_binio_h
|
#ifndef m_binio_h
|
||||||
#define m_binio_h
|
#define m_binio_h
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#ifndef m_darray_h
|
#ifndef m_darray_h
|
||||||
#define m_darray_h
|
#define m_darray_h
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#include "m_math.h"
|
#include "m_math.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#ifndef m_math_h
|
#ifndef m_math_h
|
||||||
#define m_math_h
|
#define m_math_h
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#include "m_str.h"
|
#include "m_str.h"
|
||||||
|
|
||||||
#include "m_types.h"
|
#include "m_types.h"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#ifndef m_str_h
|
#ifndef m_str_h
|
||||||
#define m_str_h
|
#define m_str_h
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#include "m_tokbuf.h"
|
#include "m_tokbuf.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#ifndef m_tokbuf_h
|
#ifndef m_tokbuf_h
|
||||||
#define m_tokbuf_h
|
#define m_tokbuf_h
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#include "m_token.h"
|
#include "m_token.h"
|
||||||
|
|
||||||
#include "m_darray.h"
|
#include "m_darray.h"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#ifndef m_token_h
|
#ifndef m_token_h
|
||||||
#define m_token_h
|
#define m_token_h
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#ifndef m_types_h
|
#ifndef m_types_h
|
||||||
#define m_types_h
|
#define m_types_h
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#include "g_stage.h"
|
#include "g_stage.h"
|
||||||
#include "g_object.h"
|
#include "g_object.h"
|
||||||
#include "g_player.h"
|
#include "g_player.h"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#include "g_object.h"
|
#include "g_object.h"
|
||||||
#include "g_stage.h"
|
#include "g_stage.h"
|
||||||
#include "r_draw.h"
|
#include "r_draw.h"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#include "g_stage.h"
|
#include "g_stage.h"
|
||||||
#include "g_object.h"
|
#include "g_object.h"
|
||||||
#include "g_player.h"
|
#include "g_player.h"
|
||||||
|
@ -43,14 +44,14 @@ static void R_draw(ulfra delta)
|
||||||
|
|
||||||
lfxpt time = G_Time + (lfxpt)delta;
|
lfxpt time = G_Time + (lfxpt)delta;
|
||||||
|
|
||||||
if(G_Time < 50 && time)
|
if(G_Time < 60 && time)
|
||||||
yadd = -logf(0.7 / time);
|
yadd = -logf(0.7 / time);
|
||||||
|
|
||||||
DGE_Texture_Bind(DGE_Texture_Get(s"bkg/space"));
|
DGE_Texture_Bind(DGE_Texture_Get(s"bkg/space"));
|
||||||
DGE_Draw_Rectangle(30, 30, 30+510, 30+660);
|
DGE_Draw_Rectangle(30, 30, 30+510, 30+660);
|
||||||
|
|
||||||
DGE_Texture_Bind(DGE_Texture_Get(s"bkg/earth"));
|
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) {
|
if(G_Time < 50) {
|
||||||
DGE_Texture_Bind(DGE_Texture_Get(s"bkg/station"));
|
DGE_Texture_Bind(DGE_Texture_Get(s"bkg/station"));
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#include "m_tokbuf.h"
|
#include "m_tokbuf.h"
|
||||||
#include "m_str.h"
|
#include "m_str.h"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// Copyright © 2017 Project Golan, all rights reserved.
|
// Copyright © 2017 Project Golan, all rights reserved.
|
||||||
|
// See COPYING for more information.
|
||||||
#include "m_str.h"
|
#include "m_str.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
Loading…
Reference in New Issue