Skip to content

ArchRobison/SeismicDuck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Seismic Duck

Seismic Duck is a reflection seismology game. See http://www.blonzonics.us/games/seismic-duck for an introduction to it.

Pre-Built Version for Windows

Installers for Windows and MacOS Seismic Duck can be dowloaded from [http://www.blonzonics.us/games/seismic-duck/] (http://www.blonzonics.us/games/seismic-duck/).

Building from Source

Prerequisites

For the SDL2 version, you will need the following packages:

Windows

Seismic Duck for Windows can be built using SDL2 or DirectX 9.0c. In the long term, I would like to move to SDL2 exclusively. However, I am currently maintaining both ports because the DirectX 9.0c version is capable of almost twice the frame rate of the SDL2 version.

You will need Visual Studio 2015, or rely on up-conversion to a newer version. The Community edition suffices.

SDL2 Version

The solution file is in Platform\SDL-2.0\VS2015 and assumes that prerequisites are in the following locations:

  • TBB is in $(TBB40_INSTALL_DIR).
  • SDL2 headers are in C:\lib\SDL2-2.0.5\include and the libraries are in C:\lib\SDL2-2.0.5\lib\x86.
  • SDL_image headers are in C:\lib\SDL2_image-2.0.1\include and the libraries are in C:\lib\SDL2_image-2.0.1\lib\x86.

DirectX 9.0c Version

The solution file is in SeismicDuck\Platform\DirectX9\VS2013\SeismicDuck-DX9.sln and assumes that TBB is in $(TBB40_INSTALL_DIR)

MacOS

Seismic Duck for MacOS uses SDL2 and TBB.

The build process is Unix style with a Makefile.
Assuming bash is your shell, the steps are:

  1. source /opt/intel/tbb/bin/tbbvars.sh. This step sets environment variables LIBRARY_PATH and CPATH tell the compiler and linker where to find TBB headers and libraries.
  2. cd Platform\SDL-2.0\MacOS
  3. Run make, which should build a bunch of .o files and link them to an executable seismic-duck-2.0.
  4. Run seismic-duck-2.0.

Linux

There are no ports yet to Linux. In principle the SDL2 version should be straightforward to port to other platforms. Please file an issue if you run into problems doing the port. If you get a port working, please consider contributing your changes.

Releases

No releases published

Packages

No packages published

Languages