Skip to content

Phosfor/Themisto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Themisto is an open-source 2D indie game.

License

Copyright 2010-2011 Tyslenko Max, Bogatirev Pavel.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

Building

To build it follow such comands:
git clone git://github.com/Ockonal/Themisto.git Themisto/
cd Themisto
mkdir build && cd build
cmake ../ && make

Required packages

To build it succesfull, you have to install these packages:
ClanLib >= 2.2.4
boost-all-dev >= 1.42
box2d 2.1.2

To build everything (clanlib, box2d) you need such packages:
cmake libx11-dev libmikmod-dev db4.8-util libpng-dev libfreeimagedev build-essential gcc git automake libtool libjpeg62-dev libfreetype6-dev libfontconfig1-dev libvorbis-dev libx11-gl-dev libgl1-mesa-dev mesa-common-dev xlibmesa-gl-dev xorg-dev

Debug tools:
ReadLine utility, for installing process this lines:
ftp://ftp.cwru.edu/pub/bash/readline-6.1.tar.gz
cd readline-6.1
./configure --prefix=/usr/
make
make install
sudo apt-get install libncurses5-dev

For developers

Before commiting code you have to check it with Google’s cpplint tool

Command we are using for checking:
python cpplint.py --filter=-whitespace,-build/include_order,-build/include_what_you_use,-runtime/threadsafe_fn DIRS/FILES