mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-13 07:45:39 +07:00
world dummy module. fix badge styles. include ecs.
This commit is contained in:
5
.codecov.yml
Normal file
5
.codecov.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
ignore:
|
||||
- "*/untests/*"
|
||||
- "*/samples/*"
|
||||
- "*/3rdparty/*"
|
||||
- "*/modules/*"
|
||||
10
README.md
10
README.md
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
//
|
||||
|
||||
@@ -13,3 +13,4 @@
|
||||
#include "library.inl"
|
||||
#include "scene.hpp"
|
||||
#include "starter.hpp"
|
||||
#include "world.hpp"
|
||||
|
||||
@@ -31,4 +31,5 @@ namespace e2d
|
||||
class node;
|
||||
class scene;
|
||||
class starter;
|
||||
class world;
|
||||
}
|
||||
|
||||
18
headers/enduro2d/high/world.hpp
Normal file
18
headers/enduro2d/high/world.hpp
Normal 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;
|
||||
};
|
||||
}
|
||||
@@ -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"
|
||||
|
||||
18
sources/enduro2d/high/world.cpp
Normal file
18
sources/enduro2d/high/world.cpp
Normal 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;
|
||||
}
|
||||
11
untests/sources/untests_high/scene.cpp
Normal file
11
untests/sources/untests_high/scene.cpp
Normal 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"){
|
||||
}
|
||||
11
untests/sources/untests_high/world.cpp
Normal file
11
untests/sources/untests_high/world.cpp
Normal 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"){
|
||||
}
|
||||
Reference in New Issue
Block a user