From 5b1efc3412f0b087f6e14a4bf9fb305f7810c616 Mon Sep 17 00:00:00 2001 From: IgorekLoschinin Date: Sat, 11 Sep 2021 19:42:51 +0300 Subject: [PATCH] ref #97 Added file for testing groupobj object. --- src/CrawlTestLvl/private/groupobjbox.cpp | 18 ++++++++++++++ src/CrawlTestLvl/private/groupobjbox.h | 23 +++++++++++++++++ src/CrawlTestLvl/private/groupobjboxitem.cpp | 20 +++++++++++++++ src/CrawlTestLvl/private/groupobjboxitem.h | 26 ++++++++++++++++++++ 4 files changed, 87 insertions(+) create mode 100644 src/CrawlTestLvl/private/groupobjbox.cpp create mode 100644 src/CrawlTestLvl/private/groupobjbox.h create mode 100644 src/CrawlTestLvl/private/groupobjboxitem.cpp create mode 100644 src/CrawlTestLvl/private/groupobjboxitem.h diff --git a/src/CrawlTestLvl/private/groupobjbox.cpp b/src/CrawlTestLvl/private/groupobjbox.cpp new file mode 100644 index 0000000..5379362 --- /dev/null +++ b/src/CrawlTestLvl/private/groupobjbox.cpp @@ -0,0 +1,18 @@ +//# +//# Copyright (C) 2021-2021 QuasarApp. +//# Distributed under the GPLv3 software license, see the accompanying +//# Everyone is permitted to copy and distribute verbatim copies +//# of this license document, but changing it is not allowed. +//# + + +#include "groupobjbox.h" +#include "groupobjboxitem.h" + +namespace TestLvl { + +GroupObjBox::GroupObjBox() { + +} + +} diff --git a/src/CrawlTestLvl/private/groupobjbox.h b/src/CrawlTestLvl/private/groupobjbox.h new file mode 100644 index 0000000..0af83a2 --- /dev/null +++ b/src/CrawlTestLvl/private/groupobjbox.h @@ -0,0 +1,23 @@ +//# +//# Copyright (C) 2021-2021 QuasarApp. +//# Distributed under the GPLv3 software license, see the accompanying +//# Everyone is permitted to copy and distribute verbatim copies +//# of this license document, but changing it is not allowed. +//# + +#ifndef GROUPOBJBOX_H +#define GROUPOBJBOX_H + +#include "Crawl/controlpos.h" +#include "Crawl/iworlditem.h" + +namespace TestLvl { + +class GroupObjBox: public CRAWL::ControlPos { +public: + GroupObjBox(); + +}; + +} +#endif // GROUPOBJBOX_H diff --git a/src/CrawlTestLvl/private/groupobjboxitem.cpp b/src/CrawlTestLvl/private/groupobjboxitem.cpp new file mode 100644 index 0000000..29fea3a --- /dev/null +++ b/src/CrawlTestLvl/private/groupobjboxitem.cpp @@ -0,0 +1,20 @@ +//# +//# Copyright (C) 2021-2021 QuasarApp. +//# Distributed under the GPLv3 software license, see the accompanying +//# Everyone is permitted to copy and distribute verbatim copies +//# of this license document, but changing it is not allowed. +//# + +#include "groupobjboxitem.h" + +namespace TestLvl { + +GroupObjboxItem::GroupObjboxItem(): CRAWL::ClasterItem("GroupObjboxItem") { + +} + +void GroupObjboxItem::render(unsigned int tbfMsec) { + +} + +} diff --git a/src/CrawlTestLvl/private/groupobjboxitem.h b/src/CrawlTestLvl/private/groupobjboxitem.h new file mode 100644 index 0000000..cd6a3b1 --- /dev/null +++ b/src/CrawlTestLvl/private/groupobjboxitem.h @@ -0,0 +1,26 @@ +//# +//# Copyright (C) 2021-2021 QuasarApp. +//# Distributed under the GPLv3 software license, see the accompanying +//# Everyone is permitted to copy and distribute verbatim copies +//# of this license document, but changing it is not allowed. +//# + +#ifndef GROUPOBJBOXITEM_H +#define GROUPOBJBOXITEM_H + +#include "box.h" +#include "Crawl/clasteritem.h" + +namespace TestLvl { + +class GroupObjboxItem: public CRAWL::ClasterItem { + Q_OBJECT +public: + GroupObjboxItem(); + + void render(unsigned int tbfMsec); +}; + +} + +#endif // GROUPOBJBOXITEM_H