Skip to content
Open source reimplementation of The Simpsons: Hit & Run
C++ CMake Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets billboard faces camera Aug 10, 2019
cmake cmake: OPENALSOFT -> OPENAL, since everything just refers to it as th… Jul 30, 2019
dev Mesh is called Geometry in P3D Aug 16, 2019
src
thirdparty glad: target GL 4.3 Core, this should give us really good coverage wh… Aug 1, 2019
.clang-format make clang format not shit Jul 10, 2019
.editorconfig boilerplate git files Jul 6, 2019
.gitattributes
.gitignore .gitignore: just ignore build directory and ide files Aug 21, 2019
.gitmodules change submodules from ssh to https Aug 16, 2019
.travis.yml travis-ci: haha typo!!! Aug 20, 2019
AUTHORS.md License donut under GPLV3. Aug 6, 2019
CMakeLists.txt bullet: don't bother targeting debug libs Aug 20, 2019
LICENSE.md License donut under GPLV3. Aug 6, 2019
README.md

README.md

donut

Travis Build Appveyor Build GitHub Stars Discord chat License

donut is an open source reimplementation of The Simpsons: Hit & Run written in modern C++ and modern OpenGL.


Building

Clone the code using: git clone --recursive https://github.com/plowteam/donut.git

Windows

  • Install Visual Studio 2019
  • Install CMake
  • Open CMake GUI and point it to donut folder, set build directory to donut/build
  • Set BULLET_ROOT to the Bullet directory, everything else is automatically set.
  • Press Configure, Generate, Open Project and then build.

Building Bullet

  • Download Bullet
  • Build using CMake or Premake, making sure USE_MSVC_RUNTIME_LIBRARY_DLL is enabled.

Linux

First you'll need to install the following dependencies to build donut:

apt install build-essential libsdl2-dev cmake libglm-dev libbullet-dev libopenal-dev

Then to build run CMake in a build directory:

mkdir build && cd build
cmake ../
make

Mesa drivers on Linux: if you are trying to run with Mesa drivers and are getting issues with OpenGL context try messing with MESA_GL_VERSION_OVERRIDE when running like so: MESA_GL_VERSION_OVERRIDE=4.3FC MESA_GLSL_VERSION_OVERRIDE=430 bin/donut

Docs

Contributing

Contributions are always welcome, whether it's modifying source code to add new features or bug fixes, documenting new file formats or simply editing some grammar.

License

donut is released as open source software under the GPL v3 license, see the LICENSE.md file in the project root for the full license text.

You can’t perform that action at this time.