Add explicit license to source files, remove blank frontend, rename packaging folder as part of standards, touch up NMARE.mid

This commit is contained in:
blitzdoughnuts 2024-08-24 16:48:12 -04:00
parent 0a08af55af
commit 6417ca9b48
13 changed files with 70 additions and 51 deletions

BIN
NMARE.mid Executable file → Normal file

Binary file not shown.

8
PACKAGING/DEBIAN/control Executable file
View file

@ -0,0 +1,8 @@
Package: WakeToHell
Version: 0.2.0a
Architecture: all
Essential: no
Priority: optional
Depends: libsdl2-2.0-0, libsdl2-mixer-2.0-0, libsdl2-image-2.0-0
Maintainer: blitzdoughnuts
Description: A walking simulator / interactive story about a cat with chronic anxiety. Sometimes, you just wake to hell.

View file

@ -0,0 +1,33 @@
.TH man 6 "August 15th, 2024" "0.2.0a" "Wake to Hell manpage"
.SH NAME
WakeToHell - Game about a cat doctor in distress.
.SH SYNOPSIS
.B WakeToHell
.SH DESCRIPTION
Wake to Hell is a walking simulator / interactive story about a cat who seems to be dealing with some strong issues... to say the least.
.P
The game's defauklt controls on a keyboard are as follows:
.br
.B Left
and
.B right
arrows - Walk
.br
.B Up
and
.B down
arrows - Interact, go through doors
.br
.B Z
- Gesture (Confirm)
.br
.B X
- Cancel
.SH EXAMPLES
What other examples?
.SH BUGS
There are some kinks including the possible insecurity of the SDL2 frontend's string drawing function, but otherwise there is nothing game-breaking.
.SH AUTHOR
blitzdoughnuts at doughnutsblitz@disroot.org
.SH COPYRIGHT
The game in its entirety, including code, assets, and story, are licensed under CC0. See LICENSES for additional copyright information.

Binary file not shown.

Binary file not shown.

View file

@ -1,4 +1,9 @@
// Constants definition file for Wake to Hell
/*
Constants definition file for Wake to Hell
Licensed under CC0, public domain, 2023-2024
Made by blitzdoughnuts
*/
// flags
#define FLAG_GROUNDED 1 // on ground?

2
game.h
View file

@ -3,7 +3,7 @@ GAME.H
This file defines SPECIFICALLY the game logic, completely separate from any libraries.
Drawing and handling of sprites happens in the main_[platform].c file.
Licensed under CC0, 2023-2024
Licensed under CC0, public domain, 2023-2024
Made by blitzdoughnuts
*/

View file

@ -1,43 +0,0 @@
// Completely blank frontend for the game, intended as a template. See main_sdl.c for a better example.
#include <stdio.h>
#include <stdint.h>
#define DELAY(IN) printf("The DELAY function isn't declared!")
#if defined(WIN32) || defined(_WIN32) || defined(_WIN32_)
#include <windows.h>
#undef DELAY(IN)
#define DELAY(IN) (Sleep(IN))
#endif
#if defined(__UNIX)
#include <unistd.h>
#undef DELAY(IN)
#define DELAY(IN) (sleep(IN))
#endif
#undef main
#include "game.h" // keep in mind, MAIN can still access variables from the game!
void signalPlaySFX(uint8_t signal) {};
void signalPlayMUS(uint8_t signal) {};
void signalDraw(uint8_t signal) {};
void saveGame() {};
void loadGame() {};
//void draw() {};
//void keys() {};
int main() {
uint8_t running = 1;
start();
while (running) {
step();
DELAY(16.667f);
}
return 0;
};

View file

@ -1,4 +1,9 @@
// EDEPRECATED Raylib frontend for the game
/*
DEPRECATED Raylib frontend for the game
Licensed under CC0, public domain, 2023-2024
Made by blitzdoughnuts
*/
/*
TO-DO:

View file

@ -1,4 +1,9 @@
// RUTHLESSLY minimal SAF frontend for the game
/*
RUTHLESSLY minimal SAF frontend for the game
Licensed under CC0, public domain, 2023-2024
Made by blitzdoughnuts
*/
#define SAF_PROGRAM_NAME "Wake to Hell"
#define SAF_PLATFORM_SDL2

View file

@ -1,4 +1,9 @@
// SDL2 frontend for the game
/*
SDL2 frontend for the game
Licensed under CC0, public domain, 2023-2024
Made by blitzdoughnuts
*/
#include <stdio.h>

View file

@ -1,6 +1,6 @@
# !/bin/sh
# Make script for Wake to Hell, includes frontends and packaging
# Licensed under CC0
# Licensed under CC0, public domain
COMPILER="gcc"
@ -27,9 +27,10 @@ elif [ $1 = "package" ]; then
cp -r sfx ${BUILDDIR}/sfx
cp -r sprites ${BUILDDIR}
cp DOCS/LICENSE* ${BUILDDIR}
cp readme.txt ${BUILDDIR}
echo "The game (assuming your binary is named WakeToHell) and all required files for a *NIX build are now in the $BUILDDIR folder."
elif [ $1 = "deb" ]; then
DEBDIR="packaging/usr/games/waketohell/"
DEBDIR="PACKAGING/usr/games/waketohell/"
BUILDDIR="BUILD"
cp -r $BUILDDIR/* $DEBDIR

View file

@ -5,7 +5,7 @@ This is an adventure-esque game where you play as Lukifer Dredd, a former surgeo
Go around and explore the streets of this unknown town in Florida. Find hints, gizmos, and other neat interactions among the many locations you'll cross on the way.
This is *FREE SOFTWARE*, all licensed under the Creative Commons 0 with an additional waiver of any remaining rights. You should have a copy of the Creative Commons 0 document packaged with this game. You may find the source code to the game in one of the following locations:
This is *FREE SOFTWARE*, all licensed under the Creative Commons 0 with an additional waiver of any remaining rights, to be given to the *public domain*. You should have a copy of the Creative Commons 0 document packaged with this game. You may find the source code to the game in one of the following locations:
- https://git.coom.tech/blitzdoughnuts/WakeToHell
- https://gitlab.com/ApplemunchFromDaDead/waketohell
- https://git.disroot.org/blitzdoughnuts/WakeToHell