You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
alistair
0fbd18d144
|
4 years ago | |
---|---|---|
c-colours@e2078d7050 | 4 years ago | |
datastructures@4fcbd1c152 | 4 years ago | |
.gitignore | 4 years ago | |
.gitmodules | 4 years ago | |
Makefile | 4 years ago | |
README.md | 4 years ago | |
basic-lib.c | 4 years ago | |
controlscheme.c | 4 years ago | |
controlscheme.h | 4 years ago | |
debuginfo.h | 5 years ago | |
draw.c | 4 years ago | |
draw.h | 4 years ago | |
environment.c | 4 years ago | |
environment.h | 4 years ago | |
game.c | 4 years ago | |
game.h | 4 years ago | |
garbo.c | 4 years ago | |
garbo.h | 4 years ago | |
logger.c | 4 years ago | |
logger.h | 5 years ago | |
main.c | 4 years ago | |
physics.c | 5 years ago | |
physics.h | 5 years ago | |
setup.sh | 4 years ago | |
types.h | 4 years ago | |
vect.c | 4 years ago | |
vect.h | 4 years ago |
README.md
A computer game
Prebuilt Binary
See the releases tab.
On linux, you will need to install the SDL2 package from your package maintainer.
Fedora
sudo dnf install SDL2
Build Instructions
On Linux
Install the libSDL2 runtime and SDL2
development packages from your package distributor. On Fedora, this
is the SDL2
and SDL2-devel
packages.
git clone --recurse-submodules https://git.topost.net/alistair/space_game.git
For Linux
make clean
make target=linux
For Windows
You have to have mingw and the mingw libsdl library (I think).
Run setup.sh to download the SDL2 static libraries and SDL2.dll
.
./setup.sh
make clean
make target=windows
With debug flags
Append debug=true
to the make command.