Commit fad69612 authored by sm's avatar sm

New version 0.14

- Apply iwyu
- Adapt build script to tarball deployment
parent 0532a957
stmm-games (0.14) unstable; urgency=low
* Apply iwyu
* Adapt build script to tarball deployment
* Increase minor version
-- Stefano Marsili <efanomars@gmx.ch> Thu, 24 Oct 2019 19:29:39 +0100
stmm-games (0.13) unstable; urgency=low
* Fix hard coded user bug
......
......@@ -18,7 +18,7 @@ To build the DEBs you need the following packages
$ apt-get install debhelper g++ cmake python3 \
doxygen graphviz \
librsvg2-dev libxml++-2.6-dev
librsvg2-dev libxml++2.6-dev
If you haven't done it yet, you also need to build and install the
debian packages:
......
......@@ -66,6 +66,23 @@ set(STMMI_SOURCES_DIR "${PROJECT_SOURCE_DIR}/src")
set(STMMI_SOURCES
"${STMMI_SOURCES_DIR}/dumbblockevent.cc"
"${STMMI_SOURCES_DIR}/fakelevelview.cc"
"${STMMI_SOURCES_DIR}/fixtureDevices.cc"
"${STMMI_SOURCES_DIR}/fixtureGame.cc"
"${STMMI_SOURCES_DIR}/fixtureGameOwner.cc"
"${STMMI_SOURCES_DIR}/fixtureLayoutAuto.cc"
"${STMMI_SOURCES_DIR}/fixtureStdConfig.cc"
"${STMMI_SOURCES_DIR}/fixtureStdPreferences.cc"
"${STMMI_SOURCES_DIR}/fixtureTestBase.cc"
"${STMMI_SOURCES_DIR}/fixturevariantHighscoresDefinition.cc"
"${STMMI_SOURCES_DIR}/fixturevariantKeyActions.cc"
"${STMMI_SOURCES_DIR}/fixturevariantLayout.cc"
"${STMMI_SOURCES_DIR}/fixturevariantLevelInit.cc"
"${STMMI_SOURCES_DIR}/fixturevariantOptions.cc"
"${STMMI_SOURCES_DIR}/fixturevariantPlayers.cc"
"${STMMI_SOURCES_DIR}/fixturevariantPrefsDevices.cc"
"${STMMI_SOURCES_DIR}/fixturevariantPrefsPlayers.cc"
"${STMMI_SOURCES_DIR}/fixturevariantTeams.cc"
"${STMMI_SOURCES_DIR}/fixturevariantVariables.cc"
"${STMMI_SOURCES_DIR}/mockevent.cc"
"${STMMI_SOURCES_DIR}/stmm-games-fake.cc"
)
......
......@@ -25,12 +25,31 @@
#include "level.h"
#include "levelblock.h"
#include "event.h"
//#include "utile/tilebuffer.h"
#include "block.h"
#include "levellisteners.h"
#include "util/basictypes.h"
#include "util/direction.h"
#else
#include <stmm-games/level.h>
#include <stmm-games/levelblock.h>
#include <stmm-games/event.h>
//#include <stmm-games/utile/tilebuffer.h>
#include <stmm-games/block.h>
#include <stmm-games/levellisteners.h>
#include <stmm-games/util/basictypes.h>
#include <stmm-games/util/direction.h>
#endif
#include <memory>
namespace stmg { class Coords; }
namespace stmg { class Tile; }
namespace stmg { class TileBuffer; }
namespace stmg { class TileCoords; }
namespace stmg { class TileRect; }
namespace stmi { class Event; }
namespace stmg
{
......
......@@ -23,15 +23,30 @@
#ifdef STMG_TESTING_COPY_FROM_FAKE
#include "levelview.h"
#include "level.h"
#include "game.h"
#include "utile/tilecoords.h"
#include "util/basictypes.h"
#include "util/coords.h"
#include "util/direction.h"
#else
#include <stmm-games/levelview.h>
#include <stmm-games/level.h>
#include <stmm-games/game.h>
#include <stmm-games/utile/tilecoords.h>
#include <stmm-games/util/basictypes.h>
#include <stmm-games/util/coords.h>
#include <stmm-games/util/direction.h>
#endif
#include <tuple>
#include <memory>
#include <unordered_map>
#include <vector>
#include <stdint.h>
namespace stmg { class Game; }
namespace stmg { class Level; }
namespace stmg { class LevelAnimation; }
namespace stmg { class LevelBlock; }
namespace stmg { class TileRect; }
namespace stmg
{
......
......@@ -23,6 +23,21 @@
#include "fixtureStdConfig.h"
#include <stmm-input-ev/joystickcapability.h>
#include <stmm-input-ev/keycapability.h>
#include <stmm-input-ev/pointercapability.h>
#include <stmm-input-ev/touchcapability.h>
#include <stmm-input-fake/fakedevicemanager.h>
#include <stmm-input-fake/fakejoystickdevice.h>
#include <stmm-input-fake/fakekeydevice.h>
#include <stmm-input-fake/fakepointerdevice.h>
#include <stmm-input-fake/faketouchdevice.h>
#include <stmm-input/device.h>
#include <memory>
#include <cassert>
#include <stdint.h>
namespace stmg
{
......
......@@ -25,13 +25,33 @@
#include "fixtureGameOwner.h"
#include "fixturevariantLevelInit.h"
#include "fixturevariantLayout.h"
#ifdef STMG_TESTING_COPY_FROM_FAKE
#include "game.h"
#include "level.h"
#include "named.h"
#include "util/namedobjindex.h"
#else
#include <stmm-games/game.h>
#include <stmm-games/level.h>
#include <stmm-games/named.h>
#include <stmm-games/util/namedobjindex.h>
#endif
#include <stmm-input-fake/fakedevicemanager.h>
#include <stmm-input/devicemanager.h>
#include <memory>
#include <string>
#include <utility>
#include <cassert>
#include <stdint.h>
namespace stmg { class AppPreferences; }
namespace stmi { class Event; }
namespace stmg
{
......
......@@ -22,13 +22,18 @@
#define STMG_TESTING_FIXTURE_GAME_OWNER_H
#ifdef STMG_TESTING_COPY_FROM_FAKE
#include "game.h"
#include "gameowner.h"
#include "gameproxy.h"
#else
#include <stmm-games/game.h>
#include <stmm-games/gameowner.h>
#include <stmm-games/gameproxy.h>
#endif
#include <memory>
#include <cassert>
#include <stdint.h>
namespace stmg
{
......
......@@ -29,12 +29,32 @@
#ifdef STMG_TESTING_COPY_FROM_FAKE
#include "layout.h"
#include "gamewidgets.h"
#include "gamewidget.h"
#include "stdpreferences.h"
#include "util/namedobjindex.h"
#include "variable.h"
#include "widgets/boxwidget.h"
#include "widgets/levelshowwidget.h"
#include "widgets/varwidget.h"
#else
#include <stmm-games/layout.h>
#include <stmm-games/gamewidgets.h>
#include <stmm-games/gamewidget.h>
#include <stmm-games/stdpreferences.h>
#include <stmm-games/util/namedobjindex.h>
#include <stmm-games/variable.h>
#include <stmm-games/widgets/boxwidget.h>
#include <stmm-games/widgets/levelshowwidget.h>
#include <stmm-games/widgets/varwidget.h>
#endif
#include <algorithm>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include <cassert>
#include <stdint.h>
namespace stmg
{
......
......@@ -30,11 +30,19 @@
#ifdef STMG_TESTING_COPY_FROM_FAKE
#include "stdconfig.h"
#include "appconstraints.h"
#else
#include <stmm-games/stdconfig.h>
#include <stmm-games/appconstraints.h>
#endif
#include <stmm-input-fake/stmm-input-fake.h>
#include <stmm-input-fake/fakedevicemanager.h>
#include <cassert>
#include <memory>
#include <string>
#include <utility>
#include <vector>
namespace stmg
{
......
......@@ -24,9 +24,6 @@
#include "fixtureStdConfig.h"
#include "fixturevariantPlayers.h"
#include "fixturevariantTeams.h"
#include "fixturevariantKeyActions.h"
#include "fixturevariantPrefsDevices.h"
#include "fixturevariantPrefsPlayers.h"
......@@ -36,8 +33,18 @@
#include <stmm-games/stdpreferences.h>
#endif
#include <stmm-input-fake/stmm-input-fake.h>
#include <stmm-input-fake/fakedevicemanager.h>
#include <stmm-input-fake/fakejoystickdevice.h>
#include <stmm-input-fake/fakekeydevice.h>
#include <stmm-input-fake/fakepointerdevice.h>
#include <algorithm>
#include <cstdint>
#include <memory>
#include <vector>
#include <cassert>
#include <stdint.h>
namespace stmg
{
......
......@@ -22,15 +22,22 @@
#ifndef STMG_TESTING_FIXTURE_VARIANT_HIGHSCORES_DEFINITION_H
#define STMG_TESTING_FIXTURE_VARIANT_HIGHSCORES_DEFINITION_H
#include "fixturevariantOptions.h"
#ifdef STMG_TESTING_COPY_FROM_FAKE
#include "game.h"
#include "highscoresdefinition.h"
#include "ownertype.h"
#else
#include <stmm-games/game.h>
#include <stmm-games/highscoresdefinition.h>
#include <stmm-games/ownertype.h>
#endif
#include <memory>
#include <limits>
#include <string>
#include <vector>
#include <cassert>
#include <stdint.h>
namespace stmg
{
......
......@@ -29,8 +29,16 @@
#include <stmm-games/stdconfig.h>
#endif
#include <stmm-input-fake/stmm-input-fake.h>
#include <stmm-input-ev/joystickcapability.h>
#include <stmm-input-ev/keycapability.h>
#include <stmm-input-ev/pointercapability.h>
#include <stmm-input/capability.h>
#include <stmm-input/hardwarekey.h>
#include <algorithm>
#include <string>
#include <utility>
#include <vector>
#include <memory>
namespace stmg
......
......@@ -23,8 +23,6 @@
#ifndef STMG_TESTING_FIXTURE_VARIANT_LAYOUT_H
#define STMG_TESTING_FIXTURE_VARIANT_LAYOUT_H
#include "variable.h"
#include <memory>
namespace stmg
......
......@@ -25,13 +25,18 @@
#ifdef STMG_TESTING_COPY_FROM_FAKE
#include "level.h"
#include "tile.h"
#else
#include <stmm-games/level.h>
#include <stmm-games/tile.h>
#endif
#include <vector>
#include <memory>
#include <cassert>
#include <stdint.h>
namespace stmg
{
......
......@@ -31,11 +31,23 @@
#ifdef STMG_TESTING_COPY_FROM_FAKE
#include "stdconfig.h"
#include "ownertype.h"
#include "util/variant.h"
#else
#include <stmm-games/stdconfig.h>
#include <stmm-games/ownertype.h>
#include <stmm-games/util/variant.h>
#endif
#include <string>
#include <tuple>
#include <vector>
#include <memory>
#include <cassert>
#include <stdint.h>
namespace stmg { class Option; }
namespace stmg
{
......
......@@ -25,6 +25,8 @@
#include <memory>
#include <stdint.h>
namespace stmg
{
......
......@@ -25,6 +25,8 @@
#include <memory>
#include <stdint.h>
namespace stmg
{
......
......@@ -25,9 +25,21 @@
#include "stdpreferences.h"
#ifdef STMG_TESTING_COPY_FROM_FAKE
#include "stdconfig.h"
#include "appconstraints.h"
#include "apppreferences.h"
#else
#include <stmm-games/stdconfig.h>
#include <stmm-games/appconstraints.h>
#include <stmm-games/apppreferences.h>
#endif
#include <memory>
#include <cassert>
#include <stdint.h>
namespace stmg
{
......