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.
 
 
 
 
 
 
gitMarky 4a2048575f Refactor movement code (#87) 3 years ago
cmake Drop broken GCC precompiled header support 3 years ago
docs Add openclonk:// protocol handler (#1657) 3 years ago
include/c4script Add --check/-c parameter to c4script for syntax checking 5 years ago
licenses Use PCG as random number generator 6 years ago
masterserver Revert engine-side league localization 8 years ago
planet better confetti for Boomshire 3 years ago
src Refactor movement code (#87) 3 years ago
tests Aul: Correctly check for enable/disable keywords in warning pragma 3 years ago
thirdparty BLAKE2: Fall back to plain C implementation on non-amd64 platforms 4 years ago
tools nix expression: fix build 3 years ago
.git_archival CMake: Add date of commit to logfile 5 years ago
.gitattributes Hard-code line endings of shell scripts to LF 7 years ago
.gitignore Fresh repository, fresh build on Windows, VS created these folders. Hope it's cool to put them on ignore. 3 years ago
.travis.yml Travis: Use CMake 3 on Ubuntu Trusty 3 years ago
CMakeLists.txt openclonk-server: install 3 years ago
COPYING Update all copyright notices for 2016 6 years ago
Credits.txt Credits: Fix Kevin Zheng's name 4 years ago
README Update dependency list in README 5 years ago
TRADEMARK Update TRADEMARK and add trademark reference to credits (#1370) 7 years ago
Version.txt Bump version to 9.0 alpha 4 years ago
appveyor.yml Appveyor: Build on Visual Studio 2017 x64 only 3 years ago
config.h.cmake CMake: Remove #define for standard C++ features 3 years ago
openclonk.appdata.xml Add a Linux AppData file. 5 years ago
openclonk.desktop Add openclonk:// protocol handler (#1657) 3 years ago
scriptdefinitionsources.txt scriptdefinitionsources.txt: list of source files that contain definitions relevant to script (C4DT reads it) 10 years ago

README

Requirements
============
You should be able to build OpenClonk with any C++ compiler that supports
ISO C++14. That said, on Windows, we recommend using Microsoft Visual C++
2015 or higher; the Express edition will be sufficient. On Linux, you will
be fine with GNU g++ 4.9 or later. Apple users should use a clang-based
XCode version.

To generate project files for your chosen build system, you will also have to
install CMake from http://www.cmake.org/.

Additionally, OpenClonk depends on a number of third-party libraries:
- zlib (http://zlib.net/)
- libpng (http://www.libpng.org/pub/png/libpng.html)
- libjpeg-turbo (http://sourceforge.net/projects/libjpeg-turbo/files/)
- FreeType (http://www.freetype.org/)
- The OpenGL Extension Wrangler Library (http://glew.sourceforge.net/)
- FreeALUT (https://github.com/vancegroup/freealut)
- libogg and libvorbis (https://www.xiph.org/downloads/)
- Qt >= 5.7 (https://www.qt.io/download-open-source/)

OS X Specific
=============
OpenClonk supports OS X versions 10.8 "Mountain Lion" and later.
If you are using brew (https://github.com/mxcl/homebrew) or MacPorts
(http://www.macports.org/), the packages you'll have to install are:
libjpeg, libpng, freetype, glew, libogg, libvorbis

Linux Specific
==============
For building OpenClonk on Linux, you need the following libraries in addition
to the ones listed above:
- SDL 2.0 (https://www.libsdl.org/download-2.0.php)
- libGL (http://www.mesa3d.org/)
- OpenAL Soft >= 1.13 (https://github.com/kcat/openal-soft)
- miniupnpc (http://miniupnp.free.fr/)
- libxrandr
Most distributions should provide these dependencies via their packaging
system. At least gcc-4.9 is required.

Windows Specific
================
In addition to the libraries above, you will need one more if you want to
target Windows:
- OpenAL Soft (http://kcat.strangesoft.net/openal.html)
To create an installer, you will also need the Nullsoft Install System
(http://nsis.sourceforge.net/). To create the installer, build the "setup" target.