world dummy module. fix badge styles. include ecs.

This commit is contained in:
2018-12-29 09:38:14 +07:00
parent f10f8795b3
commit 22a5194a80
11 changed files with 81 additions and 6 deletions

5
.codecov.yml Normal file
View File

@@ -0,0 +1,5 @@
ignore:
- "*/untests/*"
- "*/samples/*"
- "*/3rdparty/*"
- "*/modules/*"

View File

@@ -9,12 +9,12 @@
[![license][badge.license]][license]
[![paypal][badge.paypal]][paypal]
[badge.travis]: https://img.shields.io/travis/enduro2d/enduro2d/master.svg?logo=travis&style=for-the-badge
[badge.appveyor]: https://img.shields.io/appveyor/ci/BlackMATov/enduro2d/master.svg?logo=appveyor&style=for-the-badge
[badge.travis]: https://img.shields.io/travis/enduro2d/enduro2d/master.svg?logo=travis
[badge.appveyor]: https://img.shields.io/appveyor/ci/BlackMATov/enduro2d/master.svg?logo=appveyor
[badge.codecov]: https://img.shields.io/codecov/c/github/enduro2d/enduro2d/master.svg?logo=codecov
[badge.language]: https://img.shields.io/badge/language-C%2B%2B14-red.svg?style=for-the-badge
[badge.license]: https://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge
[badge.paypal]: https://img.shields.io/badge/donate-PayPal-orange.svg?logo=paypal&colorA=00457C&style=for-the-badge
[badge.language]: https://img.shields.io/badge/language-C%2B%2B14-red.svg
[badge.license]: https://img.shields.io/badge/license-MIT-blue.svg
[badge.paypal]: https://img.shields.io/badge/donate-PayPal-orange.svg?logo=paypal&colorA=00457C
[travis]: https://travis-ci.org/enduro2d/enduro2d
[appveyor]: https://ci.appveyor.com/project/BlackMATov/enduro2d

View File

@@ -43,6 +43,7 @@
#include <functional>
#include <type_traits>
#include <3rdparty/ecs.hpp/ecs.hpp>
#include <3rdparty/variant/variant.hpp>
#include <3rdparty/promise.hpp/invoke.hpp>
#include <3rdparty/promise.hpp/jobber.hpp>

View File

@@ -17,6 +17,15 @@ namespace e2d { namespace stdex
using namespace mpark;
}}
//
// https://github.com/blackmatov/ecs.hpp
//
namespace e2d { namespace stdex
{
using namespace ecs_hpp;
}}
//
// https://github.com/blackmatov/promise.hpp
//

View File

@@ -13,3 +13,4 @@
#include "library.inl"
#include "scene.hpp"
#include "starter.hpp"
#include "world.hpp"

View File

@@ -31,4 +31,5 @@ namespace e2d
class node;
class scene;
class starter;
class world;
}

View File

@@ -0,0 +1,18 @@
/*******************************************************************************
* This file is part of the "Enduro2D"
* For conditions of distribution and use, see copyright notice in LICENSE.md
* Copyright (C) 2018 Matvey Cherevko
******************************************************************************/
#pragma once
#include "_high.hpp"
namespace e2d
{
class world final : public module<world> {
public:
world();
~world() noexcept final;
};
}

View File

@@ -11,7 +11,7 @@ lcov -d . -z
ctest --verbose
lcov -d . -c -o "coverage.info"
lcov -r "coverage.info" "*/usr/*" "*/Xcode.app/*" "*/untests/*" "*/3rdparty/*" "*/modules/*" -o "coverage.info"
lcov -r "coverage.info" "*/usr/*" "*/Xcode.app/*" "*/untests/*" "*/samples/*" "*/3rdparty/*" "*/modules/*" -o "coverage.info"
lcov -l "coverage.info"
bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"

View File

@@ -0,0 +1,18 @@
/*******************************************************************************
* This file is part of the "Enduro2D"
* For conditions of distribution and use, see copyright notice in LICENSE.md
* Copyright (C) 2018 Matvey Cherevko
******************************************************************************/
#include <enduro2d/high/world.hpp>
namespace
{
using namespace e2d;
}
namespace e2d
{
world::world() = default;
world::~world() noexcept = default;
}

View File

@@ -0,0 +1,11 @@
/*******************************************************************************
* This file is part of the "Enduro2D"
* For conditions of distribution and use, see copyright notice in LICENSE.md
* Copyright (C) 2018 Matvey Cherevko
******************************************************************************/
#include "_high.hpp"
using namespace e2d;
TEST_CASE("scene"){
}

View File

@@ -0,0 +1,11 @@
/*******************************************************************************
* This file is part of the "Enduro2D"
* For conditions of distribution and use, see copyright notice in LICENSE.md
* Copyright (C) 2018 Matvey Cherevko
******************************************************************************/
#include "_high.hpp"
using namespace e2d;
TEST_CASE("world"){
}