Commit 0f061117 authored by Frederik Schwarzer's avatar Frederik Schwarzer

Include order.

parent ba34ed87
......@@ -15,20 +15,25 @@
* License along with this program; if not, write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
// own
#include "board.h"
// Qt
#include <QGraphicsScene>
#include <QGraphicsView>
#include <QStandardPaths>
#include <QTimer>
// KDE
#include <KRandom>
// Bomber
#include "bomb.h"
#include "building.h"
#include "plane.h"
#include "settings.h"
#include <KRandom>
#include <QGraphicsScene>
#include <QGraphicsView>
#include <QStandardPaths>
#include <QTimer>
/** The value that the plane velocity increases by */
const qreal PLANE_INC_VELOCITY = 0.0005;
......
......@@ -18,14 +18,16 @@
#ifndef BOARD_H
#define BOARD_H
#include <KGameRenderer>
#include <QGraphicsScene>
// Qt
#include <QDir>
#include <QGraphicsScene>
#include <QList>
#include <QQueue>
#include <QSize>
// KDE
#include <KGameRenderer>
class Plane;
class Building;
class Bomb;
......
......@@ -16,8 +16,10 @@
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
// own
#include "bomb.h"
// Bomber
#include "board.h"
#include "explodable.h"
......
......@@ -18,6 +18,7 @@
#ifndef BOMB_H
#define BOMB_H
// Bomber
#include "explodable.h"
/**
......
......@@ -15,22 +15,28 @@
* License along with this program; if not, write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
// own
#include "bomber.h"
#include "bomberwidget.h"
#include "settings.h"
// Qt
#include <QAction>
#include <QLabel>
#include <QStatusBar>
// KDE
#include <KActionCollection>
#include <KLocalizedString>
#include <KMessageBox>
#include <KRandom>
#include <KScoreDialog>
#include <KStandardGameAction>
#include <KToggleAction>
#include <QAction>
#include <QLabel>
#include <QStatusBar>
#include <kgthemeselector.h>
#include <krandom.h>
#include <kstandardgameaction.h>
#include <KgThemeSelector>
// Bomber
#include "bomberwidget.h"
#include "settings.h"
Bomber::Bomber()
{
......
......@@ -18,10 +18,12 @@
#ifndef BOMBER_H
#define BOMBER_H
#include "bomberwidget.h"
// KDE
#include <KXmlGuiWindow>
#include <KgThemeProvider>
#include <kgthemeprovider.h>
#include <kxmlguiwindow.h>
// Bomber
#include "bomberwidget.h"
class QAction;
class QStatusBar;
......
......@@ -16,15 +16,23 @@
* License along with this program; if not, write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
// own
#include "bomberwidget.h"
#include "settings.h"
// STL
#include <sys/stat.h>
// Qt
#include <QGraphicsItem>
#include <QGraphicsView>
#include <QTimer>
// KDE
#include <KLocalizedString>
#include <sys/stat.h>
// Bomber
#include "settings.h"
#define NEW_LIVE_AT_SCORE 10000;
......
......@@ -20,13 +20,16 @@
#ifndef BOMBER_WIDGET_H
#define BOMBER_WIDGET_H
#include "board.h"
// Qt
#include <QGraphicsView>
#include <QMouseEvent>
// KDE
#include <KgSound>
// Bomber
#include "board.h"
class KgThemeProvider;
/**
......
......@@ -16,12 +16,16 @@
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
// own
#include "building.h"
#include "board.h"
// KDE
#include <KGameRenderedItem>
#include <KRandom>
// Bomber
#include "board.h"
/**
* How big is a building in relation to the tiles width.
* 1.0 means it's the same size as the tile.
......
......@@ -19,6 +19,7 @@
#ifndef BUILDING_H
#define BUILDING_H
// Qt
#include <QList>
#include <QRect>
#include <QSize>
......
......@@ -16,12 +16,15 @@
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
// own
#include "explodable.h"
#include "board.h"
// KDE
#include <KRandom>
// Bomber
#include "board.h"
/**
* How big is the explosion in relation to the tiles height.
* 1.0 means it's the same size as the tile.
......
......@@ -19,6 +19,7 @@
#ifndef EXPLODABLE_H
#define EXPLODABLE_H
// KDE
#include <KGameRenderedItem>
class BomberBoard;
......
......@@ -15,16 +15,20 @@
* License along with this program; if not, write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "bomber.h"
// Qt
#include <QApplication>
#include <QCommandLineParser>
// KDE
#include <KAboutData>
#include <KCrash>
#include <KDBusService>
#include <KLocalizedString>
#include <QApplication>
#include <QCommandLineParser>
#include <kdelibs4configmigrator.h>
#include <Kdelibs4ConfigMigrator>
// Bomber
#include "bomber.h"
static const char description[] = I18N_NOOP("Arcade bombing game");
......
......@@ -15,8 +15,11 @@
* License along with this program; if not, write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
// own
#include "plane.h"
// Bomber
#include "board.h"
#include "explodable.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment