Skip to content
This repository was archived by the owner on Aug 21, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
language: cpp
before_install:
- lsb_release -a
- which $CXX
- $CXX --version
- getconf _NPROCESSORS_ONLN
install:
- sudo mkdir -p /etc/apt/sources.list.d/
# - sudo touch /etc/apt/sources.list.d/llvm.list
# - sudo chmod a+rw /etc/apt/sources.list.d/llvm.list
# - echo "deb http://llvm.org/apt/precise/ llvm-toolchain-precise main" > /etc/apt/sources.list.d/llvm.list
# - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
- sudo add-apt-repository -y ppa:ubuntu-sdk-team/ppa
- sudo add-apt-repository -y ppa:boost-latest/ppa
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update
- sudo apt-get install libboost1.54-all-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-sound1.2-dev libsdl1.2-dev libavcodec-dev libavformat-dev libavdevice-dev libavutil-dev libswscale-dev libpostproc-dev libsdl-ttf2.0-dev pastebinit
- wget http://launchpadlibrarian.net/155807880/iwyu_3.3-3_amd64.deb
- sudo dpkg --force-all -i iwyu_3.3-3_amd64.deb
- dpkg -L iwyu
- dpkg -L iwyu | pastebinit
- wget https://gist.github.com/janisozaur/7727632/raw/5d33cf38956cf6dba4feebf6d01aad98e689e90c/iwyu-wrapper
- chmod a+x iwyu-wrapper
- export CXX=$(pwd)/iwyu-wrapper
# - if [ "$CXX" = "clang++" ]; then sudo apt-get install clang-3.4; fi
# - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq qtbase5-dev qtdeclarative5-dev qt5-default qt5-qmake qtbase5-dev-tools qtmultimedia5-dev g++-4.8; fi
before_script:
- dpkg -l | pastebinit
- export ENABLE_QT_PARTS=$(if [ "$CXX" = "g++" ]; then echo ON; else echo OFF ; fi)
- echo $ENABLE_QT_PARTS
# - if [ "$CXX" = "clang++" ]; then export CXX="/usr/bin/clang++" CC="/usr/bin/clang"; fi
# - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- which $CXX
- $CXX --version
script:
- cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DENABLE_LAUNCHER=$ENABLE_QT_PARTS -DENABLE_TEST=ON -DENABLE_EDITOR=$ENABLE_QT_PARTS .
- make -j 6
after_script:
- pastebinit compile_commands.json
- find . -name '*iwyu.txt' -print0 | xargs -0 tar cf iwyu.tar
- xz -9ev iwyu.tar
- ls -l iwyu.tar.xz
- ls -lh iwyu.tar.xz
- base64 iwyu.tar.xz | pastebinit
compiler:
- clang
94 changes: 47 additions & 47 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
VCMI PROJECT CODE CONTRIBUTORS:
Micha� Urba�czyk aka Tow, <[email protected]>
* project originator; programming, making releases, website
maintenance, reverse engineering, general support.
Mateusz B. aka Tow dragon, <[email protected]>
* general suport, battle support, support for many Heroes 3 config files, reverse engineering, ERM/VERM parser and interpreter
Stefan Pavlov aka Ste, <[email protected]>
* minor fixes in pregame
Yifeng Sun aka phoebus118, <[email protected]>
* a part of .snd handling, minor fixes and updates
Andrea Palmate aka afxgroup, <[email protected]>
* GCC/AmigaOS4 compatibility updates and makefile
Vadim Glazunov aka neweagle, <[email protected]>
* minor GCC/Linux compatibility changes
Rafal R. aka ambtrip, <[email protected]>
* GeniusAI (battles)
Lukasz Wychrystenko aka tezeriusz, <[email protected]>
* minor GCC/Linux compatibility changes, code review
Xiaomin Ding, <[email protected]>
* smack videos player
Tom Zielinski aka Warmonger, <[email protected]>
* game objects, mechanics
Frank Zago aka ubuntux, <>
* GCC/Linux compatibility changes, sound/music support, video support on Linux
Trevor Standley aka tstandley, <>
* adventure map part of Genius AI
Rickard Westerlund aka Onion Knight, <[email protected]>
* battle functionality and general support
Ivan Savenko, <[email protected]>
* GCC/Linux support, client development, general support
Benjamin Gentner aka beegee, <>
* battle support, programming
VCMI PROJECT CODE CONTRIBUTORS:

Michał Urbańczyk aka Tow, <[email protected]>
* project originator; programming, making releases, website
maintenance, reverse engineering, general support.

Mateusz B. aka Tow dragon, <[email protected]>
* general suport, battle support, support for many Heroes 3 config files, reverse engineering, ERM/VERM parser and interpreter

Stefan Pavlov aka Ste, <[email protected]>
* minor fixes in pregame

Yifeng Sun aka phoebus118, <[email protected]>
* a part of .snd handling, minor fixes and updates

Andrea Palmate aka afxgroup, <[email protected]>
* GCC/AmigaOS4 compatibility updates and makefile

Vadim Glazunov aka neweagle, <[email protected]>
* minor GCC/Linux compatibility changes

Rafal R. aka ambtrip, <[email protected]>
* GeniusAI (battles)

Lukasz Wychrystenko aka tezeriusz, <[email protected]>
* minor GCC/Linux compatibility changes, code review

Xiaomin Ding, <[email protected]>
* smack videos player

Tom Zielinski aka Warmonger, <[email protected]>
* game objects, mechanics

Frank Zago aka ubuntux, <>
* GCC/Linux compatibility changes, sound/music support, video support on Linux

Trevor Standley aka tstandley, <>
* adventure map part of Genius AI

Rickard Westerlund aka Onion Knight, <[email protected]>
* battle functionality and general support

Ivan Savenko, <[email protected]>
* GCC/Linux support, client development, general support

Benjamin Gentner aka beegee, <>
* battle support, programming
3 changes: 0 additions & 3 deletions Global.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ static_assert(sizeof(bool) == 1, "Bool needs to be 1 byte in size.");
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#define _USE_MATH_DEFINES

#include <cstdio>
#include <stdio.h>

#include <algorithm>
#include <array>
#include <cassert>
Expand Down
22 changes: 0 additions & 22 deletions README

This file was deleted.

27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[![Build Status](https://travis-ci.org/janisozaur/vcmi.png)](https://travis-ci.org/janisozaur/vcmi)

VCMI Project
============
Copyright (C) 2007-2013 VCMI Team (check [AUTHORS](AUTHORS) file for the contributors list)

VCMI is an open-source project aiming to reimplement HMM3:WoG game engine,
giving it new and extended possibilities.
* Wiki: http://wiki.vcmi.eu
* Forums: http://forum.vcmi.eu
* Bugtracker: http://bugs.vcmi.eu/

License
-------
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 2 (included in the [license.md](license.md))
of the License, 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, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Loading