Move event to core/

This commit is contained in:
Marcus Huderle 2018-09-24 19:12:29 -05:00
parent 56499411b1
commit 0d33c3aa64
18 changed files with 380 additions and 380 deletions

View file

@ -1,4 +1,4 @@
#include "core/block.h" #include "block.h"
Block::Block() { Block::Block() {
} }

View file

@ -1,4 +1,4 @@
#include "core/blockdata.h" #include "blockdata.h"
Blockdata::Blockdata(QObject *parent) : QObject(parent) Blockdata::Blockdata(QObject *parent) : QObject(parent)
{ {

0
event.cpp → core/event.cpp Executable file → Normal file
View file

2
event.h → core/event.h Executable file → Normal file
View file

@ -1,7 +1,7 @@
#ifndef EVENT_H #ifndef EVENT_H
#define EVENT_H #define EVENT_H
#include "core/heallocation.h" #include "heallocation.h"
#include <QString> #include <QString>
#include <QPixmap> #include <QPixmap>
#include <QMap> #include <QMap>

View file

@ -1,6 +1,6 @@
#include "core/metatile.h" #include "metatile.h"
#include "tileset.h"
#include "project.h" #include "project.h"
#include "core/tileset.h"
Metatile::Metatile() Metatile::Metatile()
{ {

View file

@ -1,7 +1,7 @@
#ifndef PARSEUTIL_H #ifndef PARSEUTIL_H
#define PARSEUTIL_H #define PARSEUTIL_H
#include "core/heallocation.h" #include "heallocation.h"
#include <QString> #include <QString>
#include <QList> #include <QList>

View file

@ -1,4 +1,4 @@
#include "core/tile.h" #include "tile.h"
Tile::Tile() Tile::Tile()
{ {

View file

@ -1,5 +1,5 @@
#include "core/tileset.h" #include "tileset.h"
#include "core/metatile.h" #include "metatile.h"
#include "project.h" #include "project.h"
#include <QPainter> #include <QPainter>

View file

@ -1,8 +1,8 @@
#ifndef TILESET_H #ifndef TILESET_H
#define TILESET_H #define TILESET_H
#include "core/metatile.h" #include "metatile.h"
#include "core/tile.h" #include "tile.h"
#include <QImage> #include <QImage>
class Tileset class Tileset

View file

@ -1,6 +1,6 @@
#include "editor.h" #include "editor.h"
#include "event.h" #include "event.h"
#include "core/mapconnection.h" #include "mapconnection.h"
#include <QCheckBox> #include <QCheckBox>
#include <QPainter> #include <QPainter>
#include <QMouseEvent> #include <QMouseEvent>

View file

@ -9,9 +9,9 @@
#include <QCheckBox> #include <QCheckBox>
#include <QCursor> #include <QCursor>
#include "core/mapconnection.h" #include "mapconnection.h"
#include "ui/metatileselector.h" #include "metatileselector.h"
#include "ui/movementpermissionsselector.h" #include "movementpermissionsselector.h"
#include "project.h" #include "project.h"
#include "ui_mainwindow.h" #include "ui_mainwindow.h"

View file

@ -2,7 +2,7 @@
#include "ui_mainwindow.h" #include "ui_mainwindow.h"
#include "project.h" #include "project.h"
#include "editor.h" #include "editor.h"
#include "ui/eventpropertiesframe.h" #include "eventpropertiesframe.h"
#include "ui_objectpropertiesframe.h" #include "ui_objectpropertiesframe.h"
#include <QDebug> #include <QDebug>

View file

@ -1,5 +1,5 @@
#include "core/history.h" #include "history.h"
#include "core/historyitem.h" #include "historyitem.h"
#include "map.h" #include "map.h"
#include "project.h" #include "project.h"

12
map.h
View file

@ -1,12 +1,12 @@
#ifndef MAP_H #ifndef MAP_H
#define MAP_H #define MAP_H
#include "core/blockdata.h" #include "blockdata.h"
#include "core/history.h" #include "history.h"
#include "core/historyitem.h" #include "historyitem.h"
#include "core/mapconnection.h" #include "mapconnection.h"
#include "core/maplayout.h" #include "maplayout.h"
#include "core/tileset.h" #include "tileset.h"
#include "event.h" #include "event.h"
#include <QPixmap> #include <QPixmap>

View file

@ -16,6 +16,7 @@ ICON = resources/icons/porymap-icon-1.ico
SOURCES += core/block.cpp \ SOURCES += core/block.cpp \
core/blockdata.cpp \ core/blockdata.cpp \
core/event.cpp \
core/heallocation.cpp \ core/heallocation.cpp \
core/historyitem.cpp \ core/historyitem.cpp \
core/maplayout.cpp \ core/maplayout.cpp \
@ -31,7 +32,6 @@ SOURCES += core/block.cpp \
ui/noscrollspinbox.cpp \ ui/noscrollspinbox.cpp \
ui/selectablepixmapitem.cpp \ ui/selectablepixmapitem.cpp \
editor.cpp \ editor.cpp \
event.cpp \
graphicsview.cpp \ graphicsview.cpp \
main.cpp \ main.cpp \
mainwindow.cpp \ mainwindow.cpp \
@ -40,6 +40,7 @@ SOURCES += core/block.cpp \
HEADERS += core/block.h \ HEADERS += core/block.h \
core/blockdata.h \ core/blockdata.h \
core/event.h \
core/heallocation.h \ core/heallocation.h \
core/history.h \ core/history.h \
core/historyitem.h \ core/historyitem.h \
@ -57,7 +58,6 @@ HEADERS += core/block.h \
ui/noscrollspinbox.h \ ui/noscrollspinbox.h \
ui/selectablepixmapitem.h \ ui/selectablepixmapitem.h \
editor.h \ editor.h \
event.h \
graphicsview.h \ graphicsview.h \
mainwindow.h \ mainwindow.h \
map.h \ map.h \

View file

@ -1,9 +1,9 @@
#include "project.h" #include "project.h"
#include "core/history.h" #include "history.h"
#include "core/historyitem.h" #include "historyitem.h"
#include "core/parseutil.h" #include "parseutil.h"
#include "core/tile.h" #include "tile.h"
#include "core/tileset.h" #include "tileset.h"
#include "event.h" #include "event.h"
#include <QDebug> #include <QDebug>

View file

@ -2,8 +2,8 @@
#define PROJECT_H #define PROJECT_H
#include "map.h" #include "map.h"
#include "core/blockdata.h" #include "blockdata.h"
#include "core/heallocation.h" #include "heallocation.h"
#include <QStringList> #include <QStringList>
#include <QList> #include <QList>

View file

@ -2,7 +2,7 @@
#define METATILESELECTOR_H #define METATILESELECTOR_H
#include "selectablepixmapitem.h" #include "selectablepixmapitem.h"
#include "core/tileset.h" #include "tileset.h"
class MetatileSelector: public SelectablePixmapItem { class MetatileSelector: public SelectablePixmapItem {
Q_OBJECT Q_OBJECT