Commit 806a76a1 authored by Felix Huther's avatar Felix Huther
Browse files

Praktika1 not 100% sure yet

parent 08822c6f
......@@ -12,6 +12,7 @@ SOURCES += \
main.cpp \
portal.cpp \
position2D.cpp \
terminalui.cpp \
tile.cpp \
wall.cpp
......@@ -23,5 +24,6 @@ HEADERS += \
level.h \
portal.h \
position2D.h \
terminalui.h \
tile.h \
wall.h
#ifndef ABSTRACTUI_H
#define ABSTRACTUI_H
#pragma once
#include "level.h"
class AbstractUI
{
public:
AbstractUI();
virtual void draw(Level* lvl) = 0;
};
#endif // ABSTRACTUI_H
......@@ -20,8 +20,13 @@ const std::string &Character::getTexture() const
return texture;
}
char Character::move()
int Character::move()
{
int direction = {};
std::cout << "What direction you want to move ?\n";
std::cin >> direction;
return direction;
}
......
......@@ -12,7 +12,7 @@ public:
const std::string &getTexture() const;
char move();
int move();
void setCurrentTile(Tile *newCurrentTile);
......
#include "dungeoncrawler.h"
DungeonCrawler::DungeonCrawler()
DungeonCrawler::DungeonCrawler(AbstractUI * abstractUi, Level* currentLevel)
:abstractUi(abstractUi),currentLevel(currentLevel)
{
}
#ifndef DUNGEONCRAWLER_H
#define DUNGEONCRAWLER_H
#pragma once
#include "abstractui.h"
#include "level.h"
class DungeonCrawler
{
public:
DungeonCrawler();
DungeonCrawler(AbstractUI*,Level*);
void play();
private:
AbstractUI* abstractUi;
Level* currentLevel;
};
#endif // DUNGEONCRAWLER_H
#include "level.h"
#include <algorithm>
Level::Level(int height, int width)
:height(height),width(width)
{
}
Level::Level(Level &other)
:height(other.height),width(other.width),field(other.field)
{
{
}
Level::~Level()
......@@ -33,4 +35,54 @@ void Level::placeCharacter(Character *character, Position2D &position)
index->setCurrentCharacter(character);
}
std::vector<std::vector<Tile *>> Level::getField() const
{
return field;
}
void Level::setLevel1()
{
std::string wall = "wall";
std::string portal = "portal";
std::string floor = "floor";
for(int i = 0 ; i < height; i++){
std::vector<Tile*> vec;
field.push_back(vec);
for(int j = 0 ; j < width;j++)
{
if(i == 0 && j < width){
Position2D pos = Position2D(i,j);
Wall* wallPointer = new Wall(wall,pos);
field.at(i).push_back(wallPointer);
}
else {Position2D pos = Position2D(i,j);
Floor* floorPointer= new Floor(floor,pos);
field.at(i).push_back(floorPointer);
}
}
}
// for(int i=0; i<height; i++)
// {
// field.push_back(std::vector<Tile*>());
// for(int j=0; j<width; j++)
// {
// if(i == 0 && j < width){
// Position2D pos = Position2D(i,j);
// Wall* wallPointer = new Wall(wall,pos);
// field[i][j] = wallPointer;
// field[i].push_back(wallPointer);
// }
// else {Position2D pos = Position2D(i,j);
// Floor* floorPointer= new Floor(floor,pos);
// field[i][j] = floorPointer;
// }
// }
// }
}
......@@ -2,8 +2,12 @@
#define LEVEL_H
#pragma once
#include "character.h"
#include "tile.h"
#include "floor.h"
#include "wall.h"
#include "portal.h"
#include <vector>
#include <string>
class Level
{
public:
......@@ -13,8 +17,15 @@ public:
Tile* getTile(Position2D& position) const;
void placeCharacter(Character* character, Position2D& position);
std::vector<std::vector<Tile*>> getField() const;
void setLevel1();
int getHeight() const;
int getWidth() const;
private:
const int height;
......
#include <iostream>
#include "tile.h"
#include "wall.h"
#include "position2D.h"
#include "level.h"
#include "terminalui.h"
using namespace std;
int main()
{
int pos = 1 ;
int pos2 = 2;
std::string wallmat = "#";
Position2D posM = Position2D(pos,pos2);
// Wall(wall,Position(pos,pos2));
Wall wal = Wall(wallmat,posM);
Level* level = new Level(10,10);
level->setLevel1();
TerminalUI term;
term.draw(level);
std::cout << wal.getCurrentCharacter();
cout << "Hello World!" << endl;
return 0;
}
#include "terminalui.h"
TerminalUI::TerminalUI()
{
}
void TerminalUI::draw(Level *lvl)
{
std::vector<std::vector<Tile*>>field = lvl->getField();
for (auto& inner : field) {
for (auto& item : inner) {
std::string texture = item->getTexture();
if(texture == "floor") std::cout << "." ;
else if(texture == "wall") std::cout << "#";
else if(texture == "portal")std::cout<< "O";
else std::cout << "X";
}
std::cout << std::endl;
}
}
#ifndef TERMINALUI_H
#define TERMINALUI_H
#include "abstractui.h"
#include <vector>
class TerminalUI : public AbstractUI
{
public:
TerminalUI();
// AbstractUI interface
void draw(Level *lvl) override;
};
#endif // TERMINALUI_H
......@@ -10,7 +10,7 @@ class Character;
class Tile
{
public:
explicit Tile(std::string& texture, class Position2D& position);
explicit Tile(std::string& texture, Position2D& position);
virtual ~Tile();
//CHARACTER SPECIFIC
......
......@@ -3,12 +3,13 @@
#pragma once
#include "tile.h"
//CANT WALK ON IT
class Wall: public Tile
{
public:
Wall(std::string& texture, class Position2D& position);
Wall(std::string& texture, Position2D& position);
// Tile interface
Tile *onEnter(Tile *fromTile, Character *who)override;
......
......@@ -58,6 +58,7 @@ SOURCES = ..\DungeonCrawlerBase\abstractui.cpp \
..\DungeonCrawlerBase\main.cpp \
..\DungeonCrawlerBase\portal.cpp \
..\DungeonCrawlerBase\position2D.cpp \
..\DungeonCrawlerBase\terminalui.cpp \
..\DungeonCrawlerBase\tile.cpp \
..\DungeonCrawlerBase\wall.cpp
OBJECTS = debug/abstractui.o \
......@@ -68,6 +69,7 @@ OBJECTS = debug/abstractui.o \
debug/main.o \
debug/portal.o \
debug/position2D.o \
debug/terminalui.o \
debug/tile.o \
debug/wall.o
......@@ -78,6 +80,7 @@ DIST = abstractui.h \
level.h \
portal.h \
position2D.h \
terminalui.h \
tile.h \
wall.h ..\DungeonCrawlerBase\abstractui.cpp \
..\DungeonCrawlerBase\character.cpp \
......@@ -87,6 +90,7 @@ DIST = abstractui.h \
..\DungeonCrawlerBase\main.cpp \
..\DungeonCrawlerBase\portal.cpp \
..\DungeonCrawlerBase\position2D.cpp \
..\DungeonCrawlerBase\terminalui.cpp \
..\DungeonCrawlerBase\tile.cpp \
..\DungeonCrawlerBase\wall.cpp
QMAKE_TARGET = DungeonCrawlerBase
......@@ -111,7 +115,7 @@ dist:
$(ZIP) DungeonCrawlerBase.zip $(SOURCES) $(DIST) ..\DungeonCrawlerBase\DungeonCrawlerBase.pro C:\Qt\6.1.0\mingw81_64\mkspecs\features\spec_pre.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\device_config.prf C:\Qt\6.1.0\mingw81_64\mkspecs\common\sanitize.conf C:\Qt\6.1.0\mingw81_64\mkspecs\common\gcc-base.conf C:\Qt\6.1.0\mingw81_64\mkspecs\common\g++-base.conf C:\Qt\6.1.0\mingw81_64\mkspecs\features\win32\windows_vulkan_sdk.prf C:\Qt\6.1.0\mingw81_64\mkspecs\common\windows-vulkan.conf C:\Qt\6.1.0\mingw81_64\mkspecs\common\g++-win32.conf C:\Qt\6.1.0\mingw81_64\mkspecs\common\windows-desktop.conf C:\Qt\6.1.0\mingw81_64\mkspecs\qconfig.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_ext_freetype.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_ext_libpng.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_concurrent.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_concurrent_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_core.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_core_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_dbus.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_dbus_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_designer.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_designer_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_designercomponents_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_devicediscovery_support_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_entrypoint_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_fb_support_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_gui.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_gui_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_help.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_help_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_labsanimation.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_labsanimation_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_labsfolderlistmodel.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_labsfolderlistmodel_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_labsqmlmodels.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_labsqmlmodels_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_labssettings.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_labssettings_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_labssharedimage.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_labssharedimage_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_labswavefrontmesh.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_labswavefrontmesh_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_linguist.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_linguist_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_network.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_network_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_opengl.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_opengl_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_openglwidgets.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_openglwidgets_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_packetprotocol_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_printsupport.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_printsupport_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qml.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qml_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qmlcompiler_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qmldebug_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qmldevtools_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qmldom_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qmllocalstorage.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qmllocalstorage_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qmlmodels.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qmlmodels_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qmltest.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qmltest_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qmlworkerscript.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qmlworkerscript_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quick.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quick_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quickcontrols2.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quickcontrols2_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quickcontrols2impl.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quickcontrols2impl_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quicklayouts.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quicklayouts_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quickparticles_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quickshapes_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quicktemplates2.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quicktemplates2_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quickwidgets.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quickwidgets_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_sql.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_sql_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_svg.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_svg_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_svgwidgets.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_svgwidgets_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_testlib.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_testlib_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_tools_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_uiplugin.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_uitools.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_uitools_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_widgets.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_widgets_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_xml.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_xml_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_zlib_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\features\qt_functions.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\qt_config.prf C:\Qt\6.1.0\mingw81_64\mkspecs\win32-g++\qmake.conf C:\Qt\6.1.0\mingw81_64\mkspecs\features\spec_post.prf .qmake.stash C:\Qt\6.1.0\mingw81_64\mkspecs\features\exclusive_builds.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\toolchain.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\default_pre.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\win32\default_pre.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\resolve_config.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\exclusive_builds_post.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\default_post.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\build_pass.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\win32\console.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\qml_debug.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\entrypoint.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\precompile_header.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\warn_on.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\qmake_use.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\file_copies.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\testcase_targets.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\exceptions.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\yacc.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\lex.prf ..\DungeonCrawlerBase\DungeonCrawlerBase.pro
clean: compiler_clean
-$(DEL_FILE) debug\abstractui.o debug\character.o debug\dungeoncrawler.o debug\floor.o debug\level.o debug\main.o debug\portal.o debug\position2D.o debug\tile.o debug\wall.o
-$(DEL_FILE) debug\abstractui.o debug\character.o debug\dungeoncrawler.o debug\floor.o debug\level.o debug\main.o debug\portal.o debug\position2D.o debug\terminalui.o debug\tile.o debug\wall.o
distclean: clean
-$(DEL_FILE) .qmake.stash
......@@ -136,7 +140,11 @@ compiler_clean:
####### Compile
debug/abstractui.o: ../DungeonCrawlerBase/abstractui.cpp ../DungeonCrawlerBase/abstractui.h
debug/abstractui.o: ../DungeonCrawlerBase/abstractui.cpp ../DungeonCrawlerBase/abstractui.h \
../DungeonCrawlerBase/level.h \
../DungeonCrawlerBase/character.h \
../DungeonCrawlerBase/tile.h \
../DungeonCrawlerBase/position2D.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\abstractui.o ..\DungeonCrawlerBase\abstractui.cpp
debug/character.o: ../DungeonCrawlerBase/character.cpp ../DungeonCrawlerBase/character.h \
......@@ -174,6 +182,14 @@ debug/portal.o: ../DungeonCrawlerBase/portal.cpp ../DungeonCrawlerBase/portal.h
debug/position2D.o: ../DungeonCrawlerBase/position2D.cpp ../DungeonCrawlerBase/position2D.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\position2D.o ..\DungeonCrawlerBase\position2D.cpp
debug/terminalui.o: ../DungeonCrawlerBase/terminalui.cpp ../DungeonCrawlerBase/terminalui.h \
../DungeonCrawlerBase/abstractui.h \
../DungeonCrawlerBase/level.h \
../DungeonCrawlerBase/character.h \
../DungeonCrawlerBase/tile.h \
../DungeonCrawlerBase/position2D.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\terminalui.o ..\DungeonCrawlerBase\terminalui.cpp
debug/tile.o: ../DungeonCrawlerBase/tile.cpp ../DungeonCrawlerBase/tile.h \
../DungeonCrawlerBase/position2D.h \
../DungeonCrawlerBase/character.h
......
......@@ -58,6 +58,7 @@ SOURCES = ..\DungeonCrawlerBase\abstractui.cpp \
..\DungeonCrawlerBase\main.cpp \
..\DungeonCrawlerBase\portal.cpp \
..\DungeonCrawlerBase\position2D.cpp \
..\DungeonCrawlerBase\terminalui.cpp \
..\DungeonCrawlerBase\tile.cpp \
..\DungeonCrawlerBase\wall.cpp
OBJECTS = release/abstractui.o \
......@@ -68,6 +69,7 @@ OBJECTS = release/abstractui.o \
release/main.o \
release/portal.o \
release/position2D.o \
release/terminalui.o \
release/tile.o \
release/wall.o
......@@ -78,6 +80,7 @@ DIST = abstractui.h \
level.h \
portal.h \
position2D.h \
terminalui.h \
tile.h \
wall.h ..\DungeonCrawlerBase\abstractui.cpp \
..\DungeonCrawlerBase\character.cpp \
......@@ -87,6 +90,7 @@ DIST = abstractui.h \
..\DungeonCrawlerBase\main.cpp \
..\DungeonCrawlerBase\portal.cpp \
..\DungeonCrawlerBase\position2D.cpp \
..\DungeonCrawlerBase\terminalui.cpp \
..\DungeonCrawlerBase\tile.cpp \
..\DungeonCrawlerBase\wall.cpp
QMAKE_TARGET = DungeonCrawlerBase
......@@ -111,7 +115,7 @@ dist:
$(ZIP) DungeonCrawlerBase.zip $(SOURCES) $(DIST) ..\DungeonCrawlerBase\DungeonCrawlerBase.pro C:\Qt\6.1.0\mingw81_64\mkspecs\features\spec_pre.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\device_config.prf C:\Qt\6.1.0\mingw81_64\mkspecs\common\sanitize.conf C:\Qt\6.1.0\mingw81_64\mkspecs\common\gcc-base.conf C:\Qt\6.1.0\mingw81_64\mkspecs\common\g++-base.conf C:\Qt\6.1.0\mingw81_64\mkspecs\features\win32\windows_vulkan_sdk.prf C:\Qt\6.1.0\mingw81_64\mkspecs\common\windows-vulkan.conf C:\Qt\6.1.0\mingw81_64\mkspecs\common\g++-win32.conf C:\Qt\6.1.0\mingw81_64\mkspecs\common\windows-desktop.conf C:\Qt\6.1.0\mingw81_64\mkspecs\qconfig.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_ext_freetype.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_ext_libpng.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_concurrent.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_concurrent_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_core.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_core_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_dbus.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_dbus_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_designer.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_designer_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_designercomponents_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_devicediscovery_support_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_entrypoint_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_fb_support_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_gui.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_gui_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_help.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_help_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_labsanimation.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_labsanimation_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_labsfolderlistmodel.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_labsfolderlistmodel_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_labsqmlmodels.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_labsqmlmodels_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_labssettings.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_labssettings_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_labssharedimage.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_labssharedimage_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_labswavefrontmesh.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_labswavefrontmesh_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_linguist.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_linguist_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_network.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_network_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_opengl.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_opengl_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_openglwidgets.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_openglwidgets_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_packetprotocol_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_printsupport.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_printsupport_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qml.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qml_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qmlcompiler_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qmldebug_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qmldevtools_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qmldom_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qmllocalstorage.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qmllocalstorage_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qmlmodels.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qmlmodels_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qmltest.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qmltest_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qmlworkerscript.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_qmlworkerscript_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quick.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quick_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quickcontrols2.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quickcontrols2_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quickcontrols2impl.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quickcontrols2impl_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quicklayouts.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quicklayouts_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quickparticles_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quickshapes_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quicktemplates2.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quicktemplates2_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quickwidgets.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_quickwidgets_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_sql.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_sql_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_svg.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_svg_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_svgwidgets.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_svgwidgets_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_testlib.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_testlib_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_tools_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_uiplugin.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_uitools.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_uitools_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_widgets.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_widgets_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_xml.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_xml_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\modules\qt_lib_zlib_private.pri C:\Qt\6.1.0\mingw81_64\mkspecs\features\qt_functions.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\qt_config.prf C:\Qt\6.1.0\mingw81_64\mkspecs\win32-g++\qmake.conf C:\Qt\6.1.0\mingw81_64\mkspecs\features\spec_post.prf .qmake.stash C:\Qt\6.1.0\mingw81_64\mkspecs\features\exclusive_builds.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\toolchain.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\default_pre.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\win32\default_pre.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\resolve_config.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\exclusive_builds_post.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\default_post.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\build_pass.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\win32\console.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\qml_debug.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\entrypoint.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\precompile_header.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\warn_on.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\qmake_use.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\file_copies.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\testcase_targets.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\exceptions.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\yacc.prf C:\Qt\6.1.0\mingw81_64\mkspecs\features\lex.prf ..\DungeonCrawlerBase\DungeonCrawlerBase.pro
clean: compiler_clean
-$(DEL_FILE) release\abstractui.o release\character.o release\dungeoncrawler.o release\floor.o release\level.o release\main.o release\portal.o release\position2D.o release\tile.o release\wall.o
-$(DEL_FILE) release\abstractui.o release\character.o release\dungeoncrawler.o release\floor.o release\level.o release\main.o release\portal.o release\position2D.o release\terminalui.o release\tile.o release\wall.o
distclean: clean
-$(DEL_FILE) .qmake.stash
......@@ -136,7 +140,11 @@ compiler_clean:
####### Compile
release/abstractui.o: ../DungeonCrawlerBase/abstractui.cpp ../DungeonCrawlerBase/abstractui.h
release/abstractui.o: ../DungeonCrawlerBase/abstractui.cpp ../DungeonCrawlerBase/abstractui.h \
../DungeonCrawlerBase/level.h \
../DungeonCrawlerBase/character.h \
../DungeonCrawlerBase/tile.h \
../DungeonCrawlerBase/position2D.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\abstractui.o ..\DungeonCrawlerBase\abstractui.cpp
release/character.o: ../DungeonCrawlerBase/character.cpp ../DungeonCrawlerBase/character.h \
......@@ -174,6 +182,14 @@ release/portal.o: ../DungeonCrawlerBase/portal.cpp ../DungeonCrawlerBase/portal.
release/position2D.o: ../DungeonCrawlerBase/position2D.cpp ../DungeonCrawlerBase/position2D.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\position2D.o ..\DungeonCrawlerBase\position2D.cpp
release/terminalui.o: ../DungeonCrawlerBase/terminalui.cpp ../DungeonCrawlerBase/terminalui.h \
../DungeonCrawlerBase/abstractui.h \
../DungeonCrawlerBase/level.h \
../DungeonCrawlerBase/character.h \
../DungeonCrawlerBase/tile.h \
../DungeonCrawlerBase/position2D.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\terminalui.o ..\DungeonCrawlerBase\terminalui.cpp
release/tile.o: ../DungeonCrawlerBase/tile.cpp ../DungeonCrawlerBase/tile.h \
../DungeonCrawlerBase/position2D.h \
../DungeonCrawlerBase/character.h
......
Supports Markdown
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