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.
1.3 KiB
1.3 KiB
Work in progress orbital shipping game
Dependencies:
libTangerine: https://gitlab.com/cinnaboot/tangerine
Catch2 (for tests):
https://github.com/catchorg/Catch2/blob/devel/docs/Readme.md
TODO:
add GUI to demo application for modifying orbit parameters
add equations for parabolic and hyperbolic trajectories
make algorithm for Hohmann transfer orbits
you know, make the actual game
Building:
install dependencies for your environment:
Arch) $ sudo pacman -S assimp glew glm sdl2 catch2 gcc make
Fedora) $ sudo dnf install assimp-devel glew-devel glm-devel \
SDL2-devel catch-devel gcc-c++ make
checkout, and initialise submodule dependencies:
$ git submodule update --init --recursive
build:
$ make
binaries will be in ./bin
NOTE: if you get errors regarding assimp when building, you can build a
recent version of assimp by passing USE_INTERNAL_ASSIMP=y to make
$ USE_INTERNAL_ASSIMP=y make
then, to run the demo,
$ cd bin
$ LD_LIBRARY_PATH=../ext/tangerine/ext/assimp/lib ./orbital_shipping
# TODO:
# (libTangerine) fold in build_assimp to make dependency
# turn off unused default features of internal assimp
# compile assimp as static lib into libTangerine if built internal
# (can remove LD_LIBRARY_PATH requirement)
# (orbital_shipping) update makefile $(LIB) target
# make sure git submodule hashes are updated
#